1 * Summary: implementation of XML Schema Datatypes
2 * Description: module providing the XML Schema Datatypes implementation
3 * both definition and validity checking
5 * Copy: See Copyright for the status of this software.
7 * Author: Patrick Monnerat <pm@datasphere.ch>, DATASPHERE S.A.
9 /if not defined(XML_SCHEMA_TYPES_H__)
10 /define XML_SCHEMA_TYPES_H__
12 /include "libxmlrpg/xmlversion"
14 /if defined(LIBXML_SCHEMAS_ENABLED)
16 /include "libxmlrpg/schemasInternals"
17 /include "libxmlrpg/xmlschemas"
19 d xmlSchemaWhitespaceValueType...
20 d s 10i 0 based(######typedef######) enum
21 d XML_SCHEMA_WHITESPACE_UNKNOWN...
23 d XML_SCHEMA_WHITESPACE_PRESERVE...
25 d XML_SCHEMA_WHITESPACE_REPLACE...
27 d XML_SCHEMA_WHITESPACE_COLLAPSE...
30 d xmlSchemaInitTypes...
31 d pr extproc('xmlSchemaInitTypes')
33 d xmlSchemaCleanupTypes...
34 d pr extproc('xmlSchemaCleanupTypes')
36 d xmlSchemaGetPredefinedType...
37 d pr extproc('xmlSchemaGetPredefinedType')
38 d like(xmlSchemaTypePtr)
39 d name * value options(*string) const xmlChar *
40 d ns * value options(*string) const xmlChar *
42 d xmlSchemaValidatePredefinedType...
44 d 'xmlSchemaValidatePredefinedType')
45 d type value like(xmlSchemaTypePtr)
46 d value * value options(*string) const xmlChar *
47 d val * value xmlSchemaValPtr *
49 d xmlSchemaValPredefTypeNode...
50 d pr 10i 0 extproc('xmlSchemaValPredefTypeNode')
51 d type value like(xmlSchemaTypePtr)
52 d value * value options(*string) const xmlChar *
53 d val * value xmlSchemaValPtr *
54 d node value like(xmlNodePtr)
56 d xmlSchemaValidateFacet...
57 d pr 10i 0 extproc('xmlSchemaValidateFacet')
58 d base value like(xmlSchemaTypePtr)
59 d facet value like(xmlSchemaFacetPtr)
60 d value * value options(*string) const xmlChar *
61 d val value like(xmlSchemaValPtr)
63 d xmlSchemaValidateFacetWhtsp...
65 d 'xmlSchemaValidateFacetWhtsp')
66 d facet value like(xmlSchemaFacetPtr)
68 d like(xmlSchemaWhitespaceValueType)
69 d valType value like(xmlSchemaValType)
70 d value * value options(*string) const xmlChar *
71 d val value like(xmlSchemaValPtr)
73 d like(xmlSchemaWhitespaceValueType)
75 d xmlSchemaFreeValue...
76 d pr extproc('xmlSchemaFreeValue')
77 d val value like(xmlSchemaValPtr)
79 d xmlSchemaNewFacet...
80 d pr extproc('xmlSchemaNewFacet')
81 d like(xmlSchemaFacetPtr)
83 d xmlSchemaCheckFacet...
84 d pr 10i 0 extproc('xmlSchemaCheckFacet')
85 d facet value like(xmlSchemaFacetPtr)
86 d typeDecl value like(xmlSchemaTypePtr)
87 d ctxt value like(xmlSchemaParserCtxtPtr)
88 d name * value options(*string) const xmlChar *
90 d xmlSchemaFreeFacet...
91 d pr extproc('xmlSchemaFreeFacet')
92 d facet value like(xmlSchemaFacetPtr)
94 d xmlSchemaCompareValues...
95 d pr 10i 0 extproc('xmlSchemaCompareValues')
96 d x value like(xmlSchemaValPtr)
97 d y value like(xmlSchemaValPtr)
99 d xmlSchemaGetBuiltInListSimpleTypeItemType...
100 d pr extproc('xmlSchemaGetBuiltInListSimp-
102 d like(xmlSchemaTypePtr)
103 d type value like(xmlSchemaTypePtr)
105 d xmlSchemaValidateListSimpleTypeFacet...
106 d pr 10i 0 extproc('xmlSchemaValidateListSimple-
108 d facet value like(xmlSchemaFacetPtr)
109 d value * value options(*string) const xmlChar *
110 d actualLen 20u 0 value
111 d expectedLen * value unsigned long *
113 d xmlSchemaGetBuiltInType...
114 d pr extproc('xmlSchemaGetBuiltInType')
115 d like(xmlSchemaTypePtr)
116 d type value like(xmlSchemaValType)
118 d xmlSchemaIsBuiltInTypeFacet...
120 d 'xmlSchemaIsBuiltInTypeFacet')
121 d type value like(xmlSchemaTypePtr)
122 d facetType 10i 0 value
124 d xmlSchemaCollapseString...
125 d pr * extproc('xmlSchemaCollapseString') xmlChar *
126 d value * value options(*string) const xmlChar *
128 d xmlSchemaWhiteSpaceReplace...
129 d pr * extproc('xmlSchemaWhiteSpaceReplace')xmlChar *
130 d value * value options(*string) const xmlChar *
132 d xmlSchemaGetFacetValueAsULong...
134 d 'xmlSchemaGetFacetValueAsULong')
135 d facet value like(xmlSchemaFacetPtr)
137 d xmlSchemaValidateLengthFacet...
139 d 'xmlSchemaValidateLengthFacet')
140 d type value like(xmlSchemaTypePtr)
141 d facet value like(xmlSchemaFacetPtr)
142 d value * value options(*string) const xmlChar *
143 d val value like(xmlSchemaValPtr)
146 d xmlSchemaValidateLengthFacetWhtsp...
148 d 'xmlSchemaValidateLengthFacetWhtsp')
149 d facet value like(xmlSchemaFacetPtr)
150 d valType value like(xmlSchemaValType)
151 d value * value options(*string) const xmlChar *
152 d val value like(xmlSchemaValPtr)
155 d like(xmlSchemaWhitespaceValueType)
157 d xmlSchemaValPredefTypeNodeNoNorm...
159 d 'xmlSchemaValPredefTypeNodeNoNorm')
160 d type value like(xmlSchemaTypePtr)
161 d value * value options(*string) const xmlChar *
162 d val like(xmlSchemaValPtr)
163 d node value like(xmlNodePtr)
165 d xmlSchemaGetCanonValue...
166 d pr 10i 0 extproc('xmlSchemaGetCanonValue')
167 d val value like(xmlSchemaValPtr)
168 d retValue * value const xmlChar * *
170 d xmlSchemaGetCanonValueWhtsp...
172 d 'xmlSchemaGetCanonValueWhtsp')
173 d val value like(xmlSchemaValPtr)
174 d retValue * value const xmlChar * *
176 d like(xmlSchemaWhitespaceValueType)
178 d xmlSchemaValueAppend...
179 d pr 10i 0 extproc('xmlSchemaValueAppend')
180 d prev value like(xmlSchemaValPtr)
181 d cur value like(xmlSchemaValPtr)
183 d xmlSchemaValueGetNext...
184 d pr extproc('xmlSchemaValueGetNext')
185 d like(xmlSchemaValPtr)
186 d cur value like(xmlSchemaValPtr)
188 d xmlSchemaValueGetAsString...
189 d pr * extproc('xmlSchemaValueGetAsString') const xmlChar *
190 d val value like(xmlSchemaValPtr)
192 d xmlSchemaValueGetAsBoolean...
193 d pr 10i 0 extproc('xmlSchemaValueGetAsBoolean')
194 d val value like(xmlSchemaValPtr)
196 d xmlSchemaNewStringValue...
197 d pr extproc('xmlSchemaNewStringValue')
198 d like(xmlSchemaValPtr)
199 d type value like(xmlSchemaValType)
200 d value * value options(*string) const xmlChar *
202 d xmlSchemaNewNOTATIONValue...
203 d pr extproc('xmlSchemaNewNOTATIONValue')
204 d like(xmlSchemaValPtr)
205 d name * value options(*string) const xmlChar *
206 d ns * value options(*string) const xmlChar *
208 d xmlSchemaNewQNameValue...
209 d pr extproc('xmlSchemaNewQNameValue')
210 d like(xmlSchemaValPtr)
211 d namespaceName * value options(*string) const xmlChar *
212 d localName * value options(*string) const xmlChar *
214 d xmlSchemaCompareValuesWhtsp...
216 d 'xmlSchemaCompareValuesWhtsp')
217 d x value like(xmlSchemaValPtr)
219 d like(xmlSchemaWhitespaceValueType)
220 d y value like(xmlSchemaValPtr)
222 d like(xmlSchemaWhitespaceValueType)
224 d xmlSchemaCopyValue...
225 d pr extproc('xmlSchemaCopyValue')
226 d like(xmlSchemaValPtr)
227 d val value like(xmlSchemaValPtr)
229 d xmlSchemaGetValType...
230 d pr extproc('xmlSchemaGetValType')
231 d like(xmlSchemaValType)
232 d val value like(xmlSchemaValPtr)
234 /endif LIBXML_SCHEMAS_ENBLD
235 /endif XML_SCHEMA_TYPES_H__