Hi Saar,
Biztalk schemas are not valid W3C schema instances and
are based on Microsoft's own specification. It always
looked to me that Biztalk and the Biztalk Mapper were
designed to use Microsoft's schema spec to limit the
complexity of the applications, allowing early
delivery of a product line that is not fully developed
and therefore limited/inflexible. So though they might
contain similar concepts, they are not interchangable
with W3C schemas.
Brian


--- Saar Serur <[EMAIL PROTECTED]> wrote:
> Hi
> I try to use xerces parser to validate xml schema
> for Biztlak xsd.
> I tried to use:
>
parser.setFeature("http://xml.org/sax/features/validation";,
> true );
>
parser.setFeature("http://apache.org/xml/features/validation/schema";,
> true );
>
parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking",true);
>            
> 
> 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>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

Reply via email to