2 * schemastypes.c : interface of the XML Schema Datatypes
3 * definition and validity checking
5 * See Copyright for the status of this software.
7 * Daniel Veillard <veillard@redhat.com>
11 #ifndef __XML_SCHEMA_TYPES_H__
12 #define __XML_SCHEMA_TYPES_H__
14 #include <libxml/xmlversion.h>
16 #ifdef LIBXML_SCHEMAS_ENABLED
18 #include <libxml/schemasInternals.h>
24 void xmlSchemaInitTypes (void);
25 void xmlSchemaCleanupTypes (void);
26 xmlSchemaTypePtr xmlSchemaGetPredefinedType (const xmlChar *name,
28 int xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
30 xmlSchemaValPtr *val);
31 int xmlSchemaValidateFacet (xmlSchemaTypePtr base,
32 xmlSchemaFacetPtr facet,
35 void xmlSchemaFreeValue (xmlSchemaValPtr val);
41 #endif /* LIBXML_SCHEMAS_ENABLED */
42 #endif /* __XML_SCHEMA_TYPES_H__ */