[Home] [By Thread] [By Date] [Recent Entries]

  • From: Dimitris Dimitriadis <dimitris.dimitriadis@i...>
  • To: "'xml-dev@l...'" <xml-dev@l...>
  • Date: Wed, 02 May 2001 18:31:41 +0200

Indeed, congratulations. Let's hope that the implementations written to
support Schemas get properly tested to gain widespread acceptance and use.

If you want some ideas about how a process around a test suite could look,
please visit www.w3.org/DOM/Test. Also feel free to joing the mailing list
indicated by Curt.

All ideas/suggestions welcome.

Best of luck

/Dimitris Dimitriadis, W3C DOM WG repr. to the NIST-W3C DOM WG Test Suite
framework

-----Ursprungligt meddelande-----
Från: Arnold, Curt [mailto:Curt.Arnold@h...]
Skickat: den 2 maj 2001 17:50
Till: 'xml-dev@l...'
Kopia: 'www-xml-schema-tests@w...';
'xmlconf-developer@l...'
Ämne: [Xmlconf-developer] RE: XML Schema Test Collection open for
contributions


Congrats to all on reaching recommendation.  Now on to fully
implementing and testing the thing.

www-xml-schema-tests@w... didn't seem to have a corresponding
www-xml-schema-tests-request@w... or a listing in the public
archives.  I don't know if you intend the mailing list to be
a public forum (ala www-dom-ts@w...) and the 
subscription and archives are lagging the announcement
or if the email address is either W3C member only or a place 
to drop tests off in the middle of the night.

Anyone who wants a sandbox to play in is welcome
to participate in xmlconf.sourceforge.net or to 
discuss schema testing on the 
xmlconf-developer@l... mailing list
http://lists.sourceforge.net/lists/listinfo/xmlconf-developer

My initial thoughts is that it might be appropriate to have
a distinct representation for simpleType tests.  For simpleType's
if you had a test description along the lines of:

<tests>
<simpleType ref="xs:double">
    <invalidLexical>
	 <value>3..141595</value>
	 <value>ABCDEFGH</value>
    </invalidLexical>
    <invalidValue>
	 <value>3.14926E906</value>
    </invalidValue>
    <!--  each value must be greater than the previous  -->
    <order>
	 <value>-INF</value>
	 <value>-1E300</value>
	 <value>-0</value>
	 <value>0</value>
	 <value>1E-300</value>
	 <value>1</value>
	 <value>1E300</value>
	 <value>INF</value>
	 <value>NaN</value>
    </order>
    <equality>
	 <value>1</value>
	 <value>1.00</value>
	 <value>1.00000000000000000000000000001</value>
    </equality>
    <!--  would probably need a no comparison test for times  -->
</simpleType>
</tests>

You could either do unit tests on the simpleType classes or
synthesize a schema and documents that tested all of the 
assertions.

_______________________________________________
Xmlconf-developer mailing list
Xmlconf-developer@l...
http://lists.sourceforge.net/lists/listinfo/xmlconf-developer
http://xmlconf.sourceforge.net

_______________________________________________
Xmlconf-developer mailing list
Xmlconf-developer@l...
http://lists.sourceforge.net/lists/listinfo/xmlconf-developer
http://xmlconf.sourceforge.net



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member