Lines Matching +defs:val +defs:output

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);
4146 xmlSchemaTypeDump(xmlSchemaTypePtr type, FILE * output); /* forward */
4151 * @output: the file output
4156 xmlSchemaElementDump(xmlSchemaElementPtr elem, FILE * output,
4165 fprintf(output, "Element");
4167 fprintf(output, " (global)");
4168 fprintf(output, ": '%s' ", elem->name);
4170 fprintf(output, "ns '%s'", namespace);
4171 fprintf(output, "\n");
4174 fprintf(output, " min %d ", elem->minOccurs);
4176 fprintf(output, "max: unbounded\n");
4178 fprintf(output, "max: %d\n", elem->maxOccurs);
4180 fprintf(output, "\n");
4190 fprintf(output, " props: ");
4192 fprintf(output, "[fixed] ");
4194 fprintf(output, "[default] ");
4196 fprintf(output, "[abstract] ");
4198 fprintf(output, "[nillable] ");
4199 fprintf(output, "\n");
4205 fprintf(output, " value: '%s'\n", elem->value);
4210 fprintf(output, " type: '%s' ", elem->namedType);
4212 fprintf(output, "ns '%s'\n", elem->namedTypeNs);
4214 fprintf(output, "\n");
4219 xmlSchemaTypeDump(elem->subtypes, output);
4225 fprintf(output, " substitutionGroup: '%s' ", elem->substGroup);
4227 fprintf(output, "ns '%s'\n", elem->substGroupNs);
4229 fprintf(output, "\n");
4235 * @output: the file output
4241 xmlSchemaAnnotDump(FILE * output, xmlSchemaAnnotPtr annot)
4250 fprintf(output, " Annot: %s\n", content);
4253 fprintf(output, " Annot: empty\n");
4259 * @output: the file output
4265 xmlSchemaContentModelDump(xmlSchemaParticlePtr particle, FILE * output, int depth)
4277 fprintf(output, shift);
4279 fprintf(output, "MISSING particle term\n");
4284 fprintf(output, "(NULL)");
4288 fprintf(output, "ELEM '%s'", xmlSchemaFormatQName(&str,
4294 fprintf(output, "SEQUENCE");
4297 fprintf(output, "CHOICE");
4300 fprintf(output, "ALL");
4303 fprintf(output, "ANY");
4306 fprintf(output, "UNKNOWN\n");
4311 fprintf(output, " min: %d", particle->minOccurs);
4313 fprintf(output, " max: unbounded");
4315 fprintf(output, " max: %d", particle->maxOccurs);
4316 fprintf(output, "\n");
4323 output, depth +1);
4327 output, depth);
4333 * @output: the file output
4338 xmlSchemaAttrUsesDump(xmlSchemaItemListPtr uses, FILE * output)
4350 fprintf(output, " attributes:\n");
4354 fprintf(output, " [prohibition] ");
4359 fprintf(output, " [reference] ");
4364 fprintf(output, " [use] ");
4368 fprintf(output, "'%s'\n",
4376 * @output: the file output
4382 xmlSchemaTypeDump(xmlSchemaTypePtr type, FILE * output)
4385 fprintf(output, "Type: NULL\n");
4388 fprintf(output, "Type: ");
4390 fprintf(output, "'%s' ", type->name);
4392 fprintf(output, "(no name) ");
4394 fprintf(output, "ns '%s' ", type->targetNamespace);
4397 fprintf(output, "[basic] ");
4400 fprintf(output, "[simple] ");
4403 fprintf(output, "[complex] ");
4406 fprintf(output, "[sequence] ");
4409 fprintf(output, "[choice] ");
4412 fprintf(output, "[all] ");
4415 fprintf(output, "[ur] ");
4418 fprintf(output, "[restriction] ");
4421 fprintf(output, "[extension] ");
4424 fprintf(output, "[unknown type %d] ", type->type);
4427 fprintf(output, "content: ");
4430 fprintf(output, "[unknown] ");
4433 fprintf(output, "[empty] ");
4436 fprintf(output, "[element] ");
4439 fprintf(output, "[mixed] ");
4445 fprintf(output, "[basic] ");
4448 fprintf(output, "[simple] ");
4451 fprintf(output, "[any] ");
4454 fprintf(output, "\n");
4456 fprintf(output, " base type: '%s'", type->base);
4458 fprintf(output, " ns '%s'\n", type->baseNs);
4460 fprintf(output, "\n");
4463 xmlSchemaAttrUsesDump(type->attrUses, output);
4465 xmlSchemaAnnotDump(output, type->annot);
4470 output, 1);
4477 * @output: the file output
4483 xmlSchemaDump(FILE * output, xmlSchemaPtr schema)
4485 if (output == NULL)
4488 fprintf(output, "Schemas: NULL\n");
4491 fprintf(output, "Schemas: ");
4493 fprintf(output, "%s, ", schema->name);
4495 fprintf(output, "no name, ");
4497 fprintf(output, "%s", (const char *) schema->targetNamespace);
4499 fprintf(output, "no target namespace");
4500 fprintf(output, "\n");
4502 xmlSchemaAnnotDump(output, schema->annot);
4504 output);
4506 (xmlHashScannerFull) xmlSchemaElementDump, output);
4517 xmlSchemaDebugDumpIDCTable(FILE * output,
4528 fprintf(output, "IDC: TABLES on '%s'\n",
4535 fprintf(output, "IDC: BINDING '%s' (%d)\n",
4541 fprintf(output, " ( ");
4544 if ((key != NULL) && (key->val != NULL)) {
4545 res = xmlSchemaGetCanonValue(key->val, &value);
4547 fprintf(output, "'%s' ", value);
4549 fprintf(output, "CANON-VALUE-FAILED ");
4553 fprintf(output, "(no val), ");
4555 fprintf(output, "(key missing), ");
4557 fprintf(output, ")\n");
4560 fprintf(output, "IDC: dupls (%d):\n", bind->dupls->nbItems);
4563 fprintf(output, " ( ");
4566 if ((key != NULL) && (key->val != NULL)) {
4567 res = xmlSchemaGetCanonValue(key->val, &value);
4569 fprintf(output, "'%s' ", value);
4571 fprintf(output, "CANON-VALUE-FAILED ");
4575 fprintf(output, "(no val), ");
4577 fprintf(output, "(key missing), ");
4579 fprintf(output, ")\n");
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);
5999 const xmlChar *val, *cur;
6006 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6008 if (xmlStrEqual(val, (const xmlChar *) "unbounded")) {
6014 val, NULL, NULL, NULL);
6020 cur = val;
6028 val, NULL, NULL, NULL);
6045 val, NULL, NULL, NULL);
6064 const xmlChar *val, *cur;
6071 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6072 cur = val;
6080 val, NULL, NULL, NULL);
6097 val, NULL, NULL, NULL);
6166 const xmlChar *val;
6168 val = xmlSchemaGetProp(ctxt, node, name);
6169 if (val == NULL)
6176 if (xmlStrEqual(val, BAD_CAST "true"))
6178 else if (xmlStrEqual(val, BAD_CAST "false"))
6180 else if (xmlStrEqual(val, BAD_CAST "1"))
6182 else if (xmlStrEqual(val, BAD_CAST "0"))
6190 NULL, val, NULL, NULL, NULL);
6324 const xmlChar *val;
6329 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
6331 *value = val;
6334 val, type));
9617 const xmlChar *val;
9636 xmlSchemaGetBuiltInType(XML_SCHEMAS_TOKEN), &val);
9652 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9653 res = xmlSchemaPValAttrFormDefault(val, &schema->flags,
9660 "(qualified | unqualified)", val, NULL, NULL, NULL);
9665 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9666 res = xmlSchemaPValAttrFormDefault(val, &schema->flags,
9673 "(qualified | unqualified)", val, NULL, NULL, NULL);
9678 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9679 res = xmlSchemaPValAttrBlockFinal(val, &(schema->flags), -1,
9691 val, NULL, NULL, NULL);
9696 val = xmlSchemaGetNodeContent(ctxt, (xmlNodePtr) attr);
9697 res = xmlSchemaPValAttrBlockFinal(val, &(schema->flags), -1,
9707 val, NULL, NULL, NULL);
13935 xmlSchemaValPtr *val)
13939 if (val != 0)
13940 *val = NULL;
13944 if (val != NULL)
13945 *val = attruse->defVal;
13952 if (val != NULL)
13953 *val = attruse->attrDecl->defVal;
15709 xmlSchemaValPtr *val)
15754 type, value, val, 1, 1, 0);
15757 type->contentTypeDef, value, val, 1, 1, 0);
17245 res = xmlSchemaCompareValues(flength->val, bflength->val);
17260 res = xmlSchemaCompareValues(fminlen->val, bfminlen->val);
17274 res = xmlSchemaCompareValues(fmaxlen->val, bfmaxlen->val);
17293 res = xmlSchemaCompareValues(flength->val, fminlen->val);
17303 res = xmlSchemaCompareValues(flength->val, fmaxlen->val);
17316 res = xmlSchemaCompareValues(fmaxinc->val, fmininc->val);
17328 res = xmlSchemaCompareValues(fmaxinc->val, bfmaxinc->val);
17339 res = xmlSchemaCompareValues(fmaxinc->val, bfmaxexc->val);
17348 res = xmlSchemaCompareValues(fmaxinc->val, bfmininc->val);
17357 res = xmlSchemaCompareValues(fmaxinc->val, bfminexc->val);
17370 res = xmlSchemaCompareValues(fmaxexc->val, fminexc->val);
17382 res = xmlSchemaCompareValues(fmaxexc->val, bfmaxexc->val);
17394 res = xmlSchemaCompareValues(fmaxexc->val, bfmaxinc->val);
17403 res = xmlSchemaCompareValues(fmaxexc->val, bfmininc->val);
17412 res = xmlSchemaCompareValues(fmaxexc->val, bfminexc->val);
17425 res = xmlSchemaCompareValues(fminexc->val, fmaxinc->val);
17437 res = xmlSchemaCompareValues(fminexc->val, bfminexc->val);
17449 res = xmlSchemaCompareValues(fminexc->val, bfmaxinc->val);
17458 res = xmlSchemaCompareValues(fminexc->val, bfmininc->val);
17467 res = xmlSchemaCompareValues(fminexc->val, bfmaxexc->val);
17480 res = xmlSchemaCompareValues(fmininc->val, fmaxexc->val);
17492 res = xmlSchemaCompareValues(fmininc->val, bfmininc->val);
17504 res = xmlSchemaCompareValues(fmininc->val, bfmaxinc->val);
17513 res = xmlSchemaCompareValues(fmininc->val, bfminexc->val);
17521 res = xmlSchemaCompareValues(fmininc->val, bfmaxexc->val);
17533 res = xmlSchemaCompareValues(ftotdig->val, bftotdig->val);
17548 res = xmlSchemaCompareValues(ffracdig->val, bffracdig->val);
17566 res = xmlSchemaCompareValues(ffracdig->val, ftotdig->val);
18603 facet->value, &(facet->val), 1, 1, 0);
18632 } else if (facet->val == NULL) {
18664 facet->value, &(facet->val));
18668 facet->value, &(facet->val));
21775 xmlSchemaValPtr *val,
21813 if (valNeeded && (val != NULL)) {
21814 (*val) = xmlSchemaNewNOTATIONValue(BAD_CAST localName,
21816 if (*val == NULL)
21825 if (valNeeded && (val != NULL)) {
21826 (*val) = xmlSchemaNewNOTATIONValue(
21828 if (*val == NULL)
22131 if (key->val != NULL)
22132 xmlSchemaFreeValue(key->val);
22503 res = xmlSchemaGetCanonValueWhtspExt(seq[i]->val,
22557 * @val: the precompiled value
22655 if ((key == NULL) && (vctxt->inode->val == NULL)) {
22798 key->val = vctxt->inode->val;
22799 vctxt->inode->val = NULL;
22900 res = xmlSchemaAreValuesEqual(ckey->val, bkey->val);
23268 res = xmlSchemaAreValuesEqual(keys[0]->val,
23269 dupls[j]->keys[0]->val);
23282 res = xmlSchemaAreValuesEqual(keys[k]->val,
23283 ntkeys[k]->val);
23307 res = xmlSchemaAreValuesEqual(keys[0]->val,
23308 bind->nodeTable[j]->keys[0]->val);
23321 res = xmlSchemaAreValuesEqual(keys[k]->val,
23322 ntkeys[k]->val);
23469 node->keys[0]->val,
23470 dupls[j]->keys[0]->val);
23481 node->keys[k]->val,
23482 parNode->keys[k]->val);
23508 node->keys[0]->val,
23509 parNode->keys[0]->val);
23519 node->keys[k]->val,
23520 parNode->keys[k]->val);
23721 res = xmlSchemaAreValuesEqual(keys[k]->val,
23722 refKeys[k]->val);
23744 res = xmlSchemaAreValuesEqual(keys[k]->val,
23745 refKeys[k]->val);
23932 if (ielem->val != NULL) {
23937 xmlSchemaFreeValue(ielem->val);
23938 ielem->val = NULL;
24053 xmlSchemaValPtr val,
24100 if (val == NULL)
24103 valType = xmlSchemaGetValType(val);
24121 valType, value, val, &len, ws);
24125 valType, value, val, ws);
24197 ret = xmlSchemaAreValuesEqual(facet->val, val);
24299 xmlSchemaValPtr *val,
24347 if (valNeeded && val) {
24349 *val = xmlSchemaNewQNameValue(
24352 *val = xmlSchemaNewQNameValue(NULL,
24373 xmlSchemaValPtr val = NULL;
24452 NULL, value, &val, valNeeded);
24456 value, &val, valNeeded);
24462 value, &val, NULL);
24473 value, &val, valNeeded);
24479 value, &val, node);
24508 (xmlSchemaValType) biType->builtInType, value, val,
24568 if (val == NULL)
24569 val = curVal;
24592 XML_SCHEMAS_UNKNOWN, value, val,
24644 memberLink->type, value, &val, 0, 1, 0);
24671 XML_SCHEMAS_UNKNOWN, value, val,
24690 *retVal = val;
24691 else if (val != NULL)
24692 xmlSchemaFreeValue(val);
24693 } else if (val != NULL)
24694 xmlSchemaFreeValue(val);
24699 if (val != NULL)
24700 xmlSchemaFreeValue(val);
24938 iattr->value, &(iattr->val), 1, 0, 0);
24955 if (xmlSchemaValueGetAsBoolean(iattr->val)) {
25072 if (attr->val != NULL) {
25073 xmlSchemaFreeValue(attr->val);
25074 attr->val = NULL;
25399 iattr->val = iattr->use->defVal;
25402 iattr->val = iattr->decl->defVal;
25408 if (iattr->val == NULL) {
25414 iattr->val = xmlSchemaCopyValue(iattr->val);
25415 if (iattr->val == NULL) {
25531 iattr->node, iattr->typeDef, iattr->value, &(iattr->val),
25571 if (iattr->val == NULL) {
25585 if (xmlSchemaCompareValuesWhtsp(attr->val,
25590 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->use->defVal))
25600 if (xmlSchemaCompareValuesWhtsp(attr->val,
25605 if (! xmlSchemaAreValuesEqual(iattr->val, iattr->decl->defVal))
25780 xmlSchemaValPtr *val)
25827 NULL, inode->typeDef, value, val, 1, 1, 0);
25832 NULL, inode->typeDef->contentTypeDef, value, val, 1, 1, 0);
25891 type, value, &(inode->val), 1, 1, 0));
26060 inode->decl->value, &(inode->val));