mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
Improvement of doc, Raph patch for CORBA init, support for spaces in XPath, Daniel
This commit is contained in:
4
valid.c
4
valid.c
@ -297,6 +297,7 @@ xmlCreateElementTable(void) {
|
||||
|
||||
/**
|
||||
* xmlAddElementDecl:
|
||||
* @ctxt: the validation context
|
||||
* @dtd: pointer to the DTD
|
||||
* @name: the entity name
|
||||
* @type: the element type
|
||||
@ -2343,6 +2344,7 @@ xmlValidateElementDecl(xmlValidCtxtPtr ctxt, xmlDocPtr doc,
|
||||
* @doc: a document instance
|
||||
* @elem: an element instance
|
||||
* @attr: an attribute instance
|
||||
* @value: the attribute value (without entities processing)
|
||||
*
|
||||
* Try to validate a single attribute for an element
|
||||
* basically it * does the following checks as described by the
|
||||
@ -2852,8 +2854,6 @@ xmlValidateElement(xmlValidCtxtPtr ctxt, xmlDocPtr doc, xmlNodePtr elem) {
|
||||
xmlChar *value;
|
||||
int ret = 1;
|
||||
|
||||
/* TODO xmlValidateElement */
|
||||
|
||||
if (elem == NULL) return(0);
|
||||
CHECK_DTD;
|
||||
|
||||
|
Reference in New Issue
Block a user