* xmlSchemaGetPredefinedType: * @name: the type name * @ns: the URI of the namespace usually "http://www.w3.org/2001/XMLSchema" * * Lookup a type in the default XML Schemas type library * * Returns the type if found, NULL otherwise */
| 1302 | * Returns the type if found, NULL otherwise |
| 1303 | */ |
| 1304 | xmlSchemaTypePtr |
| 1305 | xmlSchemaGetPredefinedType(const xmlChar *name, const xmlChar *ns) { |
| 1306 | if ((xmlSchemaTypesInitialized == 0) && |
| 1307 | (xmlSchemaInitTypes() < 0)) |
| 1308 | return (NULL); |
| 1309 | if (name == NULL) |
| 1310 | return(NULL); |
| 1311 | return((xmlSchemaTypePtr) xmlHashLookup2(xmlSchemaTypesBank, name, ns)); |
| 1312 | } |
| 1313 | |
| 1314 | /** |
| 1315 | * xmlSchemaGetBuiltInListSimpleTypeItemType: |
no test coverage detected