- From: Ferrari GIanni <Ferrari.gi@apss.tn.it>
- Date: Fri, 23 Jan 2004 11:37:40 +0100
- To: xmlschema-dev@w3.org
- Message-ID: <D11D57B75A3CD411BF7F00E018C3356F0182FBA0@NTGEN05>
Goodmorning, i'm trying again to parser an XML Structure by XML Schema. I did some corrections, but now, my parser shows this message: [Error] InvoiceXML.xml:1:174: cvc-elt.1: Cannot find the declaration of element 'Invoice'. What kind of error is it? What does error mean? Maybe I have to add some instruction system on the XML Structure or XML Schema, but the parser of XMLWriter give me all correct. Why Xerces (I'm using 2.6.0 version) give me this error? With DTD all is ok, but when I try to use an XML Schema I have this error. For more information I posted under the message the initial code of the XML Model and XML Schema. Please write me soon... Thanks a lots. Regards from Italy Gianni XML Model: <Invoice xsi:schemaLocation="http://your_namespace file://C:\Lavoro\Java\xerces-2_6_0\data\InvoiceXML.xsd" xmlns="http://your_namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" DocType="Delete"> <DocumentSender> <Company LegalName="".... ............ ......... How I can have a namespace? Can I try one for default? XML Schema: <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="Invoice"> <xsd:complexType> <xsd:sequence>......... ......... ............... ...
Received on Friday, 23 January 2004 05:37:27 UTC