{"comment":{"created_at":"2011-10-11T07:55:41Z","body":"[springmeyer] to get this to work it looks like we need to pass the 'url' parameter to:\r\n\r\nhttp://xmlsoft.org/html/libxml-parser.html#xmlCtxtReadMemory\r\n\r\nhere:\r\n\r\nhttp://trac.mapnik.org/browser/trunk/src/libxml2_loader.cpp#L119","updated_at":"2011-10-11T07:55:41Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/comments/2357784","id":2357784,"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":438,"created_at":"2011-10-11T07:55:40Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Currently any relative paths in XML read from a string will be interpreted relative to the current working directory of the script that is doing the loading (# file loading fixed in #326), which will likely be different than the location of the original xml file (if there was one). It would be useful for live-editing applications like HaosBuilder or Quantumnik to be able to specify - from where- the paths should be interpreted from when loading a file from a string. Perhaps passing in a root directory as an argument would suffice.","comments":3,"title":"Support relative paths in map.load_map_from_string()","updated_at":"2011-10-11T07:55:42Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/438","id":1872039,"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/438","labels":[{"name":"XML","url":"https://api.github.com/repos/mapnik-org/mapnik/labels/XML","color":"FFFFFF"}],"state":"open"},"legacy":{"issue_id":1872039,"comment_id":2357784}}