Hi all,
are there any (SUnit) test cases for XML out there? I used to test Yax with a bunch of test files from James Clark's test suite (http://www.squeaklet.com/Yax/xmltest.zip), but never got around to create a real test suite out of it. As far as I can tell Yax handles a lot of the semi-validating stuff (extending entities, namespaces, system and public ids and such) but this impression is more based on "anecdotal" testing ;-)
A test suite would give as an objective measure of what works with which parser and would provide a list of points to work on.
Oh, and benchmarks would be great, although Shakespeare (http://www.ibiblio.org/xml/examples/shakespeare/) provides nice lengthy files :-)
Michael
The VWXML parser has SUnit tests for XML. It should be with teh Squeak version of the parser.
Hi all,
are there any (SUnit) test cases for XML out there? I used to test Yax with a bunch of test files from James Clark's test suite (http://www.squeaklet.com/Yax/xmltest.zip), but never got around to create a real test suite out of it. As far as I can tell Yax handles a lot of the semi-validating stuff (extending entities, namespaces, system and public ids and such) but this impression is more based on "anecdotal" testing ;-)
A test suite would give as an objective measure of what works with which parser and would provide a list of points to work on.
Oh, and benchmarks would be great, although Shakespeare (http://www.ibiblio.org/xml/examples/shakespeare/) provides nice lengthy files :-)
Michael
Roger Whitney Mathematical & Computer Sciences Department whitney@cs.sdsu.edu San Diego State University http://www.eli.sdsu.edu/ San Diego, CA 92182-7720 (619) 583-1978 (619) 594-3535 (office) (619) 594-6746 (fax)
On Thu, 29 Nov 2001, Michael Rueger wrote:
Hi all,
are there any (SUnit) test cases for XML out there?
Yes.
I used to test Yax with a bunch of test files from James Clark's test suite (http://www.squeaklet.com/Yax/xmltest.zip), but never got around to create a real test suite out of it.
Roger Whitney created a lovely test suite using the Clark/Oasis stuff. It's available for Squeak and works with the VWXML parser. You'll have to adapt it to your parser.
The code is available: http://monkeyfist.com/downloads/smalltalk/squeak/cst/xmlparser/
In the comment for XMLParserTests, there are links to the test files.
A test suite would give as an objective measure of what works with which parser and would provide a list of points to work on.
Yes, it was great when I was porting the VWXML parser. It passes a *large* number of these tests.
[snip]
Yay Roger!
Cheers, Bijan Parsia.
Bijan Parsia wrote:
The code is available: http://monkeyfist.com/downloads/smalltalk/squeak/cst/xmlparser/
In the comment for XMLParserTests, there are links to the test files.
A test suite would give as an objective measure of what works with which parser and would provide a list of points to work on.
Yes, it was great when I was porting the VWXML parser. It passes a *large* number of these tests.
I have problems running these tests. There are some DNU (e.g. OrderedCollection contains:). Is there a newer/different version of the VW port and the test suites? I got the one linked from the swiki.
I'm using an updated 3.2 image.
Thanks
Michael
squeak-dev@lists.squeakfoundation.org