I'm using the Xerces validator (DOMBuilder::parseURI) to check that an
XML file conforms to the proper schema.  The trouble is that some of the
files do not contain a proper xmlns attribute on the root element, the
XML is written assuming that the namespace in question is the "default"
namespace, as if the entire document was within the scope of an
invisible xmlns attribute.  I'm hoping that there is some way I can tell
DOMBuilder::parseURI what this default namespace is, so I don't have to
go to contortions to edit an xmlns into the document before validating
it.

Thanks,

Dale


Reply via email to