You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Brett McLaughlin <br...@earthlink.net> on 2000/03/06 00:12:48 UTC
Strange Namespaces bug in SAX
Hey, I am having strange results:
With this document:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE nxbirpas:validation SYSTEM "validation.DTD">
<nxbirpas:validation xmlns:nxbirpas="http://www.nextel.com"
module="authentication">
</nxbirpas:validation>
Using SAX 2.0's XMLReader interface, and an instance of
org.apache.xerces.parsers.SAXParser, everything works fine with validation
turned on (as a feature) and namespaces turned off.
However, as soon as I turn on namespaces in the parser, I get an error
about:
Document root element "nxbirpas:validation", must match DOCTYPE root
"nxbirpas:validation".
But they do match?
Any help, anyone?
Thanks.
-----
Brett McLaughlin
Metro Information Systems
Work: (972) 724-3161
Mobile: (817) 825-7187