API for the DTD handling and the validity checking Table of Contents#define XML_CTXT_FINISH_DTD_0 #define XML_CTXT_FINISH_DTD_1 Structure xmlAttributeTable struct _xmlHashTable
The content of this structure is not made public by the API.
Typedef xmlAttributeTable * xmlAttributeTablePtr
Structure xmlElementTable struct _xmlHashTable
@@ -276,7 +276,7 @@ The content of this structure is not made public by th
Pop the element end from the validation stack.
ctxt: | the validation context | doc: | a document instance | elem: | an element instance | qname: | the qualified name as appearing in the serialization | Returns: | 1 if no validation problem was found or 0 otherwise |
Function: xmlValidatePushCDataint xmlValidatePushCData (xmlValidCtxtPtr ctxt, const xmlChar * data, int len)
check the CData parsed for validation in the current stack
-ctxt: | the validation context | data: | some character data read | len: | the lenght of the data | Returns: | 1 if no validation problem was found or 0 otherwise |
Function: xmlValidatePushElementint xmlValidatePushElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * qname)
+ctxt: | the validation context | data: | some character data read | len: | the length of the data | Returns: | 1 if no validation problem was found or 0 otherwise |
Function: xmlValidatePushElementint xmlValidatePushElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * qname)
Push a new element start on the validation stack.
ctxt: | the validation context | doc: | a document instance | elem: | an element instance | qname: | the qualified name as appearing in the serialization | Returns: | 1 if no validation problem was found or 0 otherwise |
Function: xmlValidateRootint xmlValidateRoot (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
Try to validate a the root element basically it does the following check as described by the XML-1.0 recommendation: - [ VC: Root Element Type ] it doesn't try to recurse or apply other check to the element
|