You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2004/01/14 19:16:53 UTC

cvs commit: xml-xerces/c/scripts sanityTest.pl sanityTest_ExpectedResult.log

peiyongz    2004/01/14 10:16:53

  Modified:    c/scripts sanityTest.pl sanityTest_ExpectedResult.log
  Log:
  XSerializerTest added
  
  Revision  Changes    Path
  1.19      +8 -1      xml-xerces/c/scripts/sanityTest.pl
  
  Index: sanityTest.pl
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/scripts/sanityTest.pl,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- sanityTest.pl	3 Jun 2003 21:43:07 -0000	1.18
  +++ sanityTest.pl	14 Jan 2004 18:16:53 -0000	1.19
  @@ -173,6 +173,13 @@
   system ("DeprecatedDOMCount personal.xml");
   system ("DeprecatedDOMCount -n -s personal-schema.xml");
   
  +#  Run XSerializerTest
  +system ("XSerializerTest");
  +system ("XSerializerTest -v=never  personal.xml");
  +system ("XSerializerTest -v=always personal.xml");
  +system ("XSerializerTest -v=never  personal-schema.xml");
  +system ("XSerializerTest -v=always personal-schema.xml");
  +
   #  Run InitTestTerm
   system ("InitTermTest");
   system ("InitTermTest personal.xml");
  
  
  
  1.57      +27 -0     xml-xerces/c/scripts/sanityTest_ExpectedResult.log
  
  Index: sanityTest_ExpectedResult.log
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/scripts/sanityTest_ExpectedResult.log,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- sanityTest_ExpectedResult.log	26 Nov 2003 19:21:47 -0000	1.56
  +++ sanityTest_ExpectedResult.log	14 Jan 2004 18:16:53 -0000	1.57
  @@ -1043,6 +1043,33 @@
   personal-schema.xml:{timing removed}(37 elems).
   
   Usage:
  +    XSerializerTest [options] <XML file | List file>
  +
  +This program invokes the SAX2XMLReader, and then prints the
  +number of elements, attributes, spaces and characters found
  +in each XML file, using SAX2 API.
  +
  +Options:
  +    -l          Indicate the input file is a List File that has a list of xml files.
  +                Default to off (Input file is an XML file).
  +    -v=xxx      Validation scheme [always | never | auto*].
  +    -f          Enable full schema constraint checking processing. Defaults to off.
  +    -p          Enable namespace-prefixes feature. Defaults to off.
  +    -n          Disable namespace processing. Defaults to on.
  +                NOTE: THIS IS OPPOSITE FROM OTHER SAMPLES.
  +    -s          Disable schema processing. Defaults to on.
  +                NOTE: THIS IS OPPOSITE FROM OTHER SAMPLES.
  +    -locale=ll_CC specify the locale, default: en_US.
  +    -?          Show this help.
  +
  +  * = Default if not provided explicitly.
  +
  +personal.xml: {timing removed} (37 elems, 12 attrs, 0 spaces, 268 chars)
  +personal.xml: {timing removed} (37 elems, 12 attrs, 134 spaces, 134 chars)
  +personal-schema.xml: {timing removed} (37 elems, 28 attrs, 0 spaces, 268 chars)
  +personal-schema.xml: {timing removed} (37 elems, 28 attrs, 140 spaces, 128 chars)
  +
  +Usage:
       InitTermTest [options] <XML file>
   
   This program tests the XMLPlatformUtils::Initialize()/Terminate()
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org