[Home] [By Thread] [By Date] [Recent Entries]
SGML has the idea of a "document type" which had a "definition", part of which was achieved by the "declarations" i.e. the DTD. Due to the limitations of any schema language, the document type definition would never be entirely specified using the various declarations available. XML Schemas does not have the concept of a document type or language as such: it has groupings of element types of namespaces, at least one of which will be a global declarations suitable for the root element. For Roger's enquiry, perhaps saying that the schema declares element types in namespaces, and valid documents conform to these types, is a good approach. (Schematron also does not have an idea of a document type: it has patterns arranged into phases, where the context of some rules may be the document element. A "Pattern" is an ad hoc "type".) On Thu, Jan 4, 2018 at 3:24 AM, Michael Kay <mike@s...> wrote: The essence of the semantics of XSD is that the specification defines a process, variously called "validation" or "assessment", that takes a schema and an instance document as input and produces an assessment outcome as its result.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



