Introducing Design Patterns in XML Schemas.
XML Schema definition (XSD) language provides three different but related mechanisms for using one schema within another schema. These mechanisms are importing a schema, including a schema, and redefining a schema. For a brief summary of these mechanisms and how they differ, see Schemas That Use Other Schemas.
A simpleType type is derived from an XML schema built-in data type. For example, to create a new simpleType type called myInt that has range of values between 10000 and 99999, you can base the definition of myInt on the built-in data type Integer. Each XML schema built-in data type is mapped to an InterConnect data type.
A grammar-based schema specifies what elements may be used in an XML document, the order of the elements, the number of occurrences of each element, and finally the content and datatype of each element and attribute.; An assertion-based schema makes assertions about the relationships that must hold between the elements and attributes in an XML instance document.
Schematron is a rule-based validation language for making assertions about the presence or absence of patterns in XML trees. It is a structural schema language expressed in XML using a small number of elements and XPath. In a typical implementation, the Schematron schema XML is processed into normal XSLT code for deployment anywhere that XSLT can be used.
Schema processors will not necessarily check that the regular expressions represent a subset, but it will instead validate instances against the patterns of both the derived type and all the ancestor types, effectively taking the intersection of the pattern values. 9.3.4 Fixed facets.
Important. Do not use schemas from unknown or untrusted sources or locations. Doing so will compromise the security of your code. XML schemas (including inline schemas) are inherently vulnerable to denial of service attacks; do not accept them in untrusted scenarios.
The web.xml file contains information about the structure and external dependencies of web components in the module and describes how the components are used at run time. For Java API for XML-Based Web Services (JAX-WS) applications, you can customize the URL pattern in the web.xml file.