[lxml-dev] xml:space and xml:lang problem

It is my understanding that xml has two special attributes under the xml namespace, namely xml:space and xml:lang. My problem is that I am getting garbage for the xml namespace such as xmlns:="(XXX)://www.w3.org/XML/1998/namespace", where (XXX) is complete garbage. The problem occurs both when the namespace is declared and when it is not declared. Scott

Scott Haeger wrote:
Could you please give some more detail? What does "getting garbage" mean? That lxml is not serializing an internal XML representation correctly? Does it read such XML in correctly? Could you come up with a short code fragment that demonstrates the problem? Stefan

Scott Haeger wrote:
Could you please give some more detail? What does "getting garbage" mean? That lxml is not serializing an internal XML representation correctly? Does it read such XML in correctly? Could you come up with a short code fragment that demonstrates the problem? Stefan
participants (2)
-
Scott Haeger
-
Stefan Behnel