Software: Apache. PHP/7.3.33 uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) Safe-mode: OFF (not secure) /opt/alt/libxml2/usr/share/gtk-doc/html/libxml2/ drwxr-xr-x |
Viewing file: Select action/file-type:
validvalid - The DTD validation API for the DTD handling and the validity checking Author(s): Daniel Veillard Synopsis#define XML_VCTXT_DTD_VALIDATED; #define XML_VCTXT_USE_PCTXT; typedef struct _xmlHashTable xmlAttributeTable; typedef xmlAttributeTable * xmlAttributeTablePtr; typedef struct _xmlHashTable xmlElementTable; typedef xmlElementTable * xmlElementTablePtr; typedef struct _xmlHashTable xmlIDTable; typedef xmlIDTable * xmlIDTablePtr; typedef struct _xmlHashTable xmlNotationTable; typedef xmlNotationTable * xmlNotationTablePtr; typedef struct _xmlHashTable xmlRefTable; typedef xmlRefTable * xmlRefTablePtr; typedef struct _xmlValidCtxt xmlValidCtxt; typedef xmlValidCtxt * xmlValidCtxtPtr; typedef struct _xmlValidState xmlValidState; typedef xmlValidState * xmlValidStatePtr; xmlAttributePtr xmlAddAttributeDecl (xmlValidCtxtPtr ctxt, DescriptionDetailsMacro XML_VCTXT_DTD_VALIDATED#define XML_VCTXT_DTD_VALIDATED; Set after xmlValidateDtdFinal was called. Macro XML_VCTXT_USE_PCTXT#define XML_VCTXT_USE_PCTXT; Set if the validation context is part of a parser context. Structure xmlAttributeTablestruct _xmlHashTable { The content of this structure is not made public by the API. } xmlAttributeTable; Typedef xmlAttributeTablePtrxmlAttributeTable * xmlAttributeTablePtr; Structure xmlElementTablestruct _xmlHashTable { The content of this structure is not made public by the API. } xmlElementTable; Typedef xmlElementTablePtrxmlElementTable * xmlElementTablePtr; Structure xmlIDTablestruct _xmlHashTable { The content of this structure is not made public by the API. } xmlIDTable; Typedef xmlIDTablePtrxmlIDTable * xmlIDTablePtr; Structure xmlNotationTablestruct _xmlHashTable { The content of this structure is not made public by the API. } xmlNotationTable; Typedef xmlNotationTablePtrxmlNotationTable * xmlNotationTablePtr; Structure xmlRefTablestruct _xmlHashTable { The content of this structure is not made public by the API. } xmlRefTable; Typedef xmlRefTablePtrxmlRefTable * xmlRefTablePtr; Structure xmlValidCtxtstruct _xmlValidCtxt { void * userData : user specific data block xmlValidityErrorFunc error : the callback in case of errors xmlValidityWarningFunc warning : the callback in case of warning Node analysis stack used when validat xmlNodePtr node : Current parsed Node int nodeNr : Depth of the parsing stack int nodeMax : Max depth of the parsing stack xmlNodePtr * nodeTab : array of nodes unsigned int flags : internal flags xmlDocPtr doc : the document int valid : temporary validity check result state state used for non-determinist xmlValidState * vstate : current state int vstateNr : Depth of the validation stack int vstateMax : Max depth of the validation stack xmlValidState * vstateTab : array of validation states xmlAutomataPtr am : the automata xmlAutomataStatePtr state : used to build the automata void * am void * state } xmlValidCtxt; Typedef xmlValidCtxtPtrxmlValidCtxt * xmlValidCtxtPtr; Structure xmlValidStatestruct _xmlValidState { The content of this structure is not made public by the API. } xmlValidState; Typedef xmlValidStatePtrxmlValidState * xmlValidStatePtr; Function type xmlValidityErrorFuncvoid xmlValidityErrorFunc (void * ctx, Callback called when a validity error is found. This is a message oriented function similar to an *printf function.
Function type xmlValidityWarningFuncvoid xmlValidityWarningFunc (void * ctx, Callback called when a validity warning is found. This is a message oriented function similar to an *printf function.
xmlAddAttributeDecl ()xmlAttributePtr xmlAddAttributeDecl (xmlValidCtxtPtr ctxt, Register a new attribute declaration Note that @tree becomes the ownership of the DTD
xmlAddElementDecl ()xmlElementPtr xmlAddElementDecl (xmlValidCtxtPtr ctxt, Register a new element declaration
xmlAddID ()xmlIDPtr xmlAddID (xmlValidCtxtPtr ctxt, Register a new id declaration xmlAddNotationDecl ()xmlNotationPtr xmlAddNotationDecl (xmlValidCtxtPtr ctxt, Register a new notation declaration
xmlAddRef ()xmlRefPtr xmlAddRef (xmlValidCtxtPtr ctxt, DEPRECATED, do not use. This function will be removed from the public API. Register a new ref declaration xmlCopyAttributeTable ()xmlAttributeTablePtr xmlCopyAttributeTable (xmlAttributeTablePtr table) Build a copy of an attribute table.
xmlCopyDocElementContent ()xmlElementContentPtr xmlCopyDocElementContent (xmlDocPtr doc, Build a copy of an element content description.
xmlCopyElementContent ()xmlElementContentPtr xmlCopyElementContent (xmlElementContentPtr cur) Build a copy of an element content description. Deprecated, use xmlCopyDocElementContent instead
xmlCopyElementTable ()xmlElementTablePtr xmlCopyElementTable (xmlElementTablePtr table) Build a copy of an element table.
xmlCopyEnumeration ()xmlEnumerationPtr xmlCopyEnumeration (xmlEnumerationPtr cur) Copy an enumeration attribute node (recursive).
xmlCopyNotationTable ()xmlNotationTablePtr xmlCopyNotationTable (xmlNotationTablePtr table) Build a copy of a notation table.
xmlCreateEnumeration ()xmlEnumerationPtr xmlCreateEnumeration (const xmlChar * name) create and initialize an enumeration attribute node.
xmlDumpAttributeDecl ()void xmlDumpAttributeDecl (xmlBufferPtr buf, This will dump the content of the attribute declaration as an XML DTD definition
xmlDumpAttributeTable ()void xmlDumpAttributeTable (xmlBufferPtr buf, This will dump the content of the attribute table as an XML DTD definition
xmlDumpElementDecl ()void xmlDumpElementDecl (xmlBufferPtr buf, This will dump the content of the element declaration as an XML DTD definition
xmlDumpElementTable ()void xmlDumpElementTable (xmlBufferPtr buf, This will dump the content of the element table as an XML DTD definition
xmlDumpNotationDecl ()void xmlDumpNotationDecl (xmlBufferPtr buf, This will dump the content the notation declaration as an XML DTD definition
xmlDumpNotationTable ()void xmlDumpNotationTable (xmlBufferPtr buf, This will dump the content of the notation table as an XML DTD definition
xmlFreeAttributeTable ()void xmlFreeAttributeTable (xmlAttributeTablePtr table) Deallocate the memory used by an entities hash table.
xmlFreeDocElementContent ()void xmlFreeDocElementContent (xmlDocPtr doc, Free an element content structure. The whole subtree is removed.
xmlFreeElementContent ()void xmlFreeElementContent (xmlElementContentPtr cur) Free an element content structure. The whole subtree is removed. Deprecated, use xmlFreeDocElementContent instead
xmlFreeElementTable ()void xmlFreeElementTable (xmlElementTablePtr table) Deallocate the memory used by an element hash table.
xmlFreeEnumeration ()void xmlFreeEnumeration (xmlEnumerationPtr cur) free an enumeration attribute node (recursive).
xmlFreeIDTable ()void xmlFreeIDTable (xmlIDTablePtr table) Deallocate the memory used by an ID hash table.
xmlFreeNotationTable ()void xmlFreeNotationTable (xmlNotationTablePtr table) Deallocate the memory used by an entities hash table.
xmlFreeRefTable ()void xmlFreeRefTable (xmlRefTablePtr table) DEPRECATED, do not use. This function will be removed from the public API. Deallocate the memory used by an Ref hash table.
xmlFreeValidCtxt ()void xmlFreeValidCtxt (xmlValidCtxtPtr cur) Free a validation context structure.
xmlGetDtdAttrDesc ()xmlAttributePtr xmlGetDtdAttrDesc (xmlDtdPtr dtd, Search the DTD for the description of this attribute on this element.
xmlGetDtdElementDesc ()xmlElementPtr xmlGetDtdElementDesc (xmlDtdPtr dtd, Search the DTD for the description of this element
xmlGetDtdNotationDesc ()xmlNotationPtr xmlGetDtdNotationDesc (xmlDtdPtr dtd, Search the DTD for the description of this notation
xmlGetDtdQAttrDesc ()xmlAttributePtr xmlGetDtdQAttrDesc (xmlDtdPtr dtd, Search the DTD for the description of this qualified attribute on this element.
xmlGetDtdQElementDesc ()xmlElementPtr xmlGetDtdQElementDesc (xmlDtdPtr dtd, Search the DTD for the description of this element
xmlGetID ()xmlAttrPtr xmlGetID (xmlDocPtr doc, Search the attribute declaring the given ID
xmlGetRefs ()xmlListPtr xmlGetRefs (xmlDocPtr doc, DEPRECATED, do not use. This function will be removed from the public API. Find the set of references for the supplied ID.
xmlIsID ()int xmlIsID (xmlDocPtr doc, 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. xmlIsMixedElement ()int xmlIsMixedElement (xmlDocPtr doc, Search in the DtDs whether an element accept Mixed content (or ANY) basically if it is supposed to accept text childs
xmlIsRef ()int xmlIsRef (xmlDocPtr doc, DEPRECATED, do not use. This function will be removed from the public API. 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). xmlNewDocElementContent ()xmlElementContentPtr xmlNewDocElementContent (xmlDocPtr doc, Allocate an element content structure for the document.
xmlNewElementContent ()xmlElementContentPtr xmlNewElementContent (const xmlChar * name, Allocate an element content structure. Deprecated in favor of xmlNewDocElementContent
xmlNewValidCtxt ()xmlValidCtxtPtr xmlNewValidCtxt (void) Allocate a validation context structure.
xmlRemoveID ()int xmlRemoveID (xmlDocPtr doc, Remove the given attribute from the ID table maintained internally.
xmlRemoveRef ()int xmlRemoveRef (xmlDocPtr doc, DEPRECATED, do not use. This function will be removed from the public API. Remove the given attribute from the Ref table maintained internally.
xmlSnprintfElementContent ()void xmlSnprintfElementContent (char * buf, This will dump the content of the element content definition Intended just for the debug routine
xmlSprintfElementContent ()void xmlSprintfElementContent (char * buf, Deprecated, unsafe, use xmlSnprintfElementContent
xmlValidBuildContentModel ()int xmlValidBuildContentModel (xmlValidCtxtPtr ctxt, (Re)Build the automata associated to the content model of this element
xmlValidCtxtNormalizeAttributeValue ()xmlChar * xmlValidCtxtNormalizeAttributeValue (xmlValidCtxtPtr ctxt, 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 xmlValidGetPotentialChildren ()int xmlValidGetPotentialChildren (xmlElementContent * ctree, Build/extend a list of potential children allowed by the content tree
xmlValidGetValidElements ()int xmlValidGetValidElements (xmlNode * prev, 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.
xmlValidNormalizeAttributeValue ()xmlChar * xmlValidNormalizeAttributeValue (xmlDocPtr doc, 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. xmlValidateAttributeDecl ()int xmlValidateAttributeDecl (xmlValidCtxtPtr ctxt, 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
xmlValidateAttributeValue ()int xmlValidateAttributeValue (xmlAttributeType type, 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. xmlValidateDocument ()int xmlValidateDocument (xmlValidCtxtPtr ctxt, 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.
xmlValidateDocumentFinal ()int xmlValidateDocumentFinal (xmlValidCtxtPtr ctxt, 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
xmlValidateDtd ()int xmlValidateDtd (xmlValidCtxtPtr ctxt, 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.
xmlValidateDtdFinal ()int xmlValidateDtdFinal (xmlValidCtxtPtr ctxt, 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.
xmlValidateElement ()int xmlValidateElement (xmlValidCtxtPtr ctxt, Try to validate the subtree under an element
xmlValidateElementDecl ()int xmlValidateElementDecl (xmlValidCtxtPtr ctxt, 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 ]
xmlValidateNameValue ()int xmlValidateNameValue (const xmlChar * value) Validate that the given value match Name production
xmlValidateNamesValue ()int xmlValidateNamesValue (const xmlChar * value) Validate that the given value match Names production
xmlValidateNmtokenValue ()int xmlValidateNmtokenValue (const xmlChar * value) Validate that the given value match Nmtoken production [ VC: Name Token ]
xmlValidateNmtokensValue ()int xmlValidateNmtokensValue (const xmlChar * value) Validate that the given value match Nmtokens production [ VC: Name Token ]
xmlValidateNotationDecl ()int xmlValidateNotationDecl (xmlValidCtxtPtr ctxt, 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 ...
xmlValidateNotationUse ()int xmlValidateNotationUse (xmlValidCtxtPtr ctxt, Validate that the given name match a notation declaration. - [ VC: Notation Declared ]
xmlValidateOneAttribute ()int xmlValidateOneAttribute (xmlValidCtxtPtr ctxt, 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 xmlValidateOneElement ()int xmlValidateOneElement (xmlValidCtxtPtr ctxt, 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
xmlValidateOneNamespace ()int xmlValidateOneNamespace (xmlValidCtxtPtr ctxt, 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
xmlValidatePopElement ()int xmlValidatePopElement (xmlValidCtxtPtr ctxt, Pop the element end from the validation stack.
xmlValidatePushCData ()int xmlValidatePushCData (xmlValidCtxtPtr ctxt, check the CData parsed for validation in the current stack
xmlValidatePushElement ()int xmlValidatePushElement (xmlValidCtxtPtr ctxt, Push a new element start on the validation stack.
xmlValidateRoot ()int xmlValidateRoot (xmlValidCtxtPtr ctxt, 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
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0049 ]-- |