
On Sun, 2005-06-19 at 21:22 -0500, Bob Jamison wrote:
aaron@...749... wrote:
bulia byak wrote:
On 6/19/05, aaron@...749... <aaron@...749...> wrote:
Is this our problem or PyXML's?
Certainly not ours. XML spec says clearly that the xml: prefix need not be defined, it is reserved.
Sorry, I'm not sure how that bit of information supports your answer to my question. But I'm not sure I was very clear either, so I will try to be a little more verbose.
Inkscape creates somthing like this for flowtext:
<flowRoot id="flowRoot1"> <flowRegion id="flowRegion2" /> <flowDiv xml:space="preserve" id="flowDiv3"> <flowPara id="flowPara4"> flowing text here </flowPara> </flowDiv> </flowRoot>
Notice the "xml:" prefix on space. This causes the PyXML parser to raise a NamespaceErr exception. If I remove the "xml:" it raises no exception.
Is the way we are doing this absolutely correct?
Aaron Spike
PyXML is possibly choking on the fact that there is no xmlns:xml="some namespace URI" prefix defined before the xml: prefix is used in the document. Not only is that namespace declaration not needed, it is illegal. The XML spec has an implied URI which cannot be redefined.
So this bug should be pushed upstream to PyXML, correct?
Jon
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel