Hello,

just change the statement in the rootelement to
<RegistrySubmission xmlns:xsi = "http://www.w3.org/2001XMLSchema-instance";

I think thats your problem.

cu
maik

> I just upgraded my xerces.jar file from V1.3.1 to V1.4.2. My test XML/XSD
> files no longer validate. I get the following error :  Element type
> "RegistrySubmission" must be declared.
> Registry Submission is my root tag. Below is a snippet from the beginning
> of
> my XML file:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <RegistrySubmission xmlns:xsi =
> "http://www.w3.org/2000/10/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation=
> "http://diides.ncr.disa.mil/xmlreg/XSD/registry.xsd";>
> 
> and below is a snippet from the beginning of my XSD file:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; >
>    <xsd:element name="RegistrySubmission">
>       <xsd:complexType>
>          <xsd:sequence>
>             <xsd:element ref="Submitter"/>
>             <xsd:element ref="Package"/>
>             <xsd:element ref="Transactions"/>
>          </xsd:sequence>
>       </xsd:complexType>
>    </xsd:element>
> 
> Also, When I tried to change my instance document from
> "http://www.w3.org/2000/10/XMLSchema-instance"; to
> "http://www.w3.org/2001/XMLSchema-instance";
> while using the V1.3.1 xerces.jar  file, I got the same error!
> 
> Any ideas on how I can get my xml file to validate with 1.4.2 and the 2001
> XML Schema instance?
> 
> Thanks in Advance
> 
> Randy Moore
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
============================================
"M�gen die Falten im Gesicht eines Menschen
 Spuren sein des Lachens !!"

Mail    : [EMAIL PROTECTED]
Homepage: http://www.webis-world.de (Schau doch mal vorbei !)
ICQ     : #57313947 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to