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

Function xmlSchemaCheckTypeDefCircular

ThirdParty/libxml2/vtklibxml2/xmlschemas.c:14943–14953  ·  view source on GitHub ↗

* xmlSchemaCheckTypeDefCircular: * @item: the complex/simple type definition * @ctxt: the parser context * @name: the name * * Checks for circular type definitions. */

Source from the content-addressed store, hash-verified

14941 * Checks for circular type definitions.
14942 */
14943static void
14944xmlSchemaCheckTypeDefCircular(xmlSchemaTypePtr item,
14945 xmlSchemaParserCtxtPtr ctxt)
14946{
14947 if ((item == NULL) ||
14948 (item->type == XML_SCHEMA_TYPE_BASIC) ||
14949 (item->baseType == NULL))
14950 return;
14951 xmlSchemaCheckTypeDefCircularInternal(ctxt, item,
14952 item->baseType);
14953}
14954
14955/*
14956* Simple Type Definition Representation OK (src-simple-type) 4

Callers 1

xmlSchemaFixupComponentsFunction · 0.85

Tested by

no test coverage detected