|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="SHORTCUT ICON" href="/favicon.ico" /><style type="text/css">
|
|
Packit Service |
a31ea6 |
TD {font-family: Verdana,Arial,Helvetica}
|
|
Packit Service |
a31ea6 |
BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
|
|
Packit Service |
a31ea6 |
H1 {font-family: Verdana,Arial,Helvetica}
|
|
Packit Service |
a31ea6 |
H2 {font-family: Verdana,Arial,Helvetica}
|
|
Packit Service |
a31ea6 |
H3 {font-family: Verdana,Arial,Helvetica}
|
|
Packit Service |
a31ea6 |
A:link, A:visited, A:active { text-decoration: underline }
|
|
Packit Service |
a31ea6 |
</style><style type="text/css">
|
|
Packit Service |
a31ea6 |
div.deprecated pre.programlisting {border-style: double;border-color:red}
|
|
Packit Service |
a31ea6 |
pre.programlisting {border-style: double;background: #EECFA1}
|
|
Packit Service |
a31ea6 |
</style><title>Module valid from libxml2</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000">![Action against software patents](../epatents.png) | ![Gnome2 Logo](../gnome2.png) ![W3C Logo](../w3c.png) ![Red Hat Logo](../redhat.gif) | Module valid from libxml2 |
|
|
<center>API Menu</center> | <form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form> |
<center>API Indexes</center> | |
<center>Related links</center> | |
|
| |
|
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
Typedef xmlAttributeTable * xmlAttributeTablePtr
|
|
Packit Service |
a31ea6 |
Structure xmlElementTable struct _xmlHashTable
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
Typedef xmlElementTable * xmlElementTablePtr
|
|
Packit Service |
a31ea6 |
Structure xmlIDTable struct _xmlHashTable
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
Typedef xmlIDTable * xmlIDTablePtr
|
|
Packit Service |
a31ea6 |
Structure xmlNotationTable struct _xmlHashTable
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
Typedef xmlNotationTable * xmlNotationTablePtr
|
|
Packit Service |
a31ea6 |
Structure xmlRefTable struct _xmlHashTable
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
Typedef xmlRefTable * xmlRefTablePtr
|
|
Packit Service |
a31ea6 |
Structure xmlValidCtxt struct _xmlValidCtxt
|
|
Packit Service |
a31ea6 |
Typedef xmlValidCtxt * xmlValidCtxtPtr
|
|
Packit Service |
a31ea6 |
Structure xmlValidState struct _xmlValidState
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
Typedef xmlValidState * xmlValidStatePtr
|
|
Packit Service |
a31ea6 |
xmlAttributePtr xmlAddAttributeDecl (xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar * elem, const xmlChar * name, const xmlChar * ns, xmlAttributeType type, xmlAttributeDefault def, const xmlChar * defaultValue, xmlEnumerationPtr tree)
|
|
Packit Service |
a31ea6 |
xmlElementPtr xmlAddElementDecl (xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar * name, xmlElementTypeVal type, xmlElementContentPtr content)
|
|
Packit Service |
a31ea6 |
xmlIDPtr xmlAddID (xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar * value, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
xmlNotationPtr xmlAddNotationDecl (xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar * name, const xmlChar * PublicID, const xmlChar * SystemID)
|
|
Packit Service |
a31ea6 |
xmlRefPtr xmlAddRef (xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar * value, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
xmlAttributeTablePtr xmlCopyAttributeTable (xmlAttributeTablePtr table)
|
|
Packit Service |
a31ea6 |
xmlElementContentPtr xmlCopyDocElementContent (xmlDocPtr doc, xmlElementContentPtr cur)
|
|
Packit Service |
a31ea6 |
xmlElementContentPtr xmlCopyElementContent (xmlElementContentPtr cur)
|
|
Packit Service |
a31ea6 |
xmlElementTablePtr xmlCopyElementTable (xmlElementTablePtr table)
|
|
Packit Service |
a31ea6 |
xmlEnumerationPtr xmlCopyEnumeration (xmlEnumerationPtr cur)
|
|
Packit Service |
a31ea6 |
xmlNotationTablePtr xmlCopyNotationTable (xmlNotationTablePtr table)
|
|
Packit Service |
a31ea6 |
xmlEnumerationPtr xmlCreateEnumeration (const xmlChar * name)
|
|
Packit Service |
a31ea6 |
void xmlDumpAttributeDecl (xmlBufferPtr buf, xmlAttributePtr attr)
|
|
Packit Service |
a31ea6 |
void xmlDumpAttributeTable (xmlBufferPtr buf, xmlAttributeTablePtr table)
|
|
Packit Service |
a31ea6 |
void xmlDumpElementDecl (xmlBufferPtr buf, xmlElementPtr elem)
|
|
Packit Service |
a31ea6 |
void xmlDumpElementTable (xmlBufferPtr buf, xmlElementTablePtr table)
|
|
Packit Service |
a31ea6 |
void xmlDumpNotationDecl (xmlBufferPtr buf, xmlNotationPtr nota)
|
|
Packit Service |
a31ea6 |
void xmlDumpNotationTable (xmlBufferPtr buf, xmlNotationTablePtr table)
|
|
Packit Service |
a31ea6 |
void xmlFreeAttributeTable (xmlAttributeTablePtr table)
|
|
Packit Service |
a31ea6 |
void xmlFreeDocElementContent (xmlDocPtr doc, xmlElementContentPtr cur)
|
|
Packit Service |
a31ea6 |
void xmlFreeElementContent (xmlElementContentPtr cur)
|
|
Packit Service |
a31ea6 |
void xmlFreeElementTable (xmlElementTablePtr table)
|
|
Packit Service |
a31ea6 |
void xmlFreeEnumeration (xmlEnumerationPtr cur)
|
|
Packit Service |
a31ea6 |
void xmlFreeIDTable (xmlIDTablePtr table)
|
|
Packit Service |
a31ea6 |
void xmlFreeNotationTable (xmlNotationTablePtr table)
|
|
Packit Service |
a31ea6 |
void xmlFreeRefTable (xmlRefTablePtr table)
|
|
Packit Service |
a31ea6 |
void xmlFreeValidCtxt (xmlValidCtxtPtr cur)
|
|
Packit Service |
a31ea6 |
xmlAttributePtr xmlGetDtdAttrDesc (xmlDtdPtr dtd, const xmlChar * elem, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
xmlElementPtr xmlGetDtdElementDesc (xmlDtdPtr dtd, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
xmlNotationPtr xmlGetDtdNotationDesc (xmlDtdPtr dtd, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
xmlAttributePtr xmlGetDtdQAttrDesc (xmlDtdPtr dtd, const xmlChar * elem, const xmlChar * name, const xmlChar * prefix)
|
|
Packit Service |
a31ea6 |
xmlElementPtr xmlGetDtdQElementDesc (xmlDtdPtr dtd, const xmlChar * name, const xmlChar * prefix)
|
|
Packit Service |
a31ea6 |
xmlAttrPtr xmlGetID (xmlDocPtr doc, const xmlChar * ID)
|
|
Packit Service |
a31ea6 |
xmlListPtr xmlGetRefs (xmlDocPtr doc, const xmlChar * ID)
|
|
Packit Service |
a31ea6 |
int xmlIsID (xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
int xmlIsMixedElement (xmlDocPtr doc, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
int xmlIsRef (xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
xmlElementContentPtr xmlNewDocElementContent (xmlDocPtr doc, const xmlChar * name, xmlElementContentType type)
|
|
Packit Service |
a31ea6 |
xmlElementContentPtr xmlNewElementContent (const xmlChar * name, xmlElementContentType type)
|
|
Packit Service |
a31ea6 |
xmlValidCtxtPtr xmlNewValidCtxt (void)
|
|
Packit Service |
a31ea6 |
int xmlRemoveID (xmlDocPtr doc, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
int xmlRemoveRef (xmlDocPtr doc, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
void xmlSnprintfElementContent (char * buf, int size, xmlElementContentPtr content, int englob)
|
|
Packit Service |
a31ea6 |
void xmlSprintfElementContent (char * buf, xmlElementContentPtr content, int englob)
|
|
Packit Service |
a31ea6 |
int xmlValidBuildContentModel (xmlValidCtxtPtr ctxt, xmlElementPtr elem)
|
|
Packit Service |
a31ea6 |
xmlChar * xmlValidCtxtNormalizeAttributeValue (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * name, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidGetPotentialChildren (xmlElementContent * ctree, const xmlChar ** names, int * len, int max)
|
|
Packit Service |
a31ea6 |
int xmlValidGetValidElements (xmlNode * prev, xmlNode * next, const xmlChar ** names, int max)
|
|
Packit Service |
a31ea6 |
xmlChar * xmlValidNormalizeAttributeValue (xmlDocPtr doc, xmlNodePtr elem, const xmlChar * name, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidateAttributeDecl (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlAttributePtr attr)
|
|
Packit Service |
a31ea6 |
int xmlValidateAttributeValue (xmlAttributeType type, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidateDocument (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
|
|
Packit Service |
a31ea6 |
int xmlValidateDocumentFinal (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
|
|
Packit Service |
a31ea6 |
int xmlValidateDtd (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlDtdPtr dtd)
|
|
Packit Service |
a31ea6 |
int xmlValidateDtdFinal (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
|
|
Packit Service |
a31ea6 |
int xmlValidateElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem)
|
|
Packit Service |
a31ea6 |
int xmlValidateElementDecl (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlElementPtr elem)
|
|
Packit Service |
a31ea6 |
int xmlValidateNameValue (const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidateNamesValue (const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidateNmtokenValue (const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidateNmtokensValue (const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidateNotationDecl (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNotationPtr nota)
|
|
Packit Service |
a31ea6 |
int xmlValidateNotationUse (xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar * notationName)
|
|
Packit Service |
a31ea6 |
int xmlValidateOneAttribute (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidateOneElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem)
|
|
Packit Service |
a31ea6 |
int xmlValidateOneNamespace (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * prefix, xmlNsPtr ns, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
int xmlValidatePopElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * qname)
|
|
Packit Service |
a31ea6 |
int xmlValidatePushCData (xmlValidCtxtPtr ctxt, const xmlChar * data, int len)
|
|
Packit Service |
a31ea6 |
int xmlValidatePushElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * qname)
|
|
Packit Service |
a31ea6 |
int xmlValidateRoot (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
|
|
Packit Service |
a31ea6 |
Function type: xmlValidityErrorFunc
|
|
Packit Service |
a31ea6 |
void xmlValidityErrorFunc (void * ctx, const char * msg, ... ...)
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
Function type: xmlValidityWarningFunc
|
|
Packit Service |
a31ea6 |
void xmlValidityWarningFunc (void * ctx, const char * msg, ... ...)
|
|
Packit Service |
a31ea6 |
|
|
Packit Service |
a31ea6 |
Description
|
|
Packit Service |
a31ea6 |
Macro: XML_CTXT_FINISH_DTD_0#define XML_CTXT_FINISH_DTD_0 Special value for finishDtd field when embedded in an xmlParserCtxt
|
|
Packit Service |
a31ea6 |
Macro: XML_CTXT_FINISH_DTD_1#define XML_CTXT_FINISH_DTD_1 Special value for finishDtd field when embedded in an xmlParserCtxt
|
|
Packit Service |
a31ea6 |
Structure xmlAttributeTable struct _xmlHashTable {
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
}Structure xmlElementTable struct _xmlHashTable {
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
}Structure xmlIDTable struct _xmlHashTable {
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
}Structure xmlNotationTable struct _xmlHashTable {
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
}Structure xmlRefTable struct _xmlHashTable {
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
}Structure xmlValidCtxt struct _xmlValidCtxt {
|
|
Packit Service |
a31ea6 |
void * userData : user specific data block
|
|
Packit Service |
a31ea6 |
xmlValidityErrorFunc error : the callback in case of errors
|
|
Packit Service |
a31ea6 |
xmlValidityWarningFunc warning : the callback in case of warning Node an
|
|
Packit Service |
a31ea6 |
xmlNodePtr node : Current parsed Node
|
|
Packit Service |
a31ea6 |
int nodeNr : Depth of the parsing stack
|
|
Packit Service |
a31ea6 |
int nodeMax : Max depth of the parsing stack
|
|
Packit Service |
a31ea6 |
xmlNodePtr * nodeTab : array of nodes
|
|
Packit Service |
a31ea6 |
unsigned int finishDtd : finished validating the Dtd ?
|
|
Packit Service |
a31ea6 |
xmlDocPtr doc : the document
|
|
Packit Service |
a31ea6 |
int valid : temporary validity check result state s
|
|
Packit Service |
a31ea6 |
xmlValidState * vstate : current state
|
|
Packit Service |
a31ea6 |
int vstateNr : Depth of the validation stack
|
|
Packit Service |
a31ea6 |
int vstateMax : Max depth of the validation stack
|
|
Packit Service |
a31ea6 |
xmlValidState * vstateTab : array of validation states
|
|
Packit Service |
a31ea6 |
xmlAutomataPtr am : the automata
|
|
Packit Service |
a31ea6 |
xmlAutomataStatePtr state : used to build the automata
|
|
Packit Service |
a31ea6 |
void * am
|
|
Packit Service |
a31ea6 |
void * state
|
|
Packit Service |
a31ea6 |
}Structure xmlValidState struct _xmlValidState {
|
|
Packit Service |
a31ea6 |
The content of this structure is not made public by the API.
|
|
Packit Service |
a31ea6 |
}Function: xmlAddAttributeDeclxmlAttributePtr xmlAddAttributeDecl (xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar * elem, const xmlChar * name, const xmlChar * ns, xmlAttributeType type, xmlAttributeDefault def, const xmlChar * defaultValue, xmlEnumerationPtr tree)
|
|
Packit Service |
a31ea6 |
Register a new attribute declaration Note that @tree becomes the ownership of the DTD
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>dtd</tt>: | pointer to the DTD | <tt>elem</tt>: | the element name | <tt>name</tt>: | the attribute name | <tt>ns</tt>: | the attribute namespace prefix | <tt>type</tt>: | the attribute type | <tt>def</tt>: | the attribute default type | <tt>defaultValue</tt>: | the attribute default value | <tt>tree</tt>: | if it's an enumeration, the associated list | <tt>Returns</tt>: | NULL if not new, otherwise the attribute decl |
Function: xmlAddElementDeclxmlElementPtr xmlAddElementDecl (xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar * name, xmlElementTypeVal type, xmlElementContentPtr content)
|
|
Packit Service |
a31ea6 |
Register a new element declaration
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>dtd</tt>: | pointer to the DTD | <tt>name</tt>: | the entity name | <tt>type</tt>: | the element type | <tt>content</tt>: | the element content tree or NULL | <tt>Returns</tt>: | NULL if not, otherwise the entity |
Function: xmlAddIDxmlIDPtr xmlAddID (xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar * value, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
Register a new id declaration
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | pointer to the document | <tt>value</tt>: | the value name | <tt>attr</tt>: | the attribute holding the ID | <tt>Returns</tt>: | NULL if not, otherwise the new xmlIDPtr |
Function: xmlAddNotationDeclxmlNotationPtr xmlAddNotationDecl (xmlValidCtxtPtr ctxt, xmlDtdPtr dtd, const xmlChar * name, const xmlChar * PublicID, const xmlChar * SystemID)
|
|
Packit Service |
a31ea6 |
Register a new notation declaration
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>dtd</tt>: | pointer to the DTD | <tt>name</tt>: | the entity name | <tt>PublicID</tt>: | the public identifier or NULL | <tt>SystemID</tt>: | the system identifier or NULL | <tt>Returns</tt>: | NULL if not, otherwise the entity |
Function: xmlAddRefxmlRefPtr xmlAddRef (xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar * value, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
Register a new ref declaration
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | pointer to the document | <tt>value</tt>: | the value name | <tt>attr</tt>: | the attribute holding the Ref | <tt>Returns</tt>: | NULL if not, otherwise the new xmlRefPtr |
Function: xmlCopyAttributeTablexmlAttributeTablePtr xmlCopyAttributeTable (xmlAttributeTablePtr table)
|
|
Packit Service |
a31ea6 |
Build a copy of an attribute table.
|
|
Packit Service |
a31ea6 |
Function: xmlCopyDocElementContentxmlElementContentPtr xmlCopyDocElementContent (xmlDocPtr doc, xmlElementContentPtr cur)
|
|
Packit Service |
a31ea6 |
Build a copy of an element content description.
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document owning the element declaration | <tt>cur</tt>: | An element content pointer. | <tt>Returns</tt>: | the new xmlElementContentPtr or NULL in case of error. |
Function: xmlCopyElementContentxmlElementContentPtr xmlCopyElementContent (xmlElementContentPtr cur)
|
|
Packit Service |
a31ea6 |
Build a copy of an element content description. Deprecated, use xmlCopyDocElementContent instead
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | An element content pointer. | <tt>Returns</tt>: | the new xmlElementContentPtr or NULL in case of error. |
Function: xmlCopyElementTablexmlElementTablePtr xmlCopyElementTable (xmlElementTablePtr table)
|
|
Packit Service |
a31ea6 |
Build a copy of an element table.
|
|
Packit Service |
a31ea6 |
<tt>table</tt>: | An element table | <tt>Returns</tt>: | the new xmlElementTablePtr or NULL in case of error. |
Function: xmlCopyEnumerationxmlEnumerationPtr xmlCopyEnumeration (xmlEnumerationPtr cur)
|
|
Packit Service |
a31ea6 |
Copy an enumeration attribute node (recursive).
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the tree to copy. | <tt>Returns</tt>: | the xmlEnumerationPtr just created or NULL in case of error. |
Function: xmlCopyNotationTablexmlNotationTablePtr xmlCopyNotationTable (xmlNotationTablePtr table)
|
|
Packit Service |
a31ea6 |
Build a copy of a notation table.
|
|
Packit Service |
a31ea6 |
<tt>table</tt>: | A notation table | <tt>Returns</tt>: | the new xmlNotationTablePtr or NULL in case of error. |
Function: xmlCreateEnumerationxmlEnumerationPtr xmlCreateEnumeration (const xmlChar * name)
|
|
Packit Service |
a31ea6 |
create and initialize an enumeration attribute node.
|
|
Packit Service |
a31ea6 |
<tt>name</tt>: | the enumeration name or NULL | <tt>Returns</tt>: | the xmlEnumerationPtr just created or NULL in case of error. |
Function: xmlDumpAttributeDeclvoid xmlDumpAttributeDecl (xmlBufferPtr buf, xmlAttributePtr attr)
|
|
Packit Service |
a31ea6 |
This will dump the content of the attribute declaration as an XML DTD definition
|
|
Packit Service |
a31ea6 |
<tt>buf</tt>: | the XML buffer output | <tt>attr</tt>: | An attribute declaration |
Function: xmlDumpAttributeTablevoid xmlDumpAttributeTable (xmlBufferPtr buf, xmlAttributeTablePtr table)
|
|
Packit Service |
a31ea6 |
This will dump the content of the attribute table as an XML DTD definition
|
|
Packit Service |
a31ea6 |
<tt>buf</tt>: | the XML buffer output | <tt>table</tt>: | An attribute table |
Function: xmlDumpElementDeclvoid xmlDumpElementDecl (xmlBufferPtr buf, xmlElementPtr elem)
|
|
Packit Service |
a31ea6 |
This will dump the content of the element declaration as an XML DTD definition
|
|
Packit Service |
a31ea6 |
<tt>buf</tt>: | the XML buffer output | <tt>elem</tt>: | An element table |
Function: xmlDumpElementTablevoid xmlDumpElementTable (xmlBufferPtr buf, xmlElementTablePtr table)
|
|
Packit Service |
a31ea6 |
This will dump the content of the element table as an XML DTD definition
|
|
Packit Service |
a31ea6 |
<tt>buf</tt>: | the XML buffer output | <tt>table</tt>: | An element table |
Function: xmlDumpNotationDeclvoid xmlDumpNotationDecl (xmlBufferPtr buf, xmlNotationPtr nota)
|
|
Packit Service |
a31ea6 |
This will dump the content the notation declaration as an XML DTD definition
|
|
Packit Service |
a31ea6 |
<tt>buf</tt>: | the XML buffer output | <tt>nota</tt>: | A notation declaration |
Function: xmlDumpNotationTablevoid xmlDumpNotationTable (xmlBufferPtr buf, xmlNotationTablePtr table)
|
|
Packit Service |
a31ea6 |
This will dump the content of the notation table as an XML DTD definition
|
|
Packit Service |
a31ea6 |
<tt>buf</tt>: | the XML buffer output | <tt>table</tt>: | A notation table |
Function: xmlFreeAttributeTablevoid xmlFreeAttributeTable (xmlAttributeTablePtr table)
|
|
Packit Service |
a31ea6 |
Deallocate the memory used by an entities hash table.
|
|
Packit Service |
a31ea6 |
Function: xmlFreeDocElementContentvoid xmlFreeDocElementContent (xmlDocPtr doc, xmlElementContentPtr cur)
|
|
Packit Service |
a31ea6 |
Free an element content structure. The whole subtree is removed.
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document owning the element declaration | <tt>cur</tt>: | the element content tree to free |
Function: xmlFreeElementContentvoid xmlFreeElementContent (xmlElementContentPtr cur)
|
|
Packit Service |
a31ea6 |
Free an element content structure. The whole subtree is removed. Deprecated, use xmlFreeDocElementContent instead
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the element content tree to free |
Function: xmlFreeElementTablevoid xmlFreeElementTable (xmlElementTablePtr table)
|
|
Packit Service |
a31ea6 |
Deallocate the memory used by an element hash table.
|
|
Packit Service |
a31ea6 |
<tt>table</tt>: | An element table |
Function: xmlFreeEnumerationvoid xmlFreeEnumeration (xmlEnumerationPtr cur)
|
|
Packit Service |
a31ea6 |
free an enumeration attribute node (recursive).
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the tree to free. |
Function: xmlFreeIDTablevoid xmlFreeIDTable (xmlIDTablePtr table)
|
|
Packit Service |
a31ea6 |
Deallocate the memory used by an ID hash table.
|
|
Packit Service |
a31ea6 |
<tt>table</tt>: | An id table |
Function: xmlFreeNotationTablevoid xmlFreeNotationTable (xmlNotationTablePtr table)
|
|
Packit Service |
a31ea6 |
Deallocate the memory used by an entities hash table.
|
|
Packit Service |
a31ea6 |
<tt>table</tt>: | An notation table |
Function: xmlFreeRefTablevoid xmlFreeRefTable (xmlRefTablePtr table)
|
|
Packit Service |
a31ea6 |
Deallocate the memory used by an Ref hash table.
|
|
Packit Service |
a31ea6 |
<tt>table</tt>: | An ref table |
Function: xmlFreeValidCtxtvoid xmlFreeValidCtxt (xmlValidCtxtPtr cur)
|
|
Packit Service |
a31ea6 |
Free a validation context structure.
|
|
Packit Service |
a31ea6 |
<tt>cur</tt>: | the validation context to free |
Function: xmlGetDtdAttrDescxmlAttributePtr xmlGetDtdAttrDesc (xmlDtdPtr dtd, const xmlChar * elem, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
Search the DTD for the description of this attribute on this element.
|
|
Packit Service |
a31ea6 |
<tt>dtd</tt>: | a pointer to the DtD to search | <tt>elem</tt>: | the element name | <tt>name</tt>: | the attribute name | <tt>Returns</tt>: | the xmlAttributePtr if found or NULL |
Function: xmlGetDtdElementDescxmlElementPtr xmlGetDtdElementDesc (xmlDtdPtr dtd, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
Search the DTD for the description of this element
|
|
Packit Service |
a31ea6 |
<tt>dtd</tt>: | a pointer to the DtD to search | <tt>name</tt>: | the element name | <tt>Returns</tt>: | the xmlElementPtr if found or NULL |
Function: xmlGetDtdNotationDescxmlNotationPtr xmlGetDtdNotationDesc (xmlDtdPtr dtd, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
Search the DTD for the description of this notation
|
|
Packit Service |
a31ea6 |
<tt>dtd</tt>: | a pointer to the DtD to search | <tt>name</tt>: | the notation name | <tt>Returns</tt>: | the xmlNotationPtr if found or NULL |
Function: xmlGetDtdQAttrDescxmlAttributePtr xmlGetDtdQAttrDesc (xmlDtdPtr dtd, const xmlChar * elem, const xmlChar * name, const xmlChar * prefix)
|
|
Packit Service |
a31ea6 |
Search the DTD for the description of this qualified attribute on this element.
|
|
Packit Service |
a31ea6 |
<tt>dtd</tt>: | a pointer to the DtD to search | <tt>elem</tt>: | the element name | <tt>name</tt>: | the attribute name | <tt>prefix</tt>: | the attribute namespace prefix | <tt>Returns</tt>: | the xmlAttributePtr if found or NULL |
Function: xmlGetDtdQElementDescxmlElementPtr xmlGetDtdQElementDesc (xmlDtdPtr dtd, const xmlChar * name, const xmlChar * prefix)
|
|
Packit Service |
a31ea6 |
Search the DTD for the description of this element
|
|
Packit Service |
a31ea6 |
<tt>dtd</tt>: | a pointer to the DtD to search | <tt>name</tt>: | the element name | <tt>prefix</tt>: | the element namespace prefix | <tt>Returns</tt>: | the xmlElementPtr if found or NULL |
Function: xmlGetIDxmlAttrPtr xmlGetID (xmlDocPtr doc, const xmlChar * ID)
|
|
Packit Service |
a31ea6 |
Search the attribute declaring the given ID
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | pointer to the document | <tt>ID</tt>: | the ID value | <tt>Returns</tt>: | NULL if not found, otherwise the xmlAttrPtr defining the ID |
Function: xmlGetRefsxmlListPtr xmlGetRefs (xmlDocPtr doc, const xmlChar * ID)
|
|
Packit Service |
a31ea6 |
Find the set of references for the supplied ID.
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | pointer to the document | <tt>ID</tt>: | the ID value | <tt>Returns</tt>: | NULL if not found, otherwise node set for the ID. |
Function: xmlIsIDint xmlIsID (xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
Determine whether an attribute is of type ID. In case we have DTD(s) then this is done if DTD loading has been requested. In the case of HTML documents parsed with the HTML parser, then ID detection is done systematically.
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document | <tt>elem</tt>: | the element carrying the attribute | <tt>attr</tt>: | the attribute | <tt>Returns</tt>: | 0 or 1 depending on the lookup result |
Function: xmlIsMixedElementint xmlIsMixedElement (xmlDocPtr doc, const xmlChar * name)
|
|
Packit Service |
a31ea6 |
Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document | <tt>name</tt>: | the element name | <tt>Returns</tt>: | 0 if no, 1 if yes, and -1 if no element description is available |
Function: xmlIsRefint xmlIsRef (xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
Determine whether an attribute is of type Ref. In case we have DTD(s) then this is simple, otherwise we use an heuristic: name Ref (upper or lowercase).
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document | <tt>elem</tt>: | the element carrying the attribute | <tt>attr</tt>: | the attribute | <tt>Returns</tt>: | 0 or 1 depending on the lookup result |
Function: xmlNewDocElementContentxmlElementContentPtr xmlNewDocElementContent (xmlDocPtr doc, const xmlChar * name, xmlElementContentType type)
|
|
Packit Service |
a31ea6 |
Allocate an element content structure for the document.
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document | <tt>name</tt>: | the subelement name or NULL | <tt>type</tt>: | the type of element content decl | <tt>Returns</tt>: | NULL if not, otherwise the new element content structure |
Function: xmlNewElementContentxmlElementContentPtr xmlNewElementContent (const xmlChar * name, xmlElementContentType type)
|
|
Packit Service |
a31ea6 |
Allocate an element content structure. Deprecated in favor of xmlNewDocElementContent
|
|
Packit Service |
a31ea6 |
<tt>name</tt>: | the subelement name or NULL | <tt>type</tt>: | the type of element content decl | <tt>Returns</tt>: | NULL if not, otherwise the new element content structure |
Function: xmlNewValidCtxtxmlValidCtxtPtr xmlNewValidCtxt (void)
|
|
Packit Service |
a31ea6 |
Allocate a validation context structure.
|
|
Packit Service |
a31ea6 |
<tt>Returns</tt>: | NULL if not, otherwise the new validation context structure |
Function: xmlRemoveIDint xmlRemoveID (xmlDocPtr doc, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
Remove the given attribute from the ID table maintained internally.
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document | <tt>attr</tt>: | the attribute | <tt>Returns</tt>: | -1 if the lookup failed and 0 otherwise |
Function: xmlRemoveRefint xmlRemoveRef (xmlDocPtr doc, xmlAttrPtr attr)
|
|
Packit Service |
a31ea6 |
Remove the given attribute from the Ref table maintained internally.
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document | <tt>attr</tt>: | the attribute | <tt>Returns</tt>: | -1 if the lookup failed and 0 otherwise |
Function: xmlSnprintfElementContentvoid xmlSnprintfElementContent (char * buf, int size, xmlElementContentPtr content, int englob)
|
|
Packit Service |
a31ea6 |
This will dump the content of the element content definition Intended just for the debug routine
|
|
Packit Service |
a31ea6 |
<tt>buf</tt>: | an output buffer | <tt>size</tt>: | the buffer size | <tt>content</tt>: | An element table | <tt>englob</tt>: | 1 if one must print the englobing parenthesis, 0 otherwise |
Function: xmlSprintfElementContentvoid xmlSprintfElementContent (char * buf, xmlElementContentPtr content, int englob)
|
|
Packit Service |
a31ea6 |
Deprecated, unsafe, use xmlSnprintfElementContent
|
|
Packit Service |
a31ea6 |
<tt>buf</tt>: | an output buffer | <tt>content</tt>: | An element table | <tt>englob</tt>: | 1 if one must print the englobing parenthesis, 0 otherwise |
Function: xmlValidBuildContentModelint xmlValidBuildContentModel (xmlValidCtxtPtr ctxt, xmlElementPtr elem)
|
|
Packit Service |
a31ea6 |
(Re)Build the automata associated to the content model of this element
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | a validation context | <tt>elem</tt>: | an element declaration node | <tt>Returns</tt>: | 1 in case of success, 0 in case of error |
Function: xmlValidCtxtNormalizeAttributeValuexmlChar * xmlValidCtxtNormalizeAttributeValue (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * name, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by single space (#x20) character. Also check VC: Standalone Document Declaration in P32, and update ctxt->valid accordingly
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context or NULL | <tt>doc</tt>: | the document | <tt>elem</tt>: | the parent | <tt>name</tt>: | the attribute name | <tt>value</tt>: | the attribute value | <tt>Returns</tt>: | a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value. |
Function: xmlValidGetPotentialChildrenint xmlValidGetPotentialChildren (xmlElementContent * ctree, const xmlChar ** names, int * len, int max)
|
|
Packit Service |
a31ea6 |
Build/extend a list of potential children allowed by the content tree
|
|
Packit Service |
a31ea6 |
<tt>ctree</tt>: | an element content tree | <tt>names</tt>: | an array to store the list of child names | <tt>len</tt>: | a pointer to the number of element in the list | <tt>max</tt>: | the size of the array | <tt>Returns</tt>: | the number of element in the list, or -1 in case of error. |
Function: xmlValidGetValidElementsint xmlValidGetValidElements (xmlNode * prev, xmlNode * next, const xmlChar ** names, int max)
|
|
Packit Service |
a31ea6 |
This function returns the list of authorized children to insert within an existing tree while respecting the validity constraints forced by the Dtd. The insertion point is defined using @prev and @next in the following ways: to insert before 'node': xmlValidGetValidElements(node->prev, node, ... to insert next 'node': xmlValidGetValidElements(node, node->next, ... to replace 'node': xmlValidGetValidElements(node->prev, node->next, ... to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs, to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ... pointers to the element names are inserted at the beginning of the array and do not need to be freed.
|
|
Packit Service |
a31ea6 |
<tt>prev</tt>: | an element to insert after | <tt>next</tt>: | an element to insert next | <tt>names</tt>: | an array to store the list of child names | <tt>max</tt>: | the size of the array | <tt>Returns</tt>: | the number of element in the list, or -1 in case of error. If the function returns the value @max the caller is invited to grow the receiving array and retry. |
Function: xmlValidNormalizeAttributeValuexmlChar * xmlValidNormalizeAttributeValue (xmlDocPtr doc, xmlNodePtr elem, const xmlChar * name, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Does the validation related extra step of the normalization of attribute values: If the declared value is not CDATA, then the XML processor must further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by single space (#x20) character.
|
|
Packit Service |
a31ea6 |
<tt>doc</tt>: | the document | <tt>elem</tt>: | the parent | <tt>name</tt>: | the attribute name | <tt>value</tt>: | the attribute value | <tt>Returns</tt>: | a new normalized string if normalization is needed, NULL otherwise the caller must free the returned value. |
Function: xmlValidateAttributeDeclint xmlValidateAttributeDecl (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlAttributePtr attr)
|
|
Packit Service |
a31ea6 |
Try to validate a single attribute definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Default Legal ] - [ VC: Enumeration ] - [ VC: ID Attribute Default ] The ID/IDREF uniqueness and matching are done separately
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>attr</tt>: | an attribute definition | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateAttributeValueint xmlValidateAttributeValue (xmlAttributeType type, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Validate that the given attribute value match the proper production [ VC: ID ] Values of type ID must match the Name production.... [ VC: IDREF ] Values of type IDREF must match the Name production, and values of type IDREFS must match Names ... [ VC: Entity Name ] Values of type ENTITY must match the Name production, values of type ENTITIES must match Names ... [ VC: Name Token ] Values of type NMTOKEN must match the Nmtoken production; values of type NMTOKENS must match Nmtokens.
|
|
Packit Service |
a31ea6 |
<tt>type</tt>: | an attribute type | <tt>value</tt>: | an attribute value | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateDocumentint xmlValidateDocument (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
|
|
Packit Service |
a31ea6 |
Try to validate the document instance basically it does the all the checks described by the XML Rec i.e. validates the internal and external subset (if present) and validate the document tree.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateDocumentFinalint xmlValidateDocumentFinal (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
|
|
Packit Service |
a31ea6 |
Does the final step for the document validation once all the incremental validation steps have been completed basically it does the following checks described by the XML Rec Check all the IDREF/IDREFS attributes definition for validity
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateDtdint xmlValidateDtd (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlDtdPtr dtd)
|
|
Packit Service |
a31ea6 |
Try to validate the document against the dtd instance Basically it does check all the definitions in the DtD. Note the the internal subset (if present) is de-coupled (i.e. not used), which could give problems if ID or IDREF is present.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>dtd</tt>: | a dtd instance | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateDtdFinalint xmlValidateDtdFinal (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
|
|
Packit Service |
a31ea6 |
Does the final step for the dtds validation once all the subsets have been parsed basically it does the following checks described by the XML Rec - check that ENTITY and ENTITIES type attributes default or possible values matches one of the defined entities. - check that NOTATION type attributes default or possible values matches one of the defined notations.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>Returns</tt>: | 1 if valid or 0 if invalid and -1 if not well-formed |
Function: xmlValidateElementint xmlValidateElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem)
|
|
Packit Service |
a31ea6 |
Try to validate the subtree under an element
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>elem</tt>: | an element instance | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateElementDeclint xmlValidateElementDecl (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlElementPtr elem)
|
|
Packit Service |
a31ea6 |
Try to validate a single element definition basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: One ID per Element Type ] - [ VC: No Duplicate Types ] - [ VC: Unique Element Type Declaration ]
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>elem</tt>: | an element definition | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateNameValueint xmlValidateNameValue (const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Validate that the given value match Name production
|
|
Packit Service |
a31ea6 |
<tt>value</tt>: | an Name value | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateNamesValueint xmlValidateNamesValue (const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Validate that the given value match Names production
|
|
Packit Service |
a31ea6 |
<tt>value</tt>: | an Names value | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateNmtokenValueint xmlValidateNmtokenValue (const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Validate that the given value match Nmtoken production [ VC: Name Token ]
|
|
Packit Service |
a31ea6 |
<tt>value</tt>: | an Nmtoken value | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateNmtokensValueint xmlValidateNmtokensValue (const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Validate that the given value match Nmtokens production [ VC: Name Token ]
|
|
Packit Service |
a31ea6 |
<tt>value</tt>: | an Nmtokens value | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateNotationDeclint xmlValidateNotationDecl (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNotationPtr nota)
|
|
Packit Service |
a31ea6 |
Try to validate a single notation definition basically it does the following checks as described by the XML-1.0 recommendation: - it seems that no validity constraint exists on notation declarations But this function get called anyway ...
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>nota</tt>: | a notation definition | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateNotationUseint xmlValidateNotationUse (xmlValidCtxtPtr ctxt, xmlDocPtr doc, const xmlChar * notationName)
|
|
Packit Service |
a31ea6 |
Validate that the given name match a notation declaration. - [ VC: Notation Declared ]
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | the document | <tt>notationName</tt>: | the notation name to check | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateOneAttributeint xmlValidateOneAttribute (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, xmlAttrPtr attr, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Try to validate a single attribute for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>elem</tt>: | an element instance | <tt>attr</tt>: | an attribute instance | <tt>value</tt>: | the attribute value (without entities processing) | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateOneElementint xmlValidateOneElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem)
|
|
Packit Service |
a31ea6 |
Try to validate a single element and it's attributes, basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC: Required Attribute ] Then call xmlValidateOneAttribute() for each attribute present. The ID/IDREF checkings are done separately
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>elem</tt>: | an element instance | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidateOneNamespaceint xmlValidateOneNamespace (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * prefix, xmlNsPtr ns, const xmlChar * value)
|
|
Packit Service |
a31ea6 |
Try to validate a single namespace declaration for an element basically it does the following checks as described by the XML-1.0 recommendation: - [ VC: Attribute Value Type ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity Name ] - [ VC: Notation Attributes ] The ID/IDREF uniqueness and matching are done separately
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>elem</tt>: | an element instance | <tt>prefix</tt>: | the namespace prefix | <tt>ns</tt>: | an namespace declaration instance | <tt>value</tt>: | the attribute value (without entities processing) | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function: xmlValidatePopElementint xmlValidatePopElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * qname)
|
|
Packit Service |
a31ea6 |
Pop the element end from the validation stack.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>elem</tt>: | an element instance | <tt>qname</tt>: | the qualified name as appearing in the serialization | <tt>Returns</tt>: | 1 if no validation problem was found or 0 otherwise |
Function: xmlValidatePushCDataint xmlValidatePushCData (xmlValidCtxtPtr ctxt, const xmlChar * data, int len)
|
|
Packit Service |
a31ea6 |
check the CData parsed for validation in the current stack
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>data</tt>: | some character data read | <tt>len</tt>: | the length of the data | <tt>Returns</tt>: | 1 if no validation problem was found or 0 otherwise |
Function: xmlValidatePushElementint xmlValidatePushElement (xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem, const xmlChar * qname)
|
|
Packit Service |
a31ea6 |
Push a new element start on the validation stack.
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>elem</tt>: | an element instance | <tt>qname</tt>: | the qualified name as appearing in the serialization | <tt>Returns</tt>: | 1 if no validation problem was found or 0 otherwise |
Function: xmlValidateRootint xmlValidateRoot (xmlValidCtxtPtr ctxt, xmlDocPtr doc)
|
|
Packit Service |
a31ea6 |
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
|
|
Packit Service |
a31ea6 |
<tt>ctxt</tt>: | the validation context | <tt>doc</tt>: | a document instance | <tt>Returns</tt>: | 1 if valid or 0 otherwise |
Function type: xmlValidityErrorFuncFunction type: xmlValidityErrorFunc
|
|
Packit Service |
a31ea6 |
void xmlValidityErrorFunc (void * ctx, const char * msg, ... ...)
|
|
Packit Service |
a31ea6 |
Callback called when a validity error is found. This is a message oriented function similar to an *printf function. <tt>ctx</tt>: | usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user. | <tt>msg</tt>: | the string to format *printf like vararg | <tt>...</tt>: | remaining arguments to the format |
|
|
Packit Service |
a31ea6 |
Function type: xmlValidityWarningFuncFunction type: xmlValidityWarningFunc
|
|
Packit Service |
a31ea6 |
void xmlValidityWarningFunc (void * ctx, const char * msg, ... ...)
|
|
Packit Service |
a31ea6 |
Callback called when a validity warning is found. This is a message oriented function similar to an *printf function. <tt>ctx</tt>: | usually an xmlValidCtxtPtr to a validity error context, but comes from ctxt->userData (which normally contains such a pointer); ctxt->userData can be changed by the user. | <tt>msg</tt>: | the string to format *printf like vararg | <tt>...</tt>: | remaining arguments to the format |
|
|
Packit Service |
a31ea6 |
Daniel Veillard </body></html>
|