OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Test suite suggestion

[ Lists Home | Date Index | Thread Index ]
  • From: Richard Tobin <richard@cogsci.ed.ac.uk>
  • To: xml-dev@xml.org
  • Date: Fri, 19 May 2000 14:50:14 +0100 (BST)

David Brownell recently published some new results from the Oasis test
suite(http://www.xml.com/pub/2000/05/10/conformance/conformance.html).
This relied on a harness he had written for Java SAX parsers and
MSXML.

To allow a wider range of parsers to be tested, I suggest that we (or
Oasis) define a format (XML of course) for reporting the raw test
results.  Parser implementors would provide test harnesses to produce
data in this format, and summaries and comparative surveys could be
produced idependently by use of stylesheets.

I already do this in a rather minimal way for testing RXP; the output
looks like this:

 <RESULTS VALIDATING="yes">
[...]
 <RESULT ID="invalid--002" TYPE="invalid" SECTIONS="3.2.1" STATUS="invalid">
 <DESCRIPTION>
    Tests the "Proper Group/PE Nesting" validity constraint by
    fragmenting a content model between two parameter entities.
 </DESCRIPTION>
 <DIAGNOSTIC>
 002.ent:2:19: warning: Content particle ends in different entity from that in which it starts
 </DIAGNOSTIC>
 </RESULT>
[...]

It needs a little elaboration - it should indicate the version of the
parser and of the tests, for example.

-- Richard

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS