Home | History | Annotate | Download | only in libxml2

Lines Matching refs:facet

604  * @facet:  the facet name
605 * @val: the facet value
609 * Function provided by a type library to check a value facet
614 const xmlChar * facet,
653 xmlRelaxNGFacetCheck facet; /* the facet check function */
2469 * @facet: the facet name
2470 * @val: the facet value
2474 * Function provided by a type library to check a value facet
2484 xmlSchemaFacetPtr facet;
2496 facet = xmlSchemaNewFacet();
2497 if (facet == NULL)
2501 facet->type = XML_SCHEMA_FACET_MININCLUSIVE;
2503 facet->type = XML_SCHEMA_FACET_MINEXCLUSIVE;
2505 facet->type = XML_SCHEMA_FACET_MAXINCLUSIVE;
2507 facet->type = XML_SCHEMA_FACET_MAXEXCLUSIVE;
2509 facet->type = XML_SCHEMA_FACET_TOTALDIGITS;
2511 facet->type = XML_SCHEMA_FACET_FRACTIONDIGITS;
2513 facet->type = XML_SCHEMA_FACET_PATTERN;
2515 facet->type = XML_SCHEMA_FACET_ENUMERATION;
2517 facet->type = XML_SCHEMA_FACET_WHITESPACE;
2519 facet->type = XML_SCHEMA_FACET_LENGTH;
2521 facet->type = XML_SCHEMA_FACET_MAXLENGTH;
2523 facet->type = XML_SCHEMA_FACET_MINLENGTH;
2525 xmlSchemaFreeFacet(facet);
2528 facet->value = val;
2529 ret = xmlSchemaCheckFacet(facet, typ, NULL, type);
2531 xmlSchemaFreeFacet(facet);
2534 ret = xmlSchemaValidateFacet(typ, facet, strval, value);
2535 xmlSchemaFreeFacet(facet);
2756 xmlRelaxNGFacetCheck facet,
2784 lib->facet = facet;
8624 if (lib->facet != NULL) {
8625 tmp = lib->facet(lib->data, define->name, cur->name,