/** * Get the top-level schema type definition with a given QName. * * @param name the name of the required schema type * @return the schema type , or null if there is none * with this name. * @since 9.7 */ /*@Nullable*/ public SchemaType getSchemaType(StructuredQName name) { if (name.hasURI(NamespaceConstant.SCHEMA)) { return BuiltInType.getSchemaTypeByLocalName(name.getLocalPart()); } return null; }
/** * Get the top-level schema type definition with a given QName. * * @param name the name of the required schema type * @return the schema type , or null if there is none * with this name. * @since 9.7 */ /*@Nullable*/ public SchemaType getSchemaType(StructuredQName name) { if (name.hasURI(NamespaceConstant.SCHEMA)) { return BuiltInType.getSchemaTypeByLocalName(name.getLocalPart()); } return null; }
SchemaType t = BuiltInType.getSchemaTypeByLocalName(lname); if (t == null) { compileError("Unknown built-in type " + typeAtt, "XTSE1520");
SchemaType t = BuiltInType.getSchemaTypeByLocalName(lname); if (t == null) { compileError("Unknown built-in type " + typeAtt, "XTSE1520");