Hi
I try to use xerces parser to validate xml schema for Biztlak xsd.
I tried to use:
 
but I got an errors
How can I do it
 
 
schema: schema.xsd
 
<Schema xmlns="urn:schemas-microsoft-com:xml-data" name="Root" xmlns:d="urn:schemas-microsoft-com:datatypes">
<element type="Main" maxOccurs="*" minOccurs="0"/>
<ElementType name="Sub" content="textOnly" order="many" model="closed" d:type="string"></ElementType>
</Schema>
 
xml: xml.xml
<?xml version="1.0" encoding="utf-8"?>
<Root
>
<Main>
 <Sub>yyy</Sub>
</Main>
</Root>

Reply via email to