The argy and argx elements are in a sequence. Your xml has
them backwards. From: Asaf Lahav [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 09:25 To: user@xmlbeans.apache.org Subject: a simple xsd question Can anyone explain to
me why this xml doesn't validate with the following XSD? <?xml
version="1.0"
encoding="UTF-8"?> <schema
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<element name="SubmitPurchaseOrder">
<complexType>
<sequence>
<element
name="argy"
type="string"/>
<element
name="argx"
type="string"/>
</sequence>
</complexType>
</element> </schema>
<?xml
version="1.0"
encoding="UTF-8"?> <SubmitPurchaseOrder
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Development\o\o\Untitled12.xsd">
<argx>String</argx>
<argy>String</argy> </SubmitPurchaseOrder>
|
- a simple xsd question Asaf Lahav
- Re: a simple xsd question cbryant
- RE: a simple xsd question Asaf Lahav
- RE: a simple xsd question ophir bleiberg
- RE: a simple xsd question Asaf Lahav
- RE: a simple xsd question Jacob Danner
- RE: a simple xsd question Bailey, Brian P
- RE: a simple xsd question Rhys Parry
- RE: a simple xsd question Rhys Parry
- RE: a simple xsd question Asaf Lahav