Defaulting fNamespacesEnabled to 'true' in XMLParser causes namespaces to be
enabled for DOMParser as well as SAXParser.  This causes Schema validation
(which uses the DOMParser) to choke with "Attribute "xmlns" must be declared for
element..." plus a "must be declared" error for every element and attribute.
Try the personal-schema.xml with either "SAXCount -v" or "DOMCount".  Plain
DOMParser DTD validation also chokes.

To set the new SAX2 default, you might want to call setNamespaces(true) in the
SAXParser constructor rather than setting the field in XMLParser.

george

Reply via email to