MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlSchemaValPredefTypeNode

Function xmlSchemaValPredefTypeNode

ThirdParty/libxml2/vtklibxml2/xmlschemastypes.c:3614–3619  ·  view source on GitHub ↗

* xmlSchemaValPredefTypeNode: * @type: the predefined type * @value: the value to check * @val: the return computed value * @node: the node containing the value * * Check that a value conforms to the lexical space of the predefined type. * if true a value is computed and returned in @val. * * Returns 0 if this validates, a positive error code number otherwise * and -1 in case o

Source from the content-addressed store, hash-verified

3612 * and -1 in case of internal or API error.
3613 */
3614int
3615xmlSchemaValPredefTypeNode(xmlSchemaTypePtr type, const xmlChar *value,
3616 xmlSchemaValPtr *val, xmlNodePtr node) {
3617 return(xmlSchemaValAtomicType(type, value, val, node, 0,
3618 XML_SCHEMA_WHITESPACE_UNKNOWN, 1, 1, 0));
3619}
3620
3621/**
3622 * xmlSchemaValPredefTypeNodeNoNorm:

Calls 1

xmlSchemaValAtomicTypeFunction · 0.85

Tested by

no test coverage detected