XML Schema Wont Work in Codeplot
- From: Chase Preuninger <chasepreuninger@xxxxxxxxx>
- Date: Sat, 10 May 2008 20:17:37 -0700 (PDT)
Here is my schema...
<?xml version="1.0"?>
<schema>
<element name="name">
<complexType>
<sequence>
<element name="first" type="string"/>
<element name="middle" type="string"/>
<element name="last" type="string"/>
</sequence>
</complexType>
</element>
</schema>
Here is my XML document...
<?xml version="1.0"?>
<name xsi:schemaLocation="TestSchema.xml">
<first>Chase</first>
<middle>T</middle>
<last>Preuninger</last>
</name>
Here is the parser output...
[Error] Document is invalid: no grammar found. Line 2, Column 6
[Error] Document root element "name", must match DOCTYPE root "null".
Line 2, Column 6
.
- Follow-Ups:
- Re: XML Schema Wont Work in Codeplot
- From: Martin Honnen
- Re: XML Schema Wont Work in Codeplot
- Prev by Date: Xerces C++ Problem
- Next by Date: Re: XML Schema Wont Work in Codeplot
- Previous by thread: Xerces C++ Problem
- Next by thread: Re: XML Schema Wont Work in Codeplot
- Index(es):
Relevant Pages
|