Hi

I get namespace error while parsing the below xml. I am using libxml2-2.9.0.

<node xmlns=" urn:microsoft-com:wmc-1-0"/>

According to a very old mail
chain<https://bugzilla.gnome.org/show_bug.cgi?id=570365>this should
give a warning.
This used to be a warning in libxml2-2.6.30. But now it is an error.
Is there anyway to achieve the old behaviour in the latest libxml2-2.9.0?

The actaul error message is given below.

xmllint --debug test.xml test.xml:3: namespace error : xmlns: '
urn:microsoft-com:wmc-1-0' is not a valid URI
<node xmlns=" urn:microsoft-com:wmc-1-0"/>
                                        ^


regards,
Jeganathan.
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to