Validating database schema
The definitive representation of an Alfresco repository schema for a given schema version on a vendor specific RDBMS.
The reference schema is a model for what should be present in the database after installing or upgrading an Alfresco repository to particular version.
If any changes are made to the database schema during server start-up (such as when installing Alfresco afresh) then the schemacomp tool performs both schema dumping and validation as described below.
Error 1824: Element 'child_integer': 'Error condition.' is not a valid value of the atomic type 'xs:integer'.
To replicate schema changes The schema changes listed above are replicated by default.
validates an XML Schema file, it expands all the included modules so the entire schema hierarchy is validated.
That xmlns attribute specifies a "default namespace" and means that the root element and its children are in this namespace.
What i misunderstood is that, there's no way with the DOM api to specify a "default namespace" for each children of the root element. NET supports the JSON Schema standard via the Json Schema and Json Validating Reader classes. To skip the overhead of loading JSON into a JObject/JArray, validating the JSON, and then deserializing the JSON into a class, Json Validating Reader can be used with Json Serializer to validate JSON while the object is being deserialized.