Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » NIST's XSD Test Suite
NIST's XSD Test Suite [message #3543] Tue, 22 October 2002 16:20 Go to next message
Eclipse UserFriend
Originally posted by: dims.yahoo.com

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 #3576 is a reply to message #3543] Tue, 22 October 2002 18:13 Go to previous messageGo to next message
Shane Curcuru is currently offline Shane CurcuruFriend
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 #3642 is a reply to message #3543] Tue, 22 October 2002 20:50 Go to previous messageGo to next message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 34
Registered: July 2009
Member
Do you know of a similar test suite for XSD structures, Part 1? I see that
that this NIST suite only covers Part 2 datatypes.

Thanks!
Dave

"Davanum Srinivas" <dims@yahoo.com> wrote in message
news:ap3ts8$gjh$1@rogue.oti.com...
> 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 messageGo to next message
Eclipse UserFriend
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 #3706 is a reply to message #3642] Thu, 24 October 2002 13:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dims.yahoo.com

No Dave. I don't.

Dave Carlson wrote:

> Do you know of a similar test suite for XSD structures, Part 1? I see that
> that this NIST suite only covers Part 2 datatypes.

> Thanks!
> Dave

> "Davanum Srinivas" <dims@yahoo.com> wrote in message
> news:ap3ts8$gjh$1@rogue.oti.com...
> > 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 messageGo to next message
Eclipse UserFriend
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
Shane Curcuru is currently offline Shane CurcuruFriend
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
Shane Curcuru is currently offline Shane CurcuruFriend
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 #563250 is a reply to message #3543] Tue, 22 October 2002 20:50 Go to previous message
Dave Carlson is currently offline Dave CarlsonFriend
Messages: 34
Registered: July 2009
Member
Do you know of a similar test suite for XSD structures, Part 1? I see that
that this NIST suite only covers Part 2 datatypes.

Thanks!
Dave

"Davanum Srinivas" <dims@yahoo.com> wrote in message
news:ap3ts8$gjh$1@rogue.oti.com...
> 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
Davanum Srinivas is currently offline Davanum SrinivasFriend
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 #563308 is a reply to message #3642] Thu, 24 October 2002 13:23 Go to previous message
Davanum Srinivas is currently offline Davanum SrinivasFriend
Messages: 6
Registered: July 2009
Junior Member
No Dave. I don't.

Dave Carlson wrote:

> Do you know of a similar test suite for XSD structures, Part 1? I see that
> that this NIST suite only covers Part 2 datatypes.

> Thanks!
> Dave

> "Davanum Srinivas" <dims@yahoo.com> wrote in message
> news:ap3ts8$gjh$1@rogue.oti.com...
> > 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
Davanum Srinivas is currently offline Davanum SrinivasFriend
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
Shane Curcuru is currently offline Shane CurcuruFriend
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
> > >
>
>
>
>
>
>
Previous Topic:CVS / Bug-Fixing-Process
Next Topic:Creating a generic editor for an XML Schema
Goto Forum:
  


Current Time: Sat Jul 27 12:24:08 GMT 2024

Powered by FUDForum. Page generated in 0.05653 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top