Table of contentsAppendices |
3.13 AnnotationsAnnotationsAnnotations provide for human- and machine-targeted annotations of schema components. NOTE: The Annotation Schema Component[top]The Annotation Schema ComponentThe annotation schema component has the following properties: [Annotation Components]
[user_information] is intended for human consumption,
[application_information] for automatic processing. In both
cases, provision is made for an optional URI reference to supplement the local
information, as the value of the [attributes] ensures that when schema authors take advantage of the provision for adding attributes from namespaces other than the XML Schema namespace to schema documents, they are available within the components corresponding to the element items where such attributes appear. Annotations do not participate in valid as such. Provided an annotation itself satisfies all relevant Schema Component Constraint it cannot affect the valid of element information items. XML Representation of Annotation Schema Components[top]XML Representation of Annotation Schema ComponentsAnnotation of schemas and schema components, with material for human or computer consumption, is provided for by allowing application information and human information at the beginning of most major schema elements, and anywhere at the top level of schemas. The XML representation for an annotation schema component is an [annotation] element information item. The correspondences between the properties of that information item and properties of the component it corresponds to are as follows: [The Annotation Schema Component]The annotation component corresponding to the [annotation] element in the example above will have one element item in each of its [user_information] and [application_information] and one attribute item in its [attributes]. Constraints on XML Representations of Annotations[top]Constraints on XML Representations of Annotations Annotation Definition Representation OKIn addition to the conditions imposed on [annotation] element information items by the schema for schemas, the corresponding annotation must satisfy the conditions set out in [Constraints on Annotation Schema Components]. Annotation Validation Rules[top]Annotation Validation RulesNone as such. Annotation Information Set Contributions[top]Annotation Information Set ContributionsNone as such: the addition of annotations to the post-schema-validation infoset is covered by the post-schema-validation infoset contributions of the enclosing components. Constraints on Annotation Schema Components[top]Constraints on Annotation Schema ComponentsAll annotations (see [Annotations]) must satisfy the following constraint. Annotation CorrectThe values of the properties of an annotation must be as described in the property tableau in [The Annotation Schema Component], modulo the impact of [Missing Sub-components]. |