Lines Matching defs:inode

998     xmlSchemaNodeInfoPtr inode; /* the current element information */
2054 (vctxt->inode != NULL)) {
2055 node = vctxt->inode->node;
2201 if (vctxt->inode->nodeType == XML_ATTRIBUTE_NODE) {
2215 vctxt->inode->nsName, vctxt->inode->localName));
2389 (((xmlSchemaValidCtxtPtr) actxt)->inode != NULL))
2390 return ( ((xmlSchemaValidCtxtPtr) actxt)->inode->nodeType);
21715 xmlSchemaNodeInfoPtr inode;
21719 inode = vctxt->elemInfos[i];
21720 for (j = 0; j < inode->nbNsBindings * 2; j += 2) {
21722 (inode->nsBindings[j] == NULL)) ||
21724 inode->nsBindings[j]))) {
21730 return (inode->nsBindings[j+1]);
21753 if ((vctxt->inode->node == NULL) ||
21754 (vctxt->inode->node->doc == NULL)) {
21759 ns = xmlSearchNs(vctxt->inode->node->doc,
21760 vctxt->inode->node, prefix);
22374 xmlSchemaFormatQName(&str, vctxt->inode->nsName,
22375 vctxt->inode->localName), depth, nodeType);
22395 vctxt->inode->localName, vctxt->inode->nsName);
22398 vctxt->inode->localName, vctxt->inode->nsName);
22472 if ((vctxt->inode->flags &
22474 vctxt->inode->flags |= XML_SCHEMA_NODE_INFO_VALUE_NEEDED;
22571 xmlSchemaTypePtr type = vctxt->inode->typeDef, simpleType = NULL;
22582 xmlSchemaFormatQName(&str, vctxt->inode->nsName,
22583 vctxt->inode->localName), vctxt->depth);
22655 if ((key == NULL) && (vctxt->inode->val == NULL)) {
22798 key->val = vctxt->inode->val;
22799 vctxt->inode->val = NULL;
22967 vctxt->inode->localName, vctxt->inode->nsName);
22980 ntItem->nodeLine = vctxt->inode->nodeLine;
23085 (char *) xmlSchemaFormatQName(&str, vctxt->inode->nsName,
23086 vctxt->inode->localName), vctxt->depth);
23090 if (vctxt->inode->idcMatchers != NULL) {
23109 vctxt->inode->hasKeyrefs = 1;
23165 vctxt->inode->idcMatchers = matcher;
23394 bind = vctxt->inode->idcTable;
23684 matcher = vctxt->inode->idcMatchers;
23702 bind = vctxt->inode->idcTable;
24043 #define ACTIVATE_ATTRIBUTE(item) vctxt->inode = (xmlSchemaNodeInfoPtr) item;
24044 #define ACTIVATE_ELEM vctxt->inode = vctxt->elemInfos[vctxt->depth];
24045 #define ACTIVATE_PARENT_ELEM vctxt->inode = vctxt->elemInfos[vctxt->depth -1];
24896 xmlSchemaElementPtr elemDecl = vctxt->inode->decl;
24967 vctxt->inode->flags |=
24994 vctxt->inode->flags |= XML_SCHEMA_ELEM_INFO_LOCAL_TYPE;
25016 vctxt->inode->typeDef = actualType;
25094 xmlSchemaTypePtr type = vctxt->inode->typeDef;
25699 xmlSchemaWildcardPtr wild = (xmlSchemaWildcardPtr) vctxt->inode->decl;
25723 vctxt->inode->localName, vctxt->inode->nsName);
25725 vctxt->inode->decl = decl;
25748 &(vctxt->inode->typeDef), NULL) == -1) {
25765 vctxt->inode->typeDef =
25783 xmlSchemaNodeInfoPtr inode = vctxt->inode;
25791 if WXS_IS_COMPLEX(inode->typeDef) {
25801 if ((! WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) &&
25802 ((! WXS_HAS_MIXED_CONTENT(inode->typeDef)) ||
25803 (! WXS_EMPTIABLE(inode->typeDef)))) {
25824 if (WXS_IS_SIMPLE(inode->typeDef)) {
25827 NULL, inode->typeDef, value, val, 1, 1, 0);
25829 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
25832 NULL, inode->typeDef->contentTypeDef, value, val, 1, 1, 0);
25845 xmlSchemaNodeInfoPtr inode)
25847 inode->decl = item;
25856 inode->localName, inode->nsName));
25861 inode->localName, inode->nsName));
25872 vctxt->inode = xmlSchemaGetFreshElemInfo(vctxt);
25873 if (vctxt->inode == NULL) {
25884 xmlSchemaNodeInfoPtr inode,
25888 if (inode->flags & XML_SCHEMA_NODE_INFO_VALUE_NEEDED)
25891 type, value, &(inode->val), 1, 1, 0));
25907 xmlSchemaNodeInfoPtr inode = vctxt->inode;
25911 if (inode->flags & XML_SCHEMA_NODE_INFO_ERR_NOT_EXPECTED) {
25920 if ((inode->typeDef == NULL) ||
25921 (inode->flags & XML_SCHEMA_NODE_INFO_ERR_BAD_TYPE)) {
25932 if ((inode->typeDef->contentType == XML_SCHEMA_CONTENT_MIXED) ||
25933 (inode->typeDef->contentType == XML_SCHEMA_CONTENT_ELEMENTS)) {
25938 if (inode->typeDef->builtInType == XML_SCHEMAS_ANYTYPE)
25941 if ((inode->flags & XML_SCHEMA_ELEM_INFO_ERR_BAD_CONTENT) == 0) {
25945 if (inode->regexCtxt == NULL) {
25949 inode->regexCtxt =
25950 xmlRegNewExecCtxt(inode->typeDef->contModel,
25953 if (inode->regexCtxt == NULL) {
25960 "AUTOMATON create on '%s'\n", inode->localName);
25967 xmlRegExecNextValues(inode->regexCtxt,
25969 ret = xmlRegExecPushString(inode->regexCtxt, NULL, NULL);
25970 if ((ret<0) || ((ret==0) && (!INODE_NILLED(inode)))) {
25975 inode->flags |=
25984 inode->localName);
25994 inode->localName);
26000 if (inode->typeDef->contentType == XML_SCHEMA_CONTENT_ELEMENTS)
26012 if (inode->decl == NULL) {
26016 if (WXS_IS_SIMPLE(inode->typeDef)) {
26018 inode, inode->typeDef, inode->value);
26019 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
26021 inode, inode->typeDef->contentTypeDef,
26022 inode->value);
26041 if ((inode->decl->value != NULL) &&
26042 (inode->flags & XML_SCHEMA_ELEM_INFO_EMPTY) &&
26043 (! INODE_NILLED(inode))) {
26057 if (inode->flags & XML_SCHEMA_ELEM_INFO_LOCAL_TYPE) {
26060 inode->decl->value, &(inode->val));
26083 if (WXS_IS_SIMPLE(inode->typeDef)) {
26085 inode, inode->typeDef, inode->decl->value);
26086 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
26088 inode, inode->typeDef->contentTypeDef,
26089 inode->decl->value);
26105 (inode->node != NULL)) {
26111 normValue = xmlSchemaNormalizeValue(inode->typeDef,
26112 inode->decl->value);
26117 textChild = xmlNewText(inode->decl->value);
26123 xmlAddChild(inode->node, textChild);
26126 } else if (! INODE_NILLED(inode)) {
26132 if (WXS_IS_SIMPLE(inode->typeDef)) {
26142 inode, inode->typeDef, inode->value);
26143 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
26157 inode, inode->typeDef->contentTypeDef, inode->value);
26171 if ((inode->decl->value != NULL) &&
26172 (inode->decl->flags & XML_SCHEMAS_ELEM_FIXED)) {
26182 if (inode->flags &
26194 if (WXS_HAS_MIXED_CONTENT(inode->typeDef)) {
26206 if (! xmlStrEqual(inode->value, inode->decl->value)){
26216 inode->value, inode->decl->value);
26219 } else if (WXS_HAS_SIMPLE_CONTENT(inode->typeDef)) {
26232 if (! xmlStrEqual(inode->value,
26233 inode->decl->value)) {
26239 inode->value,
26240 inode->decl->value);
26258 if (inode->appliedXPath &&
26277 if ((inode->idcMatchers != NULL) &&
26280 if (xmlSchemaIDCFillNodeTables(vctxt, inode) == -1)
26286 if (vctxt->inode->hasKeyrefs)
26292 if (inode->idcTable != NULL) {
26295 inode->nsName,
26296 inode->localName,
26297 inode->idcTable);
26314 xmlSchemaClearElemInfo(vctxt, inode);
26320 vctxt->inode = NULL;
26341 vctxt->inode = vctxt->elemInfos[vctxt->depth];
26396 vctxt->inode->decl = xmlSchemaGetElem(vctxt->schema,
26397 vctxt->inode->localName,
26398 vctxt->inode->nsName);
26400 if (vctxt->inode->decl == NULL) {
26410 &(vctxt->inode->typeDef), NULL);
26431 vctxt->inode->typeDef =
26506 vctxt->inode->localName,
26507 vctxt->inode->nsName,
26508 vctxt->inode);
26513 vctxt->inode->localName, pielem->localName);
26517 vctxt->inode->localName, pielem->localName);
26574 vctxt->inode->flags |= XML_SCHEMA_NODE_INFO_ERR_NOT_EXPECTED;
26599 if (INODE_NILLED(vctxt->inode)) {
26615 if (vctxt->inode->typeDef->contentType ==
26623 if (vctxt->inode->typeDef->contentType ==
26650 if ((vctxt->inode->typeDef->contentType == XML_SCHEMA_CONTENT_MIXED) &&
26651 ((vctxt->inode->decl == NULL) ||
26652 (vctxt->inode->decl->value == NULL)))
26655 if (vctxt->inode->value == NULL) {
26664 vctxt->inode->value = value;
26671 vctxt->inode->value = value;
26674 vctxt->inode->flags |=
26683 vctxt->inode->value = BAD_CAST xmlStrndup(value, len);
26685 vctxt->inode->value = BAD_CAST xmlStrdup(value);
26686 vctxt->inode->flags |=
26698 if (vctxt->inode->flags & XML_SCHEMA_NODE_INFO_FLAG_OWNED_VALUES) {
26699 vctxt->inode->value = BAD_CAST xmlStrncat(
26700 (xmlChar *) vctxt->inode->value, value, len);
26702 vctxt->inode->value =
26703 BAD_CAST xmlStrncatNew(vctxt->inode->value, value, len);
26704 vctxt->inode->flags |= XML_SCHEMA_NODE_INFO_FLAG_OWNED_VALUES;
26757 if ((vctxt->inode->decl == NULL) &&
26758 (vctxt->inode->typeDef == NULL)) {
26768 vctxt->inode->decl = xmlSchemaGetElem(vctxt->schema,
26769 vctxt->inode->localName,
26770 vctxt->inode->nsName);
26771 if (vctxt->inode->decl == NULL) {
26780 if (vctxt->inode->decl == NULL)
26783 if (vctxt->inode->decl->type == XML_SCHEMA_TYPE_ANY) {
26805 if (vctxt->inode->decl->type != XML_SCHEMA_TYPE_ELEMENT) {
26809 vctxt->inode->decl = NULL;
26830 if (vctxt->inode->typeDef == NULL) {
26831 vctxt->inode->flags |= XML_SCHEMA_NODE_INFO_ERR_BAD_TYPE;
26837 if (vctxt->inode->typeDef->flags & XML_SCHEMAS_TYPE_ABSTRACT) {
26838 vctxt->inode->flags |= XML_SCHEMA_NODE_INFO_ERR_BAD_TYPE;
26851 vctxt->inode->appliedXPath = 1;
26861 if (WXS_IS_COMPLEX(vctxt->inode->typeDef)) {
26863 (vctxt->inode->typeDef->attrUses != NULL)) {
26929 ielem = vctxt->inode;
27042 ielem = vctxt->inode;
27107 if (vctxt->inode->flags & XML_SCHEMA_ELEM_INFO_EMPTY)
27108 vctxt->inode->flags ^= XML_SCHEMA_ELEM_INFO_EMPTY;
27132 if (vctxt->inode->flags & XML_SCHEMA_ELEM_INFO_EMPTY)
27133 vctxt->inode->flags ^= XML_SCHEMA_ELEM_INFO_EMPTY;
27190 ielem = vctxt->inode;
27318 if ((!xmlStrEqual(vctxt->inode->localName, localname)) ||
27319 (!xmlStrEqual(vctxt->inode->nsName, URI))) {
27734 ielem = vctxt->inode;
27837 if (node != vctxt->inode->node) {