* xmlSchemaCheckTypeDefCircular: * @item: the complex/simple type definition * @ctxt: the parser context * @name: the name * * Checks for circular type definitions. */
| 14941 | * Checks for circular type definitions. |
| 14942 | */ |
| 14943 | static void |
| 14944 | xmlSchemaCheckTypeDefCircular(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 |
no test coverage detected