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/xmlTypesC"
17 /include "libxmlrpg/schemasInternals"
18 /include "libxmlrpg/xmlschemas"
20 d xmlSchemaWhitespaceValueType...
21 d s based(######typedef######)
23 d XML_SCHEMA_WHITESPACE_UNKNOWN...
25 d XML_SCHEMA_WHITESPACE_PRESERVE...
27 d XML_SCHEMA_WHITESPACE_REPLACE...
29 d XML_SCHEMA_WHITESPACE_COLLAPSE...
32 d xmlSchemaInitTypes...
33 d pr extproc('xmlSchemaInitTypes')
35 d xmlSchemaCleanupTypes...
36 d pr extproc('xmlSchemaCleanupTypes')
38 d xmlSchemaGetPredefinedType...
39 d pr extproc('xmlSchemaGetPredefinedType')
40 d like(xmlSchemaTypePtr)
41 d name * value options(*string) const xmlChar *
42 d ns * value options(*string) const xmlChar *
44 d xmlSchemaValidatePredefinedType...
46 d 'xmlSchemaValidatePredefinedType')
48 d type value like(xmlSchemaTypePtr)
49 d value * value options(*string) const xmlChar *
50 d val * value xmlSchemaValPtr *
52 d xmlSchemaValPredefTypeNode...
53 d pr extproc('xmlSchemaValPredefTypeNode')
55 d type value like(xmlSchemaTypePtr)
56 d value * value options(*string) const xmlChar *
57 d val * value xmlSchemaValPtr *
58 d node value like(xmlNodePtr)
60 d xmlSchemaValidateFacet...
61 d pr extproc('xmlSchemaValidateFacet')
63 d base value like(xmlSchemaTypePtr)
64 d facet value like(xmlSchemaFacetPtr)
65 d value * value options(*string) const xmlChar *
66 d val value like(xmlSchemaValPtr)
68 d xmlSchemaValidateFacetWhtsp...
70 d 'xmlSchemaValidateFacetWhtsp')
72 d facet value like(xmlSchemaFacetPtr)
74 d like(xmlSchemaWhitespaceValueType)
75 d valType value like(xmlSchemaValType)
76 d value * value options(*string) const xmlChar *
77 d val value like(xmlSchemaValPtr)
79 d like(xmlSchemaWhitespaceValueType)
81 d xmlSchemaFreeValue...
82 d pr extproc('xmlSchemaFreeValue')
83 d val value like(xmlSchemaValPtr)
85 d xmlSchemaNewFacet...
86 d pr extproc('xmlSchemaNewFacet')
87 d like(xmlSchemaFacetPtr)
89 d xmlSchemaCheckFacet...
90 d pr extproc('xmlSchemaCheckFacet')
92 d facet value like(xmlSchemaFacetPtr)
93 d typeDecl value like(xmlSchemaTypePtr)
94 d ctxt value like(xmlSchemaParserCtxtPtr)
95 d name * value options(*string) const xmlChar *
97 d xmlSchemaFreeFacet...
98 d pr extproc('xmlSchemaFreeFacet')
99 d facet value like(xmlSchemaFacetPtr)
101 d xmlSchemaCompareValues...
102 d pr extproc('xmlSchemaCompareValues')
104 d x value like(xmlSchemaValPtr)
105 d y value like(xmlSchemaValPtr)
107 d xmlSchemaGetBuiltInListSimpleTypeItemType...
108 d pr extproc('xmlSchemaGetBuiltInListSimp-
110 d like(xmlSchemaTypePtr)
111 d type value like(xmlSchemaTypePtr)
113 d xmlSchemaValidateListSimpleTypeFacet...
114 d pr extproc('xmlSchemaValidateListSimple-
117 d facet value like(xmlSchemaFacetPtr)
118 d value * value options(*string) const xmlChar *
119 d actualLen value like(xmlCulong)
120 d expectedLen * value unsigned long *
122 d xmlSchemaGetBuiltInType...
123 d pr extproc('xmlSchemaGetBuiltInType')
124 d like(xmlSchemaTypePtr)
125 d type value like(xmlSchemaValType)
127 d xmlSchemaIsBuiltInTypeFacet...
129 d 'xmlSchemaIsBuiltInTypeFacet')
131 d type value like(xmlSchemaTypePtr)
132 d facetType value like(xmlCint)
134 d xmlSchemaCollapseString...
135 d pr * extproc('xmlSchemaCollapseString') xmlChar *
136 d value * value options(*string) const xmlChar *
138 d xmlSchemaWhiteSpaceReplace...
139 d pr * extproc('xmlSchemaWhiteSpaceReplace')xmlChar *
140 d value * value options(*string) const xmlChar *
142 d xmlSchemaGetFacetValueAsULong...
144 d 'xmlSchemaGetFacetValueAsULong')
146 d facet value like(xmlSchemaFacetPtr)
148 d xmlSchemaValidateLengthFacet...
150 d 'xmlSchemaValidateLengthFacet')
152 d type value like(xmlSchemaTypePtr)
153 d facet value like(xmlSchemaFacetPtr)
154 d value * value options(*string) const xmlChar *
155 d val value like(xmlSchemaValPtr)
156 d length like(xmlCulong)
158 d xmlSchemaValidateLengthFacetWhtsp...
160 d 'xmlSchemaValidateLengthFacetWhtsp')
162 d facet value like(xmlSchemaFacetPtr)
163 d valType value like(xmlSchemaValType)
164 d value * value options(*string) const xmlChar *
165 d val value like(xmlSchemaValPtr)
166 d length like(xmlCulong)
168 d like(xmlSchemaWhitespaceValueType)
170 d xmlSchemaValPredefTypeNodeNoNorm...
172 d 'xmlSchemaValPredefTypeNodeNoNorm')
174 d type value like(xmlSchemaTypePtr)
175 d value * value options(*string) const xmlChar *
176 d val like(xmlSchemaValPtr)
177 d node value like(xmlNodePtr)
179 d xmlSchemaGetCanonValue...
180 d pr extproc('xmlSchemaGetCanonValue')
182 d val value like(xmlSchemaValPtr)
183 d retValue * value const xmlChar * *
185 d xmlSchemaGetCanonValueWhtsp...
187 d 'xmlSchemaGetCanonValueWhtsp')
189 d val value like(xmlSchemaValPtr)
190 d retValue * value const xmlChar * *
192 d like(xmlSchemaWhitespaceValueType)
194 d xmlSchemaValueAppend...
195 d pr extproc('xmlSchemaValueAppend')
197 d prev value like(xmlSchemaValPtr)
198 d cur value like(xmlSchemaValPtr)
200 d xmlSchemaValueGetNext...
201 d pr extproc('xmlSchemaValueGetNext')
202 d like(xmlSchemaValPtr)
203 d cur value like(xmlSchemaValPtr)
205 d xmlSchemaValueGetAsString...
206 d pr * extproc('xmlSchemaValueGetAsString') const xmlChar *
207 d val value like(xmlSchemaValPtr)
209 d xmlSchemaValueGetAsBoolean...
210 d pr extproc('xmlSchemaValueGetAsBoolean')
212 d val value like(xmlSchemaValPtr)
214 d xmlSchemaNewStringValue...
215 d pr extproc('xmlSchemaNewStringValue')
216 d like(xmlSchemaValPtr)
217 d type value like(xmlSchemaValType)
218 d value * value options(*string) const xmlChar *
220 d xmlSchemaNewNOTATIONValue...
221 d pr extproc('xmlSchemaNewNOTATIONValue')
222 d like(xmlSchemaValPtr)
223 d name * value options(*string) const xmlChar *
224 d ns * value options(*string) const xmlChar *
226 d xmlSchemaNewQNameValue...
227 d pr extproc('xmlSchemaNewQNameValue')
228 d like(xmlSchemaValPtr)
229 d namespaceName * value options(*string) const xmlChar *
230 d localName * value options(*string) const xmlChar *
232 d xmlSchemaCompareValuesWhtsp...
234 d 'xmlSchemaCompareValuesWhtsp')
236 d x value like(xmlSchemaValPtr)
238 d like(xmlSchemaWhitespaceValueType)
239 d y value like(xmlSchemaValPtr)
241 d like(xmlSchemaWhitespaceValueType)
243 d xmlSchemaCopyValue...
244 d pr extproc('xmlSchemaCopyValue')
245 d like(xmlSchemaValPtr)
246 d val value like(xmlSchemaValPtr)
248 d xmlSchemaGetValType...
249 d pr extproc('xmlSchemaGetValType')
250 d like(xmlSchemaValType)
251 d val value like(xmlSchemaValPtr)
253 /endif LIBXML_SCHEMAS_ENBLD
254 /endif XML_SCHEMA_TYPES_H__