Hi all
When I declare a default namespace on the root element of an xml file,
xerces 1.2.3 gives the following error:
SAXException:org.xml.sax.SAXException: Stopping after fatal error: The
root element is required in a well-formed document.
If the default namespace is removed from the root element, but we leave
the other namespaces, everything is ok.
this is a sample doc:
<?xml version="1.0" standalone="no"?>
<SHOW_SHIPMENT_004 xmlns="x-schema:161_show_shipment_004.xml"
xmlns:of="x-schema:oagis_fields.xdr"
xmlns:os="x-schema:oagis_segments.xdr">
<os:CNTROLAREA>
<os:BSR>
<of:VERB>SHOW</of:VERB>
<of:NOUN>SHIPMENT</of:NOUN>
<of:REVISION>004</of:REVISION>
</os:BSR>
</os:CNTROLAREA>
</SHOW_SHIPMENT_004>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]