You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by shikha mehrotra <an...@gmail.com> on 2007/05/30 09:10:26 UTC
is xerces support validation with multiple schemas without importing
hi,
I created one xml file Schema.xml
and two schemas jsdl.xml and jsdl-posix.xml
and i want to validate xml with these two schemas using xerces......
is it possible.....
kindly help me....
i m using the xerces2.2.0
Thanks
Re: is xerces support validation with multiple schemas without importing
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
"shikha mehrotra" <an...@gmail.com> wrote on 05/30/2007 03:10:26
AM:
> hi,
>
> I created one xml file Schema.xml
> and two schemas jsdl.xml and jsdl-posix.xml
>
> and i want to validate xml with these two schemas using xerces......
>
> is it possible.....
Yes, there are several ways you can do this. For example, you could use
the JAXP 1.3 validation API. This sample [1] which is included with the
Xerces binaries shows how to use it.
> kindly help me....
>
> i m using the xerces2.2.0
>
> Thanks
[1] http://xerces.apache.org/xerces2-j/samples-jaxp.html#SourceValidator
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org
Re: is xerces support validation with multiple schemas without importing
Posted by Michael Glavassevich <mr...@ca.ibm.com>.
"shikha mehrotra" <an...@gmail.com> wrote on 05/30/2007 03:10:26
AM:
> hi,
>
> I created one xml file Schema.xml
> and two schemas jsdl.xml and jsdl-posix.xml
>
> and i want to validate xml with these two schemas using xerces......
>
> is it possible.....
Yes, there are several ways you can do this. For example, you could use
the JAXP 1.3 validation API. This sample [1] which is included with the
Xerces binaries shows how to use it.
> kindly help me....
>
> i m using the xerces2.2.0
>
> Thanks
[1] http://xerces.apache.org/xerces2-j/samples-jaxp.html#SourceValidator
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org