Home | History | Annotate | Download | only in libxml2

Lines Matching refs: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).
2796 * since the attribute node doesn't exist anymore
2954 * Add the owning node to the NodeList
3109 * Returns NULL if not found, otherwise node set for the ID.
4754 /* keep current node */
4778 NODE = xmlValidateSkipIgnorable(NODE);
4779 if ((NODE == NULL) && (CONT == NULL))
4781 if ((NODE == NULL) &&
4787 if ((NODE != NULL) && (NODE->type == XML_ENTITY_REF_NODE))
4801 DEBUG_VALID_STATE(NODE, CONT)
4806 DEBUG_VALID_STATE(NODE, CONT)
4818 if (vstateVPush(ctxt, CONT, NODE, DEPTH, OCCURS, ROLLBACK_PARENT) < 0)
4828 if (NODE == NULL) {
4829 DEBUG_VALID_MSG("pcdata failed no node");
4833 if (NODE->type == XML_TEXT_NODE) {
4840 NODE = NODE->next;
4841 NODE = xmlValidateSkipIgnorable(NODE);
4842 if ((NODE != NULL) &&
4843 (NODE->type == XML_ENTITY_REF_NODE))
4845 } while ((NODE != NULL) &&
4846 ((NODE->type != XML_ELEMENT_NODE) &&
4847 (NODE->type != XML_TEXT_NODE) &&
4848 (NODE->type != XML_CDATA_SECTION_NODE)));
4858 if (NODE == NULL) {
4859 DEBUG_VALID_MSG("element failed no node");
4863 ret = ((NODE->type == XML_ELEMENT_NODE) &&
4864 (xmlStrEqual(NODE->name, CONT->name)));
4866 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4871 ret = xmlStrEqual(NODE->ns->prefix, CONT->prefix);
4881 NODE = NODE->next;
4882 NODE = xmlValidateSkipIgnorable(NODE);
4883 if ((NODE != NULL) &&
4884 (NODE->type == XML_ENTITY_REF_NODE))
4886 } while ((NODE != NULL) &&
4887 ((NODE->type != XML_ELEMENT_NODE) &&
4888 (NODE->type != XML_TEXT_NODE) &&
4889 (NODE->type != XML_CDATA_SECTION_NODE)));
4901 if ((NODE == NULL) ||
4902 (!xmlStrEqual(NODE->name, CONT->c1->name))) {
4907 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4912 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix);
4925 if (vstateVPush(ctxt, CONT->c2, NODE, (unsigned char)(DEPTH + 1),
4938 if ((NODE == NULL) ||
4939 (!xmlStrEqual(NODE->name, CONT->c1->name))) {
4944 if ((NODE->ns == NULL) || (NODE->ns->prefix == NULL)) {
4949 ret = xmlStrEqual(NODE->ns->prefix, CONT->c1->prefix);
4980 cur = ctxt->vstate->node;
4986 if (cur != ctxt->vstate->node)
4991 cur = ctxt->vstate->node;
4997 if (cur != ctxt->vstate->node)
5035 if (NODE == NULL) {
5049 if (NODE == NULL) {
5102 if (NODE != NULL) {
5105 cur = ctxt->vstate->node;
5111 if (cur != ctxt->vstate->node)
5118 cur = ctxt->vstate->node;
5124 if (cur != ctxt->vstate->node)
5143 xmlSnprintfElements(char *buf, int size, xmlNodePtr node, int glob) {
5147 if (node == NULL) return;
5149 cur = node;
5267 * Push the current node to be able to roll back
5343 NODE = child;
5355 * Buid a minimal representation of this node content
5364 * Push the current node to be able to roll back
5382 * Allocate a new node and minimally fills in
5432 NODE = repl;
5532 * Push the current node to be able to roll back
5578 * Check if the given node is part of the content model.
5738 xmlErrValidNode(ctxt, state->node,
5741 state->node->name, NULL, NULL);
5752 xmlErrValidNode(ctxt, state->node,
5755 state->node->name, NULL, NULL);
5761 xmlErrValidNode(ctxt, state->node,
5764 qname, state->node->name, NULL);
5778 xmlErrValidNode(ctxt, state->node,
5781 state->node->name, qname, NULL);
5830 xmlErrValidNode(ctxt, state->node,
5833 state->node->name, NULL, NULL);
5846 xmlErrValidNode(ctxt, state->node,
5849 state->node->name, NULL, NULL);
5903 xmlErrValidNode(ctxt, state->node,
5906 state->node->name, NULL,NULL);
6933 * to insert before 'node': xmlValidGetValidElements(node->prev, node, ...
6934 * to insert next 'node': xmlValidGetValidElements(node, node->next, ...
6935 * to replace 'node': xmlValidGetValidElements(node->prev, node->next, ...
6936 * to prepend a child to 'node': xmlValidGetValidElements(NULL, node->childs,
6937 * to append a child to 'node': xmlValidGetValidElements(node->last, NULL, ...
6999 * Creates a dummy node and insert it into the tree
7017 * Insert each potential child node and check if the parent is
7044 * Free up the dummy node