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);
805 * @elem: an element declaration node
1748 * create and initialize an enumeration attribute node.
1773 * free an enumeration attribute node (recursive).
1790 * Copy an enumeration attribute node (recursive).
2795 * since the attribute node doesn't exist anymore
2953 * Add the owning node to the NodeList
3108 * Returns NULL if not found, otherwise node set for the ID.
4753 /* keep current node */
4777 NODE = xmlValidateSkipIgnorable(NODE);
4778 if ((NODE == NULL) && (CONT == NULL))
4780 if ((NODE == NULL) &&
4786 if ((NODE != NULL) && (NODE->type == XML_ENTITY_REF_NODE))
4800 DEBUG_VALID_STATE(NODE, CONT)
4805 DEBUG_VALID_STATE(NODE, CONT)
4817 if (vstateVPush(ctxt, CONT, NODE, DEPTH, OCCURS, ROLLBACK_PARENT) < 0)
4827 if (NODE == NULL) {
4828 DEBUG_VALID_MSG("pcdata failed no node");
4832 if (NODE->type == XML_TEXT_NODE) {
4839 NODE = NODE->next;
4840 NODE = xmlValidateSkipIgnorable(NODE);
4841 if ((NODE != NULL) &&
4842 (NODE->type == XML_ENTITY_REF_NODE))
4844 } while ((NODE != NULL) &&
4845 ((NODE->type != XML_ELEMENT_NODE) &&
4846 (NODE->type != XML_TEXT_NODE) &&
4847 (NODE->type != XML_CDATA_SECTION_NODE)));
4857 if (NODE == NULL) {
4858 DEBUG_VALID_MSG("element failed no node");
4862 ret = ((NODE->type == XML_ELEMENT_NODE) &&
4863 (xmlStrEqual(NODE->name, CONT->name)));
4865 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4870 ret = xmlStrEqual(NODE->ns->prefix, CONT->prefix);
4880 NODE = NODE->next;
4881 NODE = xmlValidateSkipIgnorable(NODE);
4882 if ((NODE != NULL) &&
4883 (NODE->type == XML_ENTITY_REF_NODE))
4885 } while ((NODE != NULL) &&
4886 ((NODE->type != XML_ELEMENT_NODE) &&
4887 (NODE->type != XML_TEXT_NODE) &&
4888 (NODE->type != XML_CDATA_SECTION_NODE)));
4900 if ((NODE == NULL) ||
4901 (!xmlStrEqual(NODE->name, CONT->c1->name))) {
4906 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4911 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix);
4924 if (vstateVPush(ctxt, CONT->c2, NODE, (unsigned char)(DEPTH + 1),
4937 if ((NODE == NULL) ||
4938 (!xmlStrEqual(NODE->name, CONT->c1->name))) {
4943 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4948 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix);
4979 cur = ctxt->vstate->node;
4985 if (cur != ctxt->vstate->node)
4990 cur = ctxt->vstate->node;
4996 if (cur != ctxt->vstate->node)
5034 if (NODE == NULL) {
5048 if (NODE == NULL) {
5101 if (NODE != NULL) {
5104 cur = ctxt->vstate->node;
5110 if (cur != ctxt->vstate->node)
5117 cur = ctxt->vstate->node;
5123 if (cur != ctxt->vstate->node)
5142 xmlSnprintfElements(char *buf, int size, xmlNodePtr node, int glob) {
5146 if (node == NULL) return;
5148 cur = node;
5266 * Push the current node to be able to roll back
5342 NODE = child;
5354 * Buid a minimal representation of this node content
5363 * Push the current node to be able to roll back
5381 * Allocate a new node and minimally fills in
5431 NODE = repl;
5531 * Push the current node to be able to roll back
5577 * Check if the given node is part of the content model.
5737 xmlErrValidNode(ctxt, state->node,
5740 state->node->name, NULL, NULL);
5751 xmlErrValidNode(ctxt, state->node,
5754 state->node->name, NULL, NULL);
5760 xmlErrValidNode(ctxt, state->node,
5763 qname, state->node->name, NULL);
5777 xmlErrValidNode(ctxt, state->node,
5780 state->node->name, qname, NULL);
5829 xmlErrValidNode(ctxt, state->node,
5832 state->node->name, NULL, NULL);
5845 xmlErrValidNode(ctxt, state->node,
5848 state->node->name, NULL, NULL);
5902 xmlErrValidNode(ctxt, state->node,
5905 state->node->name, NULL,NULL);
6932 * to insert before 'node': xmlValidGetValidElements(node->prev, node, ...
6933 * to insert next 'node': xmlValidGetValidElements(node, node->next, ...
6934 * to replace 'node': xmlValidGetValidElements(node->prev, node->next, ...
6935 * to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs,
6936 * to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ...
6998 * Creates a dummy node and insert it into the tree
7013 * Insert each potential child node and check if the parent is
7040 * Free up the dummy node