You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by denit thomas <de...@yahoo.co.in> on 2009/08/21 07:13:04 UTC

Fw: How to use xsd schema1.1 implementation


Hi,
I am trying to use an implementation of xml schema1.1. I use Eclipse as the editor for my Java and XML related work. I have checked out the source code from https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/ 
Thereafter I have added both the jars org.eclipse.wst.xml.xpath2.processor_1.0.0.jar and cupv10k-runtime.jar to my classpath.
What do i do now? I still don't have tags like <assert> in my xsd. 

Thanks & Regards,
Deni


       Yahoo! recommends that you upgrade to the new and safer  Internet Explorer 8.


      Looking for local information? Find it on Yahoo! Local http://in.local.yahoo.com/

Re: Fw: How to use xsd schema1.1 implementation

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
Hi Deni,

You may want to take a look at [1][2] if you haven't already. The entry
point is the JAXP Validation API. Passing
"http://www.w3.org/XML/XMLSchema/v1.1" as the parameter to
SchemaFactory.newInstance() will get you the XML Schema 1.1 processor. It's
still a work in progress so don't be surprised if you find that certain
features (e.g. <xs:override> and the new type derivation rules) aren't
complete.

If you'd like to know more about assertions in XML Schema 1.1 I co-wrote an
article [3] earlier this year that you might find useful.

Thanks.

[1] http://wiki.apache.org/xerces/Xerces-J:_XML_Schema_1.1_Design_Thoughts
[2] http://wiki.apache.org/xerces/XML_Schema_1.1_Assertions
[3] http://www.ibm.com/developerworks/xml/library/x-xml11pt2/

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

denit thomas <de...@yahoo.co.in> wrote on 08/21/2009 01:13:04 AM:

> Hi,
> I am trying to use an implementation of xml schema1.1. I use Eclipse
> as the editor for my Java and XML related work. I have checked out
> the source code from https://svn.apache.
> org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/
> Thereafter I have added both the jars org.eclipse.wst.xml.xpath2.
> processor_1.0.0.jar and cupv10k-runtime.jar to my classpath.
> What do i do now? I still don't have tags like <assert> in my xsd.
>
> Thanks & Regards,
> Deni
>
>
> Yahoo! recommends that you upgrade to the new and safer Internet Explorer
8.
>
> Looking for local information? Find it on Yahoo! Local