[lxml-dev] Bug with whitespace in namespaces

Hoi, it is possible to create invalid XML with lxml:
column 13 >>>
Regards, -- Christian Zagrodnick · cz@gocept.com gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1 Zope and Plone consulting and development

Christian Zagrodnick wrote:
Well, URI checking is actually a new feature in libxml2 2.7 (IIRC), that's why it wasn't used before. Newer libxml2 versions are strict about RFC 3986 syntax, so I agree that it would make sense to also check namespace URIs on the way in. This should go into lxml 2.3. Stefan

Christian Zagrodnick wrote:
Well, URI checking is actually a new feature in libxml2 2.7 (IIRC), that's why it wasn't used before. Newer libxml2 versions are strict about RFC 3986 syntax, so I agree that it would make sense to also check namespace URIs on the way in. This should go into lxml 2.3. Stefan
participants (2)
-
Christian Zagrodnick
-
Stefan Behnel