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 2001/11/21 20:48:39 UTC
cvs commit: xml-xerces/c/scripts sanityTest_ExpectedResult.log
peiyongz 01/11/21 11:48:39
Modified: c/scripts sanityTest_ExpectedResult.log
Log:
SEnumVal:
Revision Changes Path
1.13 +108 -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.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sanityTest_ExpectedResult.log 2001/11/19 21:12:41 1.12
+++ sanityTest_ExpectedResult.log 2001/11/21 19:48:39 1.13
@@ -802,6 +802,114 @@
Name: given
Content Model: (#PCDATA)*
+
+Usage:
+ SEnumVal <XML file>
+
+This program parses a file, then shows how to enumerate the
+contents of the validator pools. Essentially, shows how one can
+access the Schema information stored in internal data structures.
+
+ * = Default if not provided explicitly
+
+Name: personnel
+Model Type: Children
+Create Reason: Declared
+ContentType: OneOrMore
+Content Model: (person)+
+ComplexType:
+ TypeName: ,C0
+ ContentType: OneOrMore
+--------------------------------------------
+Name: person
+Model Type: Children
+Create Reason: Declared
+ContentType: Sequence
+Content Model: (name,email*,url*,link?)
+ComplexType:
+ TypeName: ,C1
+ ContentType: Sequence
+Attributes:
+ Name: salary
+ Type: CDATA
+ Default Type: #IMPLIED
+ Base Datatype: Decimal
+Facets:
+ fractionDigits=0
+
+ Name: id
+ Type: ID
+ Default Type: #REQUIRED
+ Base Datatype: ID
+
+ Name: contr
+ Type: CDATA
+ Default Type: #DEFAULT
+ Value: false
+ Base Datatype: string
+
+ Name: note
+ Type: CDATA
+ Default Type: #IMPLIED
+ Base Datatype: string
+
+--------------------------------------------
+Name: name
+Model Type: Children
+Create Reason: Declared
+ContentType: Sequence
+Content Model: (family,given)
+ComplexType:
+ TypeName: ,C3
+ ContentType: Sequence
+--------------------------------------------
+Name: family
+Model Type: Simple
+Create Reason: Declared
+Base Datatype: string
+--------------------------------------------
+Name: given
+Model Type: Simple
+Create Reason: Declared
+Base Datatype: string
+--------------------------------------------
+Name: email
+Model Type: Simple
+Create Reason: Declared
+Base Datatype: string
+--------------------------------------------
+Name: url
+Model Type: Empty
+Create Reason: Declared
+Content Model: EMPTY
+ComplexType:
+ TypeName: ,C4
+Attributes:
+ Name: href
+ Type: CDATA
+ Default Type: #DEFAULT
+ Value: http://
+ Base Datatype: string
+
+--------------------------------------------
+Name: link
+Model Type: Empty
+Create Reason: Declared
+Content Model: EMPTY
+ComplexType:
+ TypeName: ,C5
+Attributes:
+ Name: subordinates
+ Type: IDREFS
+ Default Type: #IMPLIED
+ Base Datatype: List
+
+ Name: manager
+ Type: IDREF
+ Default Type: #IMPLIED
+ Base Datatype: IDREF
+
+--------------------------------------------
The tree just created contains: 4 elements.
DOM reference counted memory alloction statistics:
live string handles: 0
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org