Home » Archived » XML Schema Definition (XSD) » NIST's XSD Test Suite
|
Re: NIST's XSD Test Suite [message #3576 is a reply to message #3543] |
Tue, 22 October 2002 18:13 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Shane Curcuru![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=shane_curcuru%40us.ibm.com) Messages: 30 Registered: July 2009 |
Member |
|
|
Not yet, but I'll see what I can do. 8-)
Note that the XSD Schema Infoset Model library is not a parser; i.e. if you want to parse instance documents and ensure that
they're schema-valid, you need something like Xerces. If, on the other hand, you want to manipulate the schema itself (either
it's file.xsd representation, or the abstract 'schema-ness' of it), then the library is what you want.
- Shane
On Tue, 22 Oct 2002 16:20:24 +0000 (UTC), dims@yahoo.com (Davanum Srinivas) wrote:
> Has anyone run the parser against all the xsd's from NIST's Test Suite?
> (http://xw2k.sdct.itl.nist.gov/xml/page4.html)
>
> Thanks,
> dims
>
|
|
| |
Re: NIST's XSD Test Suite [message #3674 is a reply to message #3576] |
Thu, 24 October 2002 13:22 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: dims.yahoo.com
Shane,
I understand...We want to be able to suck in an xsd using the library,
manipulate the contents using your API and then spit out the modified xsd.
Thanks,
dims
Shane Curcuru wrote:
> Not yet, but I\'ll see what I can do. 8-)
> Note that the XSD Schema Infoset Model library is not a parser; i.e. if you
want to parse instance documents and ensure that
> they\'re schema-valid, you need something like Xerces. If, on the other
hand, you want to manipulate the schema itself (either
> it\'s file.xsd representation, or the abstract \'schema-ness\' of it), then
the library is what you want.
> - Shane
> On Tue, 22 Oct 2002 16:20:24 +0000 (UTC), dims@yahoo.com (Davanum Srinivas)
wrote:
> > Has anyone run the parser against all the xsd\'s from NIST\'s Test Suite?
> > (http://xw2k.sdct.itl.nist.gov/xml/page4.html)
> >
> > Thanks,
> > dims
> >
|
|
| |
Re: NIST's XSD Test Suite [message #3735 is a reply to message #3576] |
Thu, 24 October 2002 13:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: dims.yahoo.com
Shane,
Here's the scenario:
#1: For each xsd in NIST's Test Suite do the following
#2: Load the Say Foo-In.XSD
#3: Generate the Foo-Out.XSD from the in-memory representation
#4: Use XMLUnit (http://sourceforge.net/projects/xmlunit) to check if
there are differences between Foo-In.XSD anf Foo-Out.XSD
This will make sure that "XSD Schema Infoset Model library" can
#1: supports the "XML Schema Part 2: Datatypes" spec.
#2: There's no loss of information in the load/save process.
This will be the best test harness possible for your library.
Thanks,
dims
Shane Curcuru wrote:
> Not yet, but I'll see what I can do. 8-)
> Note that the XSD Schema Infoset Model library is not a parser; i.e. if you
want to parse instance documents and ensure that
> they're schema-valid, you need something like Xerces. If, on the other
hand, you want to manipulate the schema itself (either
> it's file.xsd representation, or the abstract 'schema-ness' of it), then the
library is what you want.
> - Shane
> On Tue, 22 Oct 2002 16:20:24 +0000 (UTC), dims@yahoo.com (Davanum Srinivas)
wrote:
> > Has anyone run the parser against all the xsd's from NIST's Test Suite?
> > (http://xw2k.sdct.itl.nist.gov/xml/page4.html)
> >
> > Thanks,
> > dims
> >
|
|
|
Re: NIST's XSD Test Suite [message #4292 is a reply to message #3735] |
Thu, 24 October 2002 15:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Shane Curcuru![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=shane_curcuru%40us.ibm.com) Messages: 30 Registered: July 2009 |
Member |
|
|
Actually I have a modified copy of the org.apache.qetest harness (from xml-xalan) that already does this. I've been testing my
own set of schemas with a round-tripper already and the library handles a very wide variety quite nicely. I'm still booked on
other tasks so I haven't been able to run it on the NIST suite yet, but I'm betting that I've already covered the majority of
cases in there.
- Shane
On Thu, 24 Oct 2002 13:29:31 +0000 (UTC), dims@yahoo.com (Davanum Srinivas) wrote:
> Shane,
>
> Here's the scenario:
> #1: For each xsd in NIST's Test Suite do the following
> #2: Load the Say Foo-In.XSD
> #3: Generate the Foo-Out.XSD from the in-memory representation
> #4: Use XMLUnit (http://sourceforge.net/projects/xmlunit) to check if
> there are differences between Foo-In.XSD anf Foo-Out.XSD
>
> This will make sure that "XSD Schema Infoset Model library" can
> #1: supports the "XML Schema Part 2: Datatypes" spec.
> #2: There's no loss of information in the load/save process.
>
> This will be the best test harness possible for your library.
>
> Thanks,
> dims
>
> Shane Curcuru wrote:
>
> > Not yet, but I'll see what I can do. 8-)
>
> > Note that the XSD Schema Infoset Model library is not a parser; i.e. if you
> want to parse instance documents and ensure that
> > they're schema-valid, you need something like Xerces. If, on the other
> hand, you want to manipulate the schema itself (either
> > it's file.xsd representation, or the abstract 'schema-ness' of it), then the
> library is what you want.
>
> > - Shane
>
> > On Tue, 22 Oct 2002 16:20:24 +0000 (UTC), dims@yahoo.com (Davanum Srinivas)
> wrote:
> > > Has anyone run the parser against all the xsd's from NIST's Test Suite?
> > > (http://xw2k.sdct.itl.nist.gov/xml/page4.html)
> > >
> > > Thanks,
> > > dims
> > >
>
>
>
>
>
>
|
|
|
Re: NIST's XSD Test Suite [message #563200 is a reply to message #3543] |
Tue, 22 October 2002 18:13 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Shane Curcuru![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=shane_curcuru%40us.ibm.com) Messages: 30 Registered: July 2009 |
Member |
|
|
Not yet, but I'll see what I can do. 8-)
Note that the XSD Schema Infoset Model library is not a parser; i.e. if you want to parse instance documents and ensure that
they're schema-valid, you need something like Xerces. If, on the other hand, you want to manipulate the schema itself (either
it's file.xsd representation, or the abstract 'schema-ness' of it), then the library is what you want.
- Shane
On Tue, 22 Oct 2002 16:20:24 +0000 (UTC), dims@yahoo.com (Davanum Srinivas) wrote:
> Has anyone run the parser against all the xsd's from NIST's Test Suite?
> (http://xw2k.sdct.itl.nist.gov/xml/page4.html)
>
> Thanks,
> dims
>
|
|
| |
Re: NIST's XSD Test Suite [message #563276 is a reply to message #3576] |
Thu, 24 October 2002 13:22 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Davanum Srinivas![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=davanum%40gmail.com) Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Shane,
I understand...We want to be able to suck in an xsd using the library,
manipulate the contents using your API and then spit out the modified xsd.
Thanks,
dims
Shane Curcuru wrote:
> Not yet, but I\'ll see what I can do. 8-)
> Note that the XSD Schema Infoset Model library is not a parser; i.e. if you
want to parse instance documents and ensure that
> they\'re schema-valid, you need something like Xerces. If, on the other
hand, you want to manipulate the schema itself (either
> it\'s file.xsd representation, or the abstract \'schema-ness\' of it), then
the library is what you want.
> - Shane
> On Tue, 22 Oct 2002 16:20:24 +0000 (UTC), dims@yahoo.com (Davanum Srinivas)
wrote:
> > Has anyone run the parser against all the xsd\'s from NIST\'s Test Suite?
> > (http://xw2k.sdct.itl.nist.gov/xml/page4.html)
> >
> > Thanks,
> > dims
> >
|
|
| |
Re: NIST's XSD Test Suite [message #563335 is a reply to message #3576] |
Thu, 24 October 2002 13:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Davanum Srinivas![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=davanum%40gmail.com) Messages: 6 Registered: July 2009 |
Junior Member |
|
|
Shane,
Here's the scenario:
#1: For each xsd in NIST's Test Suite do the following
#2: Load the Say Foo-In.XSD
#3: Generate the Foo-Out.XSD from the in-memory representation
#4: Use XMLUnit (http://sourceforge.net/projects/xmlunit) to check if
there are differences between Foo-In.XSD anf Foo-Out.XSD
This will make sure that "XSD Schema Infoset Model library" can
#1: supports the "XML Schema Part 2: Datatypes" spec.
#2: There's no loss of information in the load/save process.
This will be the best test harness possible for your library.
Thanks,
dims
Shane Curcuru wrote:
> Not yet, but I'll see what I can do. 8-)
> Note that the XSD Schema Infoset Model library is not a parser; i.e. if you
want to parse instance documents and ensure that
> they're schema-valid, you need something like Xerces. If, on the other
hand, you want to manipulate the schema itself (either
> it's file.xsd representation, or the abstract 'schema-ness' of it), then the
library is what you want.
> - Shane
> On Tue, 22 Oct 2002 16:20:24 +0000 (UTC), dims@yahoo.com (Davanum Srinivas)
wrote:
> > Has anyone run the parser against all the xsd's from NIST's Test Suite?
> > (http://xw2k.sdct.itl.nist.gov/xml/page4.html)
> >
> > Thanks,
> > dims
> >
|
|
|
Re: NIST's XSD Test Suite [message #563428 is a reply to message #3735] |
Thu, 24 October 2002 15:29 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Shane Curcuru![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=shane_curcuru%40us.ibm.com) Messages: 30 Registered: July 2009 |
Member |
|
|
Actually I have a modified copy of the org.apache.qetest harness (from xml-xalan) that already does this. I've been testing my
own set of schemas with a round-tripper already and the library handles a very wide variety quite nicely. I'm still booked on
other tasks so I haven't been able to run it on the NIST suite yet, but I'm betting that I've already covered the majority of
cases in there.
- Shane
On Thu, 24 Oct 2002 13:29:31 +0000 (UTC), dims@yahoo.com (Davanum Srinivas) wrote:
> Shane,
>
> Here's the scenario:
> #1: For each xsd in NIST's Test Suite do the following
> #2: Load the Say Foo-In.XSD
> #3: Generate the Foo-Out.XSD from the in-memory representation
> #4: Use XMLUnit (http://sourceforge.net/projects/xmlunit) to check if
> there are differences between Foo-In.XSD anf Foo-Out.XSD
>
> This will make sure that "XSD Schema Infoset Model library" can
> #1: supports the "XML Schema Part 2: Datatypes" spec.
> #2: There's no loss of information in the load/save process.
>
> This will be the best test harness possible for your library.
>
> Thanks,
> dims
>
> Shane Curcuru wrote:
>
> > Not yet, but I'll see what I can do. 8-)
>
> > Note that the XSD Schema Infoset Model library is not a parser; i.e. if you
> want to parse instance documents and ensure that
> > they're schema-valid, you need something like Xerces. If, on the other
> hand, you want to manipulate the schema itself (either
> > it's file.xsd representation, or the abstract 'schema-ness' of it), then the
> library is what you want.
>
> > - Shane
>
> > On Tue, 22 Oct 2002 16:20:24 +0000 (UTC), dims@yahoo.com (Davanum Srinivas)
> wrote:
> > > Has anyone run the parser against all the xsd's from NIST's Test Suite?
> > > (http://xw2k.sdct.itl.nist.gov/xml/page4.html)
> > >
> > > Thanks,
> > > dims
> > >
>
>
>
>
>
>
|
|
|
Goto Forum:
Current Time: Sun Sep 01 06:38:50 GMT 2024
Powered by FUDForum. Page generated in 0.04402 seconds
|