ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


xmlschemas.h

Includes:

Introduction



Typedefs


xmlSchema


typedef struct _xmlSchema xmlSchema;  
Discussion

The schemas related types are kept internal


xmlSchemaValidError


typedef enum { 
    XML_SCHEMAS_ERR_OK = 0, 
    XML_SCHEMAS_ERR_NOROOT = 1, 
    XML_SCHEMAS_ERR_UNDECLAREDELEM, 
    XML_SCHEMAS_ERR_NOTTOPLEVEL, 
    XML_SCHEMAS_ERR_MISSING, 
    XML_SCHEMAS_ERR_WRONGELEM, 
    XML_SCHEMAS_ERR_NOTYPE, 
    XML_SCHEMAS_ERR_NOROLLBACK, 
    XML_SCHEMAS_ERR_ISABSTRACT, 
    XML_SCHEMAS_ERR_NOTEMPTY, 
    XML_SCHEMAS_ERR_ELEMCONT, 
    XML_SCHEMAS_ERR_HAVEDEFAULT, 
    XML_SCHEMAS_ERR_NOTNILLABLE, 
    XML_SCHEMAS_ERR_EXTRACONTENT, 
    XML_SCHEMAS_ERR_INVALIDATTR, 
    XML_SCHEMAS_ERR_INVALIDELEM, 
    XML_SCHEMAS_ERR_NOTDETERMINIST, 
    XML_SCHEMAS_ERR_CONSTRUCT, 
    XML_SCHEMAS_ERR_INTERNAL, 
    XML_SCHEMAS_ERR_NOTSIMPLE, 
    XML_SCHEMAS_ERR_ATTRUNKNOWN, 
    XML_SCHEMAS_ERR_ATTRINVALID, 
    XML_SCHEMAS_ERR_VALUE, 
    XML_SCHEMAS_ERR_FACET, 
    XML_SCHEMAS_ERR_, 
    XML_SCHEMAS_ERR_XXX 
} xmlSchemaValidError;  
Discussion

This error codes are obsolete; not used any more.


xmlSchemaValidityErrorFunc


typedef void (*xmlSchemaValidityErrorFunc) (
    void *ctx,
    const char *msg,
    ...);  
Discussion

A schemas validation context


xmlSchemaValidOption


typedef enum { 
    XML_SCHEMA_VAL_VC_I_CREATE = 1<<0 /* Default/fixed: create an attribute node
 * or an element's text node on the instance.
        */
} xmlSchemaValidOption;  
Discussion

xmlSchemaValidOption:

This is the set of XML Schema validation options.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2006-06-20