Home | History | Annotate | Download | only in libxml2

Lines Matching defs:val

772     xmlSchemaValPtr val;
886 xmlSchemaValPtr val; /* the pre-computed value if any */
945 xmlSchemaValPtr val; /* the pre-computed value if any */
1465 * @val: the precomputed value
1476 xmlSchemaGetCanonValueWhtspExt(xmlSchemaValPtr val,
1485 if ((retValue == NULL) || (val == NULL))
1487 list = xmlSchemaValueGetNext(val) ? 1 : 0;
1491 valType = xmlSchemaGetValType(val);
1496 value = xmlSchemaValueGetAsString(val);
1507 if (xmlSchemaGetCanonValue(val, &value2) == -1) {
1526 val = xmlSchemaValueGetNext(val);
1527 } while (val != NULL);
1801 res = xmlSchemaGetCanonValueWhtspExt(facet->val,
2229 * VAL TODO: The output of the given schema component is currently
3926 if (facet->val != NULL)
3927 xmlSchemaFreeValue(facet->val);
4544 if ((key != NULL) && (key->val != NULL)) {
4545 res = xmlSchemaGetCanonValue(key->val, &value);
4553 fprintf(output, "(no val), ");
4566 if ((key != NULL) && (key->val != NULL)) {
4567 res = xmlSchemaGetCanonValue(key->val, &value);
4575 fprintf(output, "(no val), ");
4652 xmlChar *val;
4655 val = xmlNodeGetContent(node);
4656 if (val == NULL)
4657 val = xmlStrdup((xmlChar *)"");
4658 ret = xmlDictLookup(ctxt->dict, val, -1);
4659 xmlFree(val);
4683 xmlChar *val;
4686 val = xmlGetNoNsProp(node, BAD_CAST name);
4687 if (val == NULL)
4689 ret = xmlDictLookup(ctxt->dict, val, -1);
4690 xmlFree(val);
5997 const xmlChar *val, *cur;
6004 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6006 if (xmlStrEqual(val, (const xmlChar *) "unbounded")) {
6012 val, NULL, NULL, NULL);
6018 cur = val;
6026 val, NULL, NULL, NULL);
6043 val, NULL, NULL, NULL);
6062 const xmlChar *val, *cur;
6069 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6070 cur = val;
6078 val, NULL, NULL, NULL);
6095 val, NULL, NULL, NULL);
6164 const xmlChar *val;
6166 val = xmlSchemaGetProp(ctxt, node, name);
6167 if (val == NULL)
6174 if (xmlStrEqual(val, BAD_CAST "true"))
6176 else if (xmlStrEqual(val, BAD_CAST "false"))
6178 else if (xmlStrEqual(val, BAD_CAST "1"))
6180 else if (xmlStrEqual(val, BAD_CAST "0"))
6188 NULL, val, NULL, NULL, NULL);
6322 const xmlChar *val;
6327 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6329 *value = val;
6332 val, type));
9615 const xmlChar *val;
9634 xmlSchemaGetBuiltInType(XML_SCHEMAS_TOKEN), &val);
9650 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9651 res = xmlSchemaPValAttrFormDefault(val, &schema->flags,
9658 "(qualified | unqualified)", val, NULL, NULL, NULL);
9663 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9664 res = xmlSchemaPValAttrFormDefault(val, &schema->flags,
9671 "(qualified | unqualified)", val, NULL, NULL, NULL);
9676 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9677 res = xmlSchemaPValAttrBlockFinal(val, &(schema->flags), -1,
9689 val, NULL, NULL, NULL);
9694 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9695 res = xmlSchemaPValAttrBlockFinal(val, &(schema->flags), -1,
9705 val, NULL, NULL, NULL);
13933 xmlSchemaValPtr *val)
13937 if (val != 0)
13938 *val = NULL;
13942 if (val != NULL)
13943 *val = attruse->defVal;
13950 if (val != NULL)
13951 *val = attruse->attrDecl->defVal;
15709 xmlSchemaValPtr *val)
15754 type, value, val, 1, 1, 0);
15757 type->contentTypeDef, value, val, 1, 1, 0);
17247 res = xmlSchemaCompareValues(flength->val, bflength->val);
17262 res = xmlSchemaCompareValues(fminlen->val, bfminlen->val);
17276 res = xmlSchemaCompareValues(fmaxlen->val, bfmaxlen->val);
17295 res = xmlSchemaCompareValues(flength->val, fminlen->val);
17305 res = xmlSchemaCompareValues(flength->val, fmaxlen->val);
17318 res = xmlSchemaCompareValues(fmaxinc->val, fmininc->val);
17330 res = xmlSchemaCompareValues(fmaxinc->val, bfmaxinc->val);
17341 res = xmlSchemaCompareValues(fmaxinc->val, bfmaxexc->val);
17350 res = xmlSchemaCompareValues(fmaxinc->val, bfmininc->val);
17359 res = xmlSchemaCompareValues(fmaxinc->val, bfminexc->val);
17372 res = xmlSchemaCompareValues(fmaxexc->val, fminexc->val);
17384 res = xmlSchemaCompareValues(fmaxexc->val, bfmaxexc->val);
17396 res = xmlSchemaCompareValues(fmaxexc->val, bfmaxinc->val);
17405 res = xmlSchemaCompareValues(fmaxexc->val, bfmininc->val);
17414 res = xmlSchemaCompareValues(fmaxexc->val, bfminexc->val);
17427 res = xmlSchemaCompareValues(fminexc->val, fmaxinc->val);
17439 res = xmlSchemaCompareValues(fminexc->val, bfminexc->val);
17451 res = xmlSchemaCompareValues(fminexc->val, bfmaxinc->val);
17460 res = xmlSchemaCompareValues(fminexc->val, bfmininc->val);
17469 res = xmlSchemaCompareValues(fminexc->val, bfmaxexc->val);
17482 res = xmlSchemaCompareValues(fmininc->val, fmaxexc->val);
17494 res = xmlSchemaCompareValues(fmininc->val, bfmininc->val);
17506 res = xmlSchemaCompareValues(fmininc->val, bfmaxinc->val);
17515 res = xmlSchemaCompareValues(fmininc->val, bfminexc->val);
17523 res = xmlSchemaCompareValues(fmininc->val, bfmaxexc->val);
17535 res = xmlSchemaCompareValues(ftotdig->val, bftotdig->val);
17550 res = xmlSchemaCompareValues(ffracdig->val, bffracdig->val);
17568 res = xmlSchemaCompareValues(ffracdig->val, ftotdig->val);
17753 * OPTIMIZE VAL TODO: Some facets need a computed value.
18605 facet->value, &(facet->val), 1, 1, 0);
18634 } else if (facet->val == NULL) {
18666 facet->value, &(facet->val));
18670 facet->value, &(facet->val));
21777 xmlSchemaValPtr *val,
21815 if ((valNeeded) && (val != NULL)) {
21816 (*val) = xmlSchemaNewNOTATIONValue(xmlStrdup(localName),
21818 if (*val == NULL)
21827 if (valNeeded && (val != NULL)) {
21828 (*val) = xmlSchemaNewNOTATIONValue(
21830 if (*val == NULL)
22133 if (key->val != NULL)
22134 xmlSchemaFreeValue(key->val);
22505 res = xmlSchemaGetCanonValueWhtspExt(seq[i]->val,
22559 * @val: the precompiled value
22657 if ((key == NULL) && (vctxt->inode->val == NULL)) {
22800 key->val = vctxt->inode->val;
22801 vctxt->inode->val = NULL;
22902 res = xmlSchemaAreValuesEqual(ckey->val, bkey->val);
23270 res = xmlSchemaAreValuesEqual(keys[0]->val,
23271 dupls[j]->keys[0]->val);
23284 res = xmlSchemaAreValuesEqual(keys[k]->val,
23285 ntkeys[k]->val);
23309 res = xmlSchemaAreValuesEqual(keys[0]->val,
23310 bind->nodeTable[j]->keys[0]->val);
23323 res = xmlSchemaAreValuesEqual(keys[k]->val,
23324 ntkeys[k]->val);
23471 node->keys[0]->val,
23472 dupls[j]->keys[0]->val);
23483 node->keys[k]->val,
23484 val);
23510 node->keys[0]->val,
23511 parNode->keys[0]->val);
23521 node->keys[k]->val,
23522 parNode->keys[k]->val);
23723 res = xmlSchemaAreValuesEqual(keys[k]->val,
23724 refKeys[k]->val);
23746 res = xmlSchemaAreValuesEqual(keys[k]->val,
23747 refKeys[k]->val);
23934 if (ielem->val != NULL) {
23939 xmlSchemaFreeValue(ielem->val);
23940 ielem->val = NULL;
24055 xmlSchemaValPtr val,
24102 if (val == NULL)
24105 valType = xmlSchemaGetValType(val);
24123 valType, value, val, &len, ws);
24127 valType, value, val, ws);
24199 ret = xmlSchemaAreValuesEqual(facet->val, val);
24301 xmlSchemaValPtr *val,
24349 if (valNeeded && val) {
24351 *val = xmlSchemaNewQNameValue(
24354 *val = xmlSchemaNewQNameValue(NULL,
24375 xmlSchemaValPtr val = NULL;
24454 NULL, value, &val, valNeeded);
24458 value, &val, valNeeded);
24464 value, &val, NULL);
24475 value, &val, valNeeded);
24481 value, &val, node);
24510 (xmlSchemaValType) biType->builtInType, value, val,
24543 * VAL TODO: Optimize validation of empty values.
24544 * VAL TODO: We do not have computed values for lists.
24570 if (val == NULL)
24571 val = curVal;
24594 XML_SCHEMAS_UNKNOWN, value, val,
24646 memberLink->type, value, &val, 0, 1, 0);
24673 XML_SCHEMAS_UNKNOWN, value, val,
24692 *retVal = val;
24693 else if (val != NULL)
24694 xmlSchemaFreeValue(val);
24695 } else if (val != NULL)
24696 xmlSchemaFreeValue(val);
24701 if (val != NULL)
24702 xmlSchemaFreeValue(val);
24940 iattr->value, &(iattr->val), 1, 0, 0);
24957 if (xmlSchemaValueGetAsBoolean(iattr->val)) {
25074 if (attr->val != NULL) {
25075 xmlSchemaFreeValue(attr->val);
25076 attr->val = NULL;
25303 /* VAL TODO */
25320 /* URGENT VAL TODO: implement */
25360 * VAL TODO: Note that we won't try to resolve IDCs to
25368 * VAL TODO: What to do if the type definition is missing?
25401 iattr->val = iattr->use->defVal;
25404 iattr->val = iattr->decl->defVal;
25410 if (iattr->val == NULL) {
25416 iattr->val = xmlSchemaCopyValue(iattr->val);
25417 if (iattr->val == NULL) {
25425 * VAL TODO: Should we use the *normalized* value? This currently
25523 * VAL TODO: Do we already have the
25533 iattr->node, iattr->typeDef, iattr->value, &(iattr->val),
25565 * VAL TODO: The requirement for the *canonical* value
25573 if (iattr->val == NULL) {
25574 /* VAL TODO: A value was not precomputed. */
25581 /* VAL TODO: A default value was not precomputed. */
25587 if (xmlSchemaCompareValuesWhtsp(attr->val,
25592 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->use->defVal))
25596 /* VAL TODO: A default value was not precomputed. */
25602 if (xmlSchemaCompareValuesWhtsp(attr->val,
25607 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->decl->defVal))
25674 * MAYBE VAL TODO: One might report different error messages
25715 * URGENT VAL TODO: Either we need to position the stream to the
25732 /* VAL TODO: Change to proper error code. */
25782 xmlSchemaValPtr *val)
25829 NULL, inode->typeDef, value, val, 1, 1, 0);
25834 NULL, inode->typeDef->contentTypeDef, value, val, 1, 1, 0);
25893 type, value, &(inode->val), 1, 1, 0));
26062 inode->decl->value, &(inode->val));
26111 * VAL TODO: Normalize the value.
26210 * VAL TODO: Report invalid & expected values as well.
26211 * VAL TODO: Implement the canonical stuff.
26229 * VAL TODO: *actual value* is the normalized value, impl.
26231 * VAL TODO: Report invalid & expected values as well.
26232 * VAL TODO: Implement a comparison with the computed values.
26313 * VAL TODO: Don't free the PSVI IDC tables if they are
26345 * VAL TODO: 7 If the element information item is the ?validation root?, it must be
26462 /* VAL TODO: Optimized "anyType" validation.*/
26960 * VAL TODO: How do we know that the reader works on a
27015 * VAL
27024 * READER VAL TODO: Is an END_ELEM really never called
27072 * VAL TODO: What to do with entities?
27155 /* SAX VAL TODO: What to do here? */
27176 * SAX VAL TODO: What to do with nb_defaulted?
27252 * SAX VAL TODO: We are not adding namespace declaration
27318 * SAX VAL TODO: Just a temporary check.
27715 /* DOC VAL TODO: Move this to the start function. */
27718 /* VAL TODO: Error code? */
27745 * DOC VAL TODO: We do not register namespace declaration
27807 * DOC VAL TODO: Should we skip further validation of the
27813 * DOC VAL TODO: What to do with entities?
27824 * DOC VAL TODO: XInclude nodes, etc.