{"comment":{"created_at":"2011-10-11T08:06:11Z","body":"[springmeyer] good info here: http://stackoverflow.com/questions/1478486/using-in-xml-attribute-name","updated_at":"2011-10-11T08:06:11Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/comments/2358342","id":2358342,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"}},"action":"created","issue":{"number":642,"created_at":"2011-10-11T08:06:09Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"We currently have mixed use of dashes and underscores in XML property names, which makes it difficult for stylesheet authors to remember property names (or easy to misspell).\r\n\r\nBecause Mapnik2 has other breaking changes, now is the time to do this.\r\n\r\nI propose we move fully to using '-'/dashes when property names should have a break (to fit css style). Properties in python (and other potential binding languages) will consistently continue to use underscores.\r\n\r\nProperties already using '-':\r\n{{{\r\n# map level\r\nbackground-color\r\nbackground-image\r\n# metawriters\r\ndefault-output\r\noutput-empty\r\nmeta-writer\r\nmeta-output\r\n#shield symbolizer\r\ntext-opacity\r\n# line symbolizer (stroke)\r\nstroke-width\r\nstroke-opacity\r\nstroke-linejoin\r\nstroke-linecap\r\nstroke-dashoffet\r\nstroke-dasharray\r\n# polygon symbolizer\r\nfill-opacity\r\n}}}","comments":2,"title":"Moving to consistent use of '-' (dashes) in XML properties","updated_at":"2011-10-11T08:06:11Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/642","id":1872301,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"},"html_url":"https://github.com/mapnik-org/mapnik/issues/642","labels":[{"name":"Core_Library","url":"https://api.github.com/repos/mapnik-org/mapnik/labels/Core_Library","color":"FFFFFF"}],"state":"open"},"legacy":{"issue_id":1872301,"comment_id":2358342}}