Home | History | Annotate | Download | only in libxml2

Lines Matching defs:NODE

132  * @node:  the node raising the error
142 xmlNodePtr node, xmlParserErrors error,
163 __xmlRaiseError(schannel, channel, data, pctxt, node, XML_FROM_VALID, error,
175 * @node: the node raising the error
185 xmlNodePtr node, xmlParserErrors error,
206 __xmlRaiseError(schannel, channel, data, pctxt, node, XML_FROM_VALID, error,
216 * @node: the node raising the error
226 xmlNodePtr node, xmlParserErrors error,
247 __xmlRaiseError(schannel, channel, data, pctxt, node, XML_FROM_VALID, error,
268 xmlNodePtr node; /* pointer to the current node */
274 vstateVPush(xmlValidCtxtPtr ctxt, xmlElementPtr elemDecl, xmlNodePtr node) {
299 ctxt->vstateTab[ctxt->vstateNr].node = node;
311 node->name, NULL, NULL);
325 ctxt->vstateTab[ctxt->vstateNr].node = NULL;
353 xmlNodePtr node; /* pointer to the current node in the list */
362 #define NODE ctxt->vstate->node
375 xmlNodePtr node, unsigned char depth, long occurs,
408 (ctxt->vstateTab[i].node == node) &&
414 ctxt->vstateTab[ctxt->vstateNr].node = node;
427 ctxt->vstate->node = ctxt->vstateTab[ctxt->vstateNr].node;
462 ctxt->node = value;
474 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1];
476 ctxt->node = NULL;
601 xmlValidPrintNode(state->node);
807 * @elem: an element declaration node
1750 * create and initialize an enumeration attribute node.
1775 * free an enumeration attribute node (recursive).
1792 * Copy an enumeration attribute node (recursive).
2843 * since the attribute node doesn't exist anymore
3001 * Add the owning node to the NodeList
3156 * Returns NULL if not found, otherwise node set for the ID.
4803 /* keep current node */
4827 NODE = xmlValidateSkipIgnorable(NODE);
4828 if ((NODE == NULL) && (CONT == NULL))
4830 if ((NODE == NULL) &&
4836 if ((NODE != NULL) && (NODE->type == XML_ENTITY_REF_NODE))
4850 DEBUG_VALID_STATE(NODE, CONT)
4855 DEBUG_VALID_STATE(NODE, CONT)
4867 if (vstateVPush(ctxt, CONT, NODE, DEPTH, OCCURS, ROLLBACK_PARENT) < 0)
4877 if (NODE == NULL) {
4878 DEBUG_VALID_MSG("pcdata failed no node");
4882 if (NODE->type == XML_TEXT_NODE) {
4889 NODE = NODE->next;
4890 NODE = xmlValidateSkipIgnorable(NODE);
4891 if ((NODE != NULL) &&
4892 (NODE->type == XML_ENTITY_REF_NODE))
4894 } while ((NODE != NULL) &&
4895 ((NODE->type != XML_ELEMENT_NODE) &&
4896 (NODE->type != XML_TEXT_NODE) &&
4897 (NODE->type != XML_CDATA_SECTION_NODE)));
4907 if (NODE == NULL) {
4908 DEBUG_VALID_MSG("element failed no node");
4912 ret = ((NODE->type == XML_ELEMENT_NODE) &&
4913 (xmlStrEqual(NODE->name, CONT->name)));
4915 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4920 ret = xmlStrEqual(NODE->ns->prefix, CONT->prefix);
4930 NODE = NODE->next;
4931 NODE = xmlValidateSkipIgnorable(NODE);
4932 if ((NODE != NULL) &&
4933 (NODE->type == XML_ENTITY_REF_NODE))
4935 } while ((NODE != NULL) &&
4936 ((NODE->type != XML_ELEMENT_NODE) &&
4937 (NODE->type != XML_TEXT_NODE) &&
4938 (NODE->type != XML_CDATA_SECTION_NODE)));
4950 if ((NODE == NULL) ||
4951 (!xmlStrEqual(NODE->name, CONT->c1->name))) {
4956 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4961 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix);
4974 if (vstateVPush(ctxt, CONT->c2, NODE, (unsigned char)(DEPTH + 1),
4987 if ((NODE == NULL) ||
4988 (!xmlStrEqual(NODE->name, CONT->c1->name))) {
4993 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4998 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix);
5029 cur = ctxt->vstate->node;
5035 if (cur != ctxt->vstate->node)
5040 cur = ctxt->vstate->node;
5046 if (cur != ctxt->vstate->node)
5084 if (NODE == NULL) {
5098 if (NODE == NULL) {
5151 if (NODE != NULL) {
5154 cur = ctxt->vstate->node;
5160 if (cur != ctxt->vstate->node)
5167 cur = ctxt->vstate->node;
5173 if (cur != ctxt->vstate->node)
5192 xmlSnprintfElements(char *buf, int size, xmlNodePtr node, int glob) {
5196 if (node == NULL) return;
5198 cur = node;
5316 * Push the current node to be able to roll back
5392 NODE = child;
5404 * Buid a minimal representation of this node content
5413 * Push the current node to be able to roll back
5431 * Allocate a new node and minimally fills in
5481 NODE = repl;
5580 * Push the current node to be able to roll back
5626 * Check if the given node is part of the content model.
5786 xmlErrValidNode(ctxt, state->node,
5789 state->node->name, NULL, NULL);
5800 xmlErrValidNode(ctxt, state->node,
5803 state->node->name, NULL, NULL);
5809 xmlErrValidNode(ctxt, state->node,
5812 qname, state->node->name, NULL);
5826 xmlErrValidNode(ctxt, state->node,
5829 state->node->name, qname, NULL);
5878 xmlErrValidNode(ctxt, state->node,
5881 state->node->name, NULL, NULL);
5894 xmlErrValidNode(ctxt, state->node,
5897 state->node->name, NULL, NULL);
5951 xmlErrValidNode(ctxt, state->node,
5954 state->node->name, NULL,NULL);
6973 * to insert before 'node': xmlValidGetValidElements(node->prev, node, ...
6974 * to insert next 'node': xmlValidGetValidElements(node, node->next, ...
6975 * to replace 'node': xmlValidGetValidElements(node->prev, node->next, ...
6976 * to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs,
6977 * to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ...
7039 * Creates a dummy node and insert it into the tree
7054 * Insert each potential child node and check if the parent is
7081 * Free up the dummy node