the namespaces problems are solved
In the previous entry I wrote about the two faults in the conversion code. Now they are fixed. And the code have became a bit better.
Attributes are now also namespace aware.
I'm afraid of PIs, entities and other similar things be namespace aware. I hope not. Looking at the Namespaces in XML Specification... Well, all is ok. Namespaces are only for elements and attributes.
While coding, I looked into the file "tree.c" from the libxml2. The non-trivial code of "xmlNewProp" and "xmlNewNsProp" are nearly identical, but differ a bit. Going to report to the developers' mailing list.
Categories:
Generative XML