artemp/trac2github — Issue #441: Support relative paths in map.load_map_from_string()
Author: artemp
Created: 2011-10-09 20:34:26+00:00
State: open
Labels: XML

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.