Searched refs:schema (Results 51 - 75 of 137) sorted by relevance

123456

/openjdk10/jaxp/test/javax/xml/jaxp/unittest/validation/
H A DJaxpIssue43Test.java53 * @summary Test creating schema from a DOM fragment with namespace.
62 Schema schema = sf.newSchema(sources);
63 Validator validator = schema.newValidator();
75 // Look for <xsd:schema> element in wsdl
78 NodeList schemaList = ((Element) typesList.item(0)).getElementsByTagNameNS("http://www.w3.org/2001/XMLSchema", "schema");
H A DParticlesId005Test.java62 Schema schema = factory.newSchema(new File(getClass().getResource("particlesId005.xsd").getFile()));
66 dbf.setSchema(schema);
H A DParticlesQ013Test.java62 Schema schema = factory.newSchema(new File(getClass().getResource("particlesQ013.xsd").getFile()));
66 dbf.setSchema(schema);
H A DBug6457662.java59 public static final String schema = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" field in class:Bug6457662
60 + "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" elementFormDefault=\"qualified\" attributeFormDefault=\"unqualified\">"
65 + "</xs:schema>";
83 writer.write(schema);
H A DBug6859210.java63 Schema schema = factory.newSchema(new File(getClass().getResource("CREMAS01.xsd").getFile()));
67 dbf.setSchema(schema);
H A DBug4969732.java55 public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + " xmlns:test='jaxp13_test'\n"
57 + "</schema>\n";
67 Schema schema = schemaFactory.newSchema(xsdSource);
68 return schema.newValidatorHandler();
H A DBug6695843Test.java67 Schema schema = schemaFactory.newSchema(domSource);
73 Validator validator = schema.newValidator();
H A DBug6773084Test.java76 private static Schema schema; field in class:Bug6773084Test
83 schema = factory.newSchema(schemaFile);
123 Validator validator = schema.newValidator();
H A DIssueTracker30.java106 Schema schema = factory.newSchema(new File(getClass().getResource(xsdFileName).getFile()));
110 dbf.setSchema(schema);
H A DBug4969042.java56 public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + " xmlns:test='jaxp13_test'\n"
59 + " </complexType>\n" + " </element>\n" + "</schema>\n";
70 Schema schema = schemaFactory.newSchema(xsdSource);
71 return schema.newValidatorHandler();
H A DBug6946312Test.java59 String xmlSchema = "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">\n" + "<xs:element name=\"root\">\n" + "<xs:complexType>\n"
61 + "</xs:schema>";
67 Schema schema = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema").newSchema(new StreamSource(new StringReader(xmlSchema)));
71 saxParserFactory.setSchema(schema);
72 // saxParserFactory.setFeature("http://java.sun.com/xml/schema/features/report-ignored-element-content-whitespace",
H A DMultiOccursTest.java62 Schema schema = factory.newSchema(new File(getClass().getResource("multi-occurs.xsd").getFile()));
66 dbf.setSchema(schema);
H A DOccursWildcardTest.java62 Schema schema = factory.newSchema(new File(getClass().getResource("occurs-wildcard.xsd").getFile()));
66 dbf.setSchema(schema);
H A DOccursTest.java62 Schema schema = factory.newSchema(new File(getClass().getResource("occurs.xsd").getFile()));
66 dbf.setSchema(schema);
H A DOccursWildcardUnbounded.java62 Schema schema = factory.newSchema(new File(getClass().getResource("occurs-wildcard-unbounded.xsd").getFile()));
66 dbf.setSchema(schema);
H A DMultiOccursUnboundedTest.java62 Schema schema = factory.newSchema(new File(getClass().getResource("multi-occurs-unbounded.xsd").getFile()));
66 dbf.setSchema(schema);
H A DOccursUnboundedTest.java62 Schema schema = factory.newSchema(new File(getClass().getResource("occurs-unbounded.xsd").getFile()));
66 dbf.setSchema(schema);
H A DBug4970951.java57 public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + " xmlns:test='jaxp13_test'\n"
61 + " </element>\n" + "</schema>\n";
72 Schema schema = schemaFactory.newSchema(xsdSource);
73 return schema.newValidatorHandler();
H A DBug4970402.java57 public static final String XSD = "<?xml version='1.0'?>\n" + "<schema xmlns='http://www.w3.org/2001/XMLSchema'\n" + " xmlns:test='jaxp13_test'\n"
60 + " <attribute name='id' />\n" + " </complexType>\n" + " </element>\n" + "</schema>\n";
71 Schema schema = schemaFactory.newSchema(xsdSource);
72 return schema.newValidatorHandler();
/openjdk10/jdk/src/java.sql/share/classes/java/sql/
H A DDatabaseMetaData.java642 * Retrieves the database vendor's preferred term for "schema".
644 * @return the vendor term for "schema"
685 * Retrieves whether a schema name can be used in a data manipulation statement.
693 * Retrieves whether a schema name can be used in a procedure call statement.
701 * Retrieves whether a schema name can be used in a table definition statement.
709 * Retrieves whether a schema name can be used in an index definition statement.
717 * Retrieves whether a schema name can be used in a privilege definition statement.
1031 * schema name.
1033 * @return the maximum number of characters allowed in a schema name;
1215 * Only procedure descriptions matching the schema an
1735 getColumnPrivileges(String catalog, String schema, String table, String columnNamePattern) argument
1832 getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) argument
1943 getVersionColumns(String catalog, String schema, String table) argument
2005 getPrimaryKeys(String catalog, String schema, String table) argument
2083 getImportedKeys(String catalog, String schema, String table) argument
2267 getExportedKeys(String catalog, String schema, String table) argument
2553 getIndexInfo(String catalog, String schema, String table, boolean unique, boolean approximate) argument
[all...]
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/schemagen/
H A DXmlSchemaGenerator.java210 return; // this is a special class we introduced for JAX-WS that we *don't* want in the schema
268 // recurse on baseTypes to make sure that we can refer to them in the schema
363 return; // this is a special class we introduced for JAX-WS that we *don't* want in the schema
385 // generate listing per schema
398 group.scd("x-schema::"+(tns.equals("")?"":"tns"));
432 * Write out the schema documents.
457 // schema files when we write
463 Result output = resolver.createOutput(n.uri,"schema"+(out.size()+1)+".xsd");
464 if(output!=null) { // null result means no schema for that namespace
503 * If this schema refer
838 writeArray(ArrayInfo<T, C> a, Schema schema) argument
1438 writeTo(String localName, Schema schema) argument
1453 writeTo(String localName, Schema schema) argument
[all...]
/openjdk10/jaxp/test/javax/xml/jaxp/functional/javax/xml/validation/ptests/
H A DSchemaFactoryTest.java137 Schema schema = sf.newSchema();
138 assertNotNull(schema);
200 public void testNewSchemaWithValidSource(Source schema) throws SAXException, IOException { argument
201 validate(sf.newSchema(schema));
212 public void testNewSchemaWithInvalidSource(Source schema) throws SAXException { argument
213 sf.newSchema(schema);
377 private void validate(Schema schema) throws SAXException, IOException { argument
378 schema.newValidator().validate(new StreamSource(new ByteArrayInputStream(xml)));
H A DTypeInfoProviderTest.java66 Schema schema = sf.newSchema(new File(XML_DIR + "shiporder11.xsd"));
67 validatorHandler = schema.newValidatorHandler();
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DValidatingUnmarshaller.java57 public ValidatingUnmarshaller( Schema schema, XmlVisitor next ) { argument
58 this.validator = schema.newValidatorHandler();
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/parser/
H A DXSOMParser.java130 public void parse( File schema ) throws SAXException, IOException {
131 parse(schema.toURL());
165 * parse a schema. To parse multiple schema files, feed multiple
238 * annotations inside a schema.

Completed in 141 milliseconds

123456