HomeSort by relevance Sort by last modified time
    Searched refs:schema (Results 1 - 25 of 98) sorted by null

1 2 3 4

  /external/chromium/chrome/common/
json_schema_validator_unittest_base.cc 85 scoped_ptr<DictionaryValue> schema(LoadDictionary("complex_schema.json"));
88 ASSERT_TRUE(schema.get());
91 ExpectValid(TEST_SOURCE, instance.get(), schema.get(), NULL);
93 ExpectValid(TEST_SOURCE, instance.get(), schema.get(), NULL);
95 ExpectNotValid(TEST_SOURCE, instance.get(), schema.get(), NULL, "1",
104 ExpectNotValid(TEST_SOURCE, instance.get(), schema.get(), NULL,
115 scoped_ptr<DictionaryValue> schema(new DictionaryValue());
116 schema->SetString("type", "string");
117 schema->SetString("pattern", "foo+");
121 schema.get(), NULL)
    [all...]
json_schema_validator.h 21 // This class implements a subset of JSON Schema.
22 // See: http://www.json.com/json-schema-proposal/ for more details.
27 // The following features of JSON Schema are not implemented:
46 // There are also these departures from the JSON Schema proposal:
50 // - by default an "object" typed schema does not allow additional properties.
51 // if present, "additionalProperties" is to be a schema against which all
87 // Classifies a Value as one of the JSON schema primitive types.
99 // Creates a validator for the specified schema.
101 // NOTE: This constructor assumes that |schema| is well formed and valid.
104 explicit JSONSchemaValidator(DictionaryValue* schema);
    [all...]
json_schema_validator_unittest.cc 18 Value* instance, DictionaryValue* schema,
20 JSONSchemaValidator validator(schema, types);
32 Value* instance, DictionaryValue* schema,
36 JSONSchemaValidator validator(schema, types);
json_schema_validator.cc 62 "Unknown schema reference: *.";
140 JSONSchemaValidator::JSONSchemaValidator(DictionaryValue* schema)
141 : schema_root_(schema), default_allow_additional_properties_(false) {
144 JSONSchemaValidator::JSONSchemaValidator(DictionaryValue* schema,
146 : schema_root_(schema), default_allow_additional_properties_(false) {
171 DictionaryValue* schema,
173 // If this schema defines itself as reference type, save it in this.types.
175 if (schema->GetString("id", &id)) {
178 types_[id] = schema;
180 CHECK(iter->second == schema);
224 ValidateArray(static_cast<ListValue*>(instance), schema, path); local
226 ValidateString(static_cast<StringValue*>(instance), schema, path); local
    [all...]
json_schema_validator_unittest_base.h 32 Value* instance, DictionaryValue* schema,
36 Value* instance, DictionaryValue* schema,
  /tools/motodev/src/plugins/emulator/
build.properties 22 schema/,\
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
Utils.java 154 * @param schema
155 * a schema namespace
161 static boolean isInternalProperty(String schema, String prop)
165 if (NS_DC.equals(schema))
172 else if (NS_XMP.equals(schema))
181 else if (NS_PDF.equals(schema))
190 else if (NS_TIFF.equals(schema))
199 else if (NS_EXIF.equals(schema))
207 else if (NS_EXIF_AUX.equals(schema))
211 else if (NS_PHOTOSHOP.equals(schema))
    [all...]
  /libcore/luni/src/main/java/javax/xml/validation/
SchemaFactory.java 33 * Factory that creates {@link Schema} objects&#x2E; 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...]
  /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);
  /external/stlport/stlport/
locale.h 23 # error STLport include schema violation
  /ndk/sources/cxx-stl/stlport/stlport/
locale.h 23 # error STLport include schema violation
  /prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/
locale.h 23 # error STLport include schema violation
  /prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/
locale.h 23 # error STLport include schema violation
  /prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/
locale.h 23 # error STLport include schema violation
  /prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/
locale.h 23 # error STLport include schema violation
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
XSLTElementDef.java 55 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
66 schema.addAvailableElement(new QName(namespace, name));
68 schema.addAvailableElement(new QName(namespace, nameAlias));
84 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
96 schema.addAvailableElement(new QName(namespace, name));
98 schema.addAvailableElement(new QName(namespace, nameAlias));
116 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
121 this(schema, namespace, name, nameAlias,
142 XSLTElementDef(XSLTSchema schema, String namespace, String name, String nameAlias,
148 this(schema, namespace, name, nameAlias
    [all...]
  /external/libxml2/
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...]
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...]
  /external/libxml2/include/libxml/
schematron.h 98 xmlSchematronFree (xmlSchematronPtr schema);
129 xmlSchematronNewValidCtxt (xmlSchematronPtr schema,
relaxng.h 155 xmlRelaxNGFree (xmlRelaxNGPtr schema);
159 xmlRelaxNGPtr schema);
162 xmlRelaxNGPtr schema);
181 xmlRelaxNGNewValidCtxt (xmlRelaxNGPtr schema);
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/
ValidateSysImgXmlTest.java 28 import javax.xml.validation.Schema;
35 * Tests local validation of an SDK Repository sample XMLs using an XML Schema validator.
57 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
58 validator = schema.newValidator();
70 /** Validates that NS_LATEST_VERSION points to the max available XSD schema. */
74 // There should be a schema matching NS_LATEST_VERSION
77 // There should NOT be a schema with NS_LATEST_VERSION+1
ValidateAddonsListXmlTest.java 28 import javax.xml.validation.Schema;
35 * Tests local validation of an SDK Addon-List sample XMLs using an XML Schema validator.
54 Schema schema = factory.newSchema(new StreamSource(xsdStream)); local
55 validator = schema.newValidator();
66 /** Validates that NS_LATEST_VERSION points to the max available XSD schema. */
70 // There should be a schema matching NS_LATEST_VERSION
73 // There should NOT be a schema with NS_LATEST_VERSION+1
  /external/webkit/Source/WebCore/inspector/front-end/
InjectedFakeWorker.js 269 this.schema = parts[1];
283 protocol: this.schema + ":",
303 return new URL(this.schema + "://" + this.host + this.port + path + relParts[2]);
308 function normalizePort(schema, port)
311 return (schema === "https" && portNo == 443 || schema === "http" && portNo == 80) ? "" : port;
316 return this.schema === other.schema &&
318 normalizePort(this.schema, this.port) === normalizePort(other.schema, other.port)
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
XMPMetaFactory.java 31 private static XMPSchemaRegistry schema = new XMPSchemaRegistryImpl(); field in class:XMPMetaFactory
49 return schema;
241 * Resets the schema registry to its original state (creates a new one).
247 schema = new XMPSchemaRegistryImpl();
  /external/chromium/chrome/common/extensions/docs/js/
api_page_generator.js 11 * 2) A file located at SCHEMA which is shared with the extension system and
23 var SCHEMA = "../api/extension_api.json";
40 // The full extension api schema
41 var schema; variable
116 // Now the page is composed with the authored content, we fetch the schema
122 schemas_to_retrieve.push(SCHEMA);
127 schema = [];
130 schema = schema.concat(JSON.parse(content));
206 schema.forEach(function(mod)
    [all...]

Completed in 726 milliseconds

1 2 3 4