12#ifndef __XML_SCHEMA_TYPES_H__
13#define __XML_SCHEMA_TYPES_H__
17#ifdef LIBXML_SCHEMAS_ENABLED
27 XML_SCHEMA_WHITESPACE_UNKNOWN = 0,
28 XML_SCHEMA_WHITESPACE_PRESERVE = 1,
29 XML_SCHEMA_WHITESPACE_REPLACE = 2,
30 XML_SCHEMA_WHITESPACE_COLLAPSE = 3
31} xmlSchemaWhitespaceValueType;
34 xmlSchemaInitTypes (
void);
37 xmlSchemaCleanupTypes (
void);
42 xmlSchemaValidatePredefinedType (xmlSchemaTypePtr
type,
44 xmlSchemaValPtr *
val);
46 xmlSchemaValPredefTypeNode (xmlSchemaTypePtr
type,
51 xmlSchemaValidateFacet (xmlSchemaTypePtr
base,
52 xmlSchemaFacetPtr facet,
56 xmlSchemaValidateFacetWhtsp (xmlSchemaFacetPtr facet,
57 xmlSchemaWhitespaceValueType fws,
58 xmlSchemaValType valType,
61 xmlSchemaWhitespaceValueType ws);
63 xmlSchemaFreeValue (xmlSchemaValPtr
val);
65 xmlSchemaNewFacet (
void);
67 xmlSchemaCheckFacet (xmlSchemaFacetPtr facet,
68 xmlSchemaTypePtr typeDecl,
69 xmlSchemaParserCtxtPtr ctxt,
72 xmlSchemaFreeFacet (xmlSchemaFacetPtr facet);
74 xmlSchemaCompareValues (xmlSchemaValPtr
x,
77 xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaTypePtr
type);
79 xmlSchemaValidateListSimpleTypeFacet (xmlSchemaFacetPtr facet,
81 unsigned long actualLen,
82 unsigned long *expectedLen);
84 xmlSchemaGetBuiltInType (xmlSchemaValType
type);
86 xmlSchemaIsBuiltInTypeFacet (xmlSchemaTypePtr
type,
93 xmlSchemaGetFacetValueAsULong (xmlSchemaFacetPtr facet);
95 xmlSchemaValidateLengthFacet (xmlSchemaTypePtr
type,
96 xmlSchemaFacetPtr facet,
101 xmlSchemaValidateLengthFacetWhtsp(xmlSchemaFacetPtr facet,
102 xmlSchemaValType valType,
106 xmlSchemaWhitespaceValueType ws);
108 xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaTypePtr
type,
110 xmlSchemaValPtr *
val,
113 xmlSchemaGetCanonValue (xmlSchemaValPtr
val,
116 xmlSchemaGetCanonValueWhtsp (xmlSchemaValPtr
val,
118 xmlSchemaWhitespaceValueType ws);
120 xmlSchemaValueAppend (xmlSchemaValPtr prev,
121 xmlSchemaValPtr
cur);
123 xmlSchemaValueGetNext (xmlSchemaValPtr
cur);
125 xmlSchemaValueGetAsString (xmlSchemaValPtr
val);
127 xmlSchemaValueGetAsBoolean (xmlSchemaValPtr
val);
129 xmlSchemaNewStringValue (xmlSchemaValType
type,
135 xmlSchemaNewQNameValue (
const xmlChar *namespaceName,
138 xmlSchemaCompareValuesWhtsp (xmlSchemaValPtr
x,
139 xmlSchemaWhitespaceValueType xws,
141 xmlSchemaWhitespaceValueType yws);
143 xmlSchemaCopyValue (xmlSchemaValPtr
val);
145 xmlSchemaGetValType (xmlSchemaValPtr
val);
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
GLuint GLsizei GLsizei * length