sch:diagnostic
A natural-language message giving more specific details concerning a failed assertion, such as found versus expected values and repair hints.
Element information
Namespace: http://purl.oclc.org/dsdl/schematron
Schema document: schematron.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Any text (mixed) content, intermingled with:
- Choice [0..*]
- Any element Namespace: ##other, Process Contents: skip
- Any element Namespace: ##local, Process Contents: skip
- sch:value-of Finds or calculates values from the instance document to allow clearer assertions and diagnostics
- sch:emph A portion of text that should be rendered with some emphasis.
- sch:dir A section of natural-language text with a direction.
- sch:span A portion of some paragraph that should be rendered in a distinct way, keyed with the class attribute.
from group sch:foreign-element
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
id | [1..1] | xsd:ID | ||
see | [0..1] | sch:uriValue | A name describing the function of the assertion or context node in the pattern. If the assertion has a subject attribute, then the role labels the arc between the context node and any nodes which match the path expression given by the subject attribute. | from group sch:rich |
fpi | [0..1] | sch:fpiValue | A formal public identifier for the schema, phase or other element. | from group sch:rich |
xml:lang | [0..1] | Anonymous | from group sch:rich | |
xml:space | [0..1] | Anonymous | from group sch:rich | |
Any attribute | [0..*] | Namespace: ##other, Process Contents: skip | from group sch:foreign-attributes | |
Any attribute | [0..*] | Namespace: ##local, Process Contents: skip | from group sch:foreign-attributes |
Used in
- Anonymous type of element sch:diagnostics
Sample instance
<sch:diagnostic id="ID">Any text, intermingled with: <!--any element--> </sch:diagnostic>