[lxml-dev] lxml and XML 1.1
Does lxml handle XML 1.1 documents? I have an application where I need to use XML 1.1. In particular, I need to parse/process XML documents that include control characters that are valid in XML 1.1 but not in 1.0. Thanks, Ken
Ken Beesley wrote:
Does lxml handle XML 1.1 documents?
I have an application where I need to use XML 1.1. In particular, I need to parse/process XML documents that include control characters that are valid in XML 1.1 but not in 1.0.
Not unless libxml2, which is underlying lxml, supports XML 1.1. I do not know whether it does; perhaps you can check with them (I googled but couldn't find much conclusive). Of course even if libxml2 does, it might require some special call or something to enable this, so lxml may also need some tweaks to support it. Regards, Martijn
participants (2)
-
Ken Beesley
-
Martijn Faassen