If you want to try out the XML Schema 1.1 support it's accessible through
the JAXP Validation API. Instead of "http://www.w3.org/2001/XMLSchema"; you
specify "http://www.w3.org/XML/XMLSchema/v1.1"; as the schema language.

For example:

SchemaFactory sf = SchemaFactory.newInstance
("http://www.w3.org/XML/XMLSchema/v1.1";);
Schema s = sf.newSchema(...);

For reference here's a list [1] of the XML Schema 1.1 features which have
been implemented to date.

Thanks.

[1] http://markmail.org/message/7gryseh6sjvwv22h

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrgla...@ca.ibm.com
E-mail: mrgla...@apache.org

Mukul Gandhi <muk...@apache.org> wrote on 02/13/2010 01:01:01 AM:

> Hi Felix,
>    The upcoming Xerces-J release, 2.10.0 would have a preview
> implementation of XML Schema 1.1 and that would have this support.
>
> If you want, you may try compiling it from,
>
https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/.
>
> On Sat, Feb 13, 2010 at 4:03 AM, Felix Nensa <ne...@zeec.biz> wrote:
> > Hi folks,
> >
> > I am looking for an XML validator that supports Schema 1.1 or to be
more
> > precise just maxOccurs="unbounded" within <xs:all> elements.
> > As I am using xerces-j for quite a while now it would be my first
choice.
> > Last week I checked out the head revision and compiled it but had no
luck
> > with my schema.
> > Any hints would be great. Thanks in advance,
> >
> > Felix
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
> For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to