[lxml-dev] xml:space and xml:lang problem
Stefan Behnel
behnel_ml at gkec.informatik.tu-darmstadt.de
Tue Feb 21 19:39:10 CET 2006
Scott Haeger wrote:
> 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.
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
More information about the lxml-dev
mailing list