/libcore/luni/src/main/java/javax/xml/validation/ |
package.html | 7 that an XML document is an instance of a specified XML <em>schema</em>. An XML schema defines the 12 There are a number of popular technologies available for creating an XML schema. Some of the most 15 <li><strong>Document Type Definition (DTD)</strong> - XML's built-in schema language.</li> 16 <li><strong><a href="http://www.w3.org/XML/Schema">W3C XML Schema (WXS)</a></strong> - an object-oriented XML schema 21 user-friendly XML schema language. RNG schemas may also use types to constrain XML character data. 25 <li><strong><a href="http://www.schematron.com/">Schematron</a></strong> - a rules-based XML schema 28 with other schema languages. Schematron is intended to supplement a schema written i [all...] |
SchemaFactory.java | 33 * Factory that creates {@link Schema} objects. Entry-point to 37 * {@link SchemaFactory} is a schema compiler. It reads external 53 * <h2><a name="schemaLanguage"></a>Schema Language</h2> 55 * This spec uses a namespace URI to designate a schema language. 59 * is only required to support W3C XML Schema 1.0. However, 60 * if it chooses to support other schema languages listed here, 64 * Schema languages not listed here are expected to 67 * implementations for other schema languages at run-time. 89 * <td><a href="http://www.w3.org/TR/xmlschema-1">W3C XML Schema 1.0</a></td> 118 * schema language and return it.</p [all...] |
Schema.java | 18 // $Id: Schema.java 446598 2006-09-15 12:55:40Z jeremias $ 30 * A {@link Schema} object is thread safe and applications are 34 * A {@link Schema} object is immutable in the sense that it shouldn't 37 * {@link Schema}, it must always produce the same result. 40 * A {@link Schema} object is usually created from {@link SchemaFactory}. 43 * Two kinds of validators can be created from a {@link Schema} object. 52 * In other words, if you parse the same schema twice, you may 57 * @see <a href="http://www.w3.org/TR/xmlschema-1/">XML Schema Part 1: Structures</a> 62 public abstract class Schema { 70 protected Schema() { [all...] |
/frameworks/base/test-runner/src/android/test/ |
DatabaseTestUtils.java | 33 * Compares the schema of two databases and asserts that they are equal. 34 * @param expectedDb the db that is known to have the correct schema 35 * @param db the db whose schema should be checked 39 Set<String> schema = getSchemaSet(db); local 40 MoreAsserts.assertEquals(expectedSchema, schema);
|
/libcore/luni/src/main/java/org/w3c/dom/ |
TypeInfo.java | 19 * name properties, and depends on the document's schema. 20 * <p> If the document's schema is an XML DTD [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>], the values 35 * <p> If the document's schema is an XML Schema [<a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1</a>] 36 * , the values are computed as follows using the post-schema-validation 41 * <p ><b>Note:</b> At the time of writing, the XML Schema specification does 88 * <p ><b>Note:</b> Other schema languages are outside the scope of the W3C 110 * If the document's schema is an XML Schema [<a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1</a> [all...] |
DOMConfiguration.java | 21 * specifying the type of the schema that must be used when the validation 100 * <dd>[<em>optional</em>] Expose schema normalized values in the tree, such as <a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#key-nv'>XML 101 * Schema normalized values</a> in the case of XML Schema. Since this parameter requires to have schema 104 * <code>false</code> has no effect and no schema-normalization will happen. 108 * meant for schema languages other than Document Type Definition (DTD). </dd> 111 * <dd>[<em>required</em>] (<em>default</em>) Do not perform schema normalization on the tree. </dd> 159 * validate-if-schema", "entities", "datatype-normalization", "cdata-sections 187 * the schema, in the document. See also the sections "Declaring Namespaces [all...] |
/external/libxml2/ |
xmlschemas.c | 2 * schemas.c : implementation of the XML Schema handling and 3 * schema validity checking 15 * - if we don't intend to use the schema for schemas, we 16 * need to validate all schema attributes (ref, type, name) 21 * - For xsi-driven schema acquisition, augment the IDCs after every 29 * - http://lists.w3.org/Archives/Public/www-xml-schema-comments/2005JulSep/0337.html 36 * Schema Component Constraint: 45 * is schema construction via an API is implemented. 205 * Macros for schema buckets. 299 #define WXS_SCHEMA(ctx) (ctx)->schema 440 xmlSchemaPtr schema; member in struct:_xmlSchemaImport 602 xmlSchemaPtr schema; \/* The main schema in use *\/ member in struct:_xmlSchemaParserCtxt 971 xmlSchemaPtr schema; \/* The schema in use *\/ member in struct:_xmlSchemaValidCtxt [all...] |
schematron.c | 2 * schematron.c : implementation of the Schematron schema validity checking 130 const xmlChar *name; /* schema name */ 163 xmlSchematronPtr schema; member in struct:_xmlSchematronValidCtxt 192 xmlSchematronPtr schema; member in struct:_xmlSchematronParserCtxt 293 * @ctxt: the schema parsing context 331 xmlSchematronPErrMemory(ctxt, "allocating schema test", node); 378 * @ctxt: the schema parsing context 379 * @schema: a schema structure 389 xmlSchematronAddRule(xmlSchematronParserCtxtPtr ctxt, xmlSchematronPtr schema, 1748 xmlSchematronPtr schema = NULL; local [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
ElementType.java | 17 This class represents an element type in the schema. 19 a flags vector, default attributes, and a schema to which it belongs. 20 @see Schema 33 private Schema theSchema; // schema to which this belongs 37 but it's better to use Schema.element() instead. 46 @param schema The schema with which this element type will be 50 public ElementType(String name, int model, int memberOf, int flags, Schema schema) { 164 public Schema schema() {return theSchema;} method in class:ElementType [all...] |
Schema.java | 21 Abstract class representing a TSSL schema. 25 public abstract class Schema { 47 Add or replace an element type for this schema. 61 Get the root element of this schema 69 Add or replace a default attribute for an element type in this schema. 88 Specify natural parent of an element in this schema. 106 Add to or replace a character entity in this schema. 139 Return the URI (namespace name) of this schema. 147 Return the prefix of this schema. 155 Change the URI (namespace name) of this schema [all...] |
/external/jdiff/src/ |
comments.xsd | 2 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 6 Schema for JDiff comments. 31 </xsd:schema
|
/development/build/tools/ |
mk_sdk_repo_xml.sh | 22 Usage: $0 output.xml xml-schema [type [os zip[:dest]]*...]* 43 SCHEMA="$1" 44 [[ ! -f "$SCHEMA" ]] && error "Invalid XML schema name: $SCHEMA." 47 # Get XML:NS for SDK from the schema 48 XMLNS=$(sed -n '/xmlns:.*schemas.android.com\/sdk\/android\//s/.*"\(.*\)".*/\1/p' "$SCHEMA") 49 [[ -z "$XMLNS" ]] && error "Failed to find xmlns:sdk in $SCHEMA." 52 # Get the root element from the schema. This is the first element 54 ROOT=$(sed -n -e '/xsd:element.*name="sdk-/s/.*name="\(sdk-[^"]*\)".*/\1/p' "$SCHEMA") [all...] |
/hardware/ril/mock-ril/src/cpp/ |
protobuf_v8.cpp | 99 class Schema : public ObjectWrap { 101 Schema(Handle<Object> self, const DescriptorPool* pool) 103 DBG("Schema::Schema E:"); 107 DBG("Schema::Schema X:"); 110 virtual ~Schema() { 111 DBG("~Schema::Schema E:"); 114 DBG("~Schema::Schema X:") 491 Schema* schema = UnwrapThis<Schema>(args); local [all...] |
/external/clearsilver/python/examples/trans/ |
TODO | 15 - extend database schema to handle more than one application
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
DocumentBuilderFactory.java | 22 import javax.xml.validation.Schema; 127 * To use modern schema languages such as W3C XML Schema or 130 * method <tt>false</tt>, then use the {@link #setSchema(Schema)} 131 * method to associate a schema to a parser. 315 * Examples include entity expansion limits and XML Schema constructs that would consume large amounts of resources. 358 * Gets the {@link Schema} object specified through 359 * the {@link #setSchema(Schema schema)} method. 368 * the {@link Schema} object that was last set throug [all...] |
SAXParserFactory.java | 22 import javax.xml.validation.Schema; 141 * To use modern schema languages such as W3C XML Schema or 144 * method <tt>false</tt>, then use the {@link #setSchema(Schema)} 145 * method to associate a schema to a parser. 192 * Examples include entity expansion limits and XML Schema constructs that would consume large amounts of resources. 241 * Gets the {@link Schema} object specified through 242 * the {@link #setSchema(Schema schema)} method. 251 * the {@link Schema} object that was last set throug [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeConstants.java | 204 * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>dateTime</code>.</p> 209 * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>time</code>.</p> 214 * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>date</code>.</p> 219 * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gYearMonth</code>.</p> 224 * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gMonthDay</code>.</p> 229 * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gYear</code>.</p> 234 * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gMonth</code>.</p> 239 * <p>Fully qualified name for W3C XML Schema 1.0 datatype <code>gDay</code>.</p> 244 * <p>Fully qualified name for W3C XML Schema datatype <code>duration</code>.</p> 259 * W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes [all...] |
package.html | 12 <meta name="@see" content='<a href="http://www.w3.org/TR/xmlschema-2/#dateTime">W3C XML Schema 1.0 Part 2, Section 3.2.7-14</a>' /> 26 <li><a href="http://www.w3.org/TR/xmlschema-2/#dateTime">W3C XML Schema 1.0 Part 2, Section 3.2.7-14</a></li> 36 <th>W3C XML Schema Data Type</th> 108 W3C XML Schema data types that have a "<em>natural</em>" mapping to Java types are defined by 109 JSR 31: Java™ Architecture for XML Binding (JAXB) Specification, Binding XML Schema to Java Representations. 110 JAXB defined mappings for XML Schema built-in data types include: 137 <li>See <a href="http://www.w3.org/TR/xmlschema-2/#dateTime">W3C XML Schema 1.0 Part 2, Section 3.2.7-14</a></li>
|
/external/libxml2/include/libxml/ |
xmlschemas.h | 3 * Description: interface to the XML Schemas handling and schema validity 65 * This is the set of XML Schema validation options. 148 xmlSchemaFree (xmlSchemaPtr schema); 152 xmlSchemaPtr schema); 178 xmlSchemaNewValidCtxt (xmlSchemaPtr schema);
|
/hardware/ril/mock-ril/src/js/ |
mock_ril.js | 53 * Schema is defined in protobuf_v8 and converts between 56 * Object Schema::parse(Buffer protobuf) 57 * Buffer Schema::serialize(object) 91 // Get the ril description file and create a schema 93 var rilSchema = new Schema(readFileToBuffer('ril.desc')); 94 var ctrlSchema = new Schema(readFileToBuffer('ctrl.desc')); 142 function Request(reqNum, token, protobuf, schema, schemaName) { 146 this.data = schema[packageNameAndSeperator + schemaName].parse(protobuf); 214 * is to be sent to and the name of the schema 219 * DisptachTable[RIL_REQUEST_xxx].Entry.schemaName = 'Name-of-schema'; [all...] |
/packages/apps/Gallery3D/src/com/cooliris/picasa/ |
PicasaContentProvider.java | 60 addMapping(AUTHORITY, "photos", "vnd.cooliris.picasa.photo", PhotoEntry.SCHEMA); 61 addMapping(AUTHORITY, "albums", "vnd.cooliris.picasa.album", AlbumEntry.SCHEMA); 82 PhotoEntry.SCHEMA.createTables(db); 83 AlbumEntry.SCHEMA.createTables(db); 84 UserEntry.SCHEMA.createTables(db); 91 PhotoEntry.SCHEMA.dropTables(db); 92 AlbumEntry.SCHEMA.dropTables(db); 93 UserEntry.SCHEMA.dropTables(db); 117 if (PhotoEntry.SCHEMA.queryWithId(db, id, photo)) { 130 if (AlbumEntry.SCHEMA.queryWithId(db, id, album)) 228 EntrySchema schema = UserEntry.SCHEMA; local [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
DOMImplementationLS.java | 55 * @param schemaType An absolute URI representing the type of the schema 59 * <code>LSParser</code> for any kind of schema types (i.e. the 60 * LSParser will be free to use any schema found), use the value 62 * <p ><b>Note:</b> For W3C XML Schema [<a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1</a>] 66 * <code>"http://www.w3.org/TR/REC-xml"</code>. Other Schema languages 81 * NOT_SUPPORTED_ERR: Raised if the requested mode or schema type is
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutDevicesXsd.java | 27 import javax.xml.validation.Schema;
32 * Public constants for the layout device description XML Schema.
41 * The "layout-devices" element is the root element of this schema.
117 * Helper to get an input stream of the layout config XML schema.
127 Schema schema = factory.newSchema(new StreamSource(xsdStream));
local 128 Validator validator = schema.newValidator();
|
/libcore/luni/src/main/java/org/apache/xml/serializer/utils/ |
SerializerMessages_sv.java | 57 "Kan inte s\u00e4tta schema fr\u00e5n null-str\u00e4ng"}, 75 "Schema saknas i URI: {0}"}, 93 "Schema kr\u00e4vs!"}
|
/libcore/luni/src/main/java/java/sql/ |
DatabaseMetaData.java | 438 * specified SQL User Defined Type (UDT) for a specified schema and catalog. 451 * <li>{@code TYPE_SCHEM} - String - the type schema name (possibly {@code 491 * this gives the schema of the table corresponding to the attribute's scope. 507 * a schema name pattern. {@code null} is used to imply no 508 * narrowing of the search by a schema name. Otherwise, the name 509 * must match a schema name in the database, with "" used to 510 * retrieve those without a schema name. 566 * @param schema 567 * a schema name pattern. {@code null} is used to imply no 568 * narrowing of the search by schema name. Otherwise, the nam [all...] |