A natural-language message giving more specific details concerning a failed assertion, such as found versus expected values and repair hints. NOTE:<br/>In multiple languages may be supported by using a different diagnostic element for each language, with the appropriate xml:lang language attribute, and referencing all the unique identifiers of the diagnostic elements in the diagnostics attribute of the assertion.<br/>An implementation is not required to make use of this element. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
fpi | sch:fpiValue | optional |
|
||||
icon | sch:uriValue | optional |
|
||||
id | xs:ID | required |
|
||||
see | sch:uriValue | optional |
|
||||
xml:lang | union of(xs:language, restriction of xs:string) | optional |
|
||||
xml:space | restriction of xs:NCName | optional | |||||
Wildcard: ANY attribute from ANY namespace OTHER than 'http://purl.oclc.org/dsdl/schematron' |
Element | sch:diagnostics |
<xs:element name="diagnostic"> <xs:annotation> <xs:documentation>A natural-language message giving more specific details concerning a failed assertion, such as found versus expected values and repair hints. NOTE: <br/>In multiple languages may be supported by using a different diagnostic element for each language, with the appropriate xml:lang language attribute, and referencing all the unique identifiers of the diagnostic elements in the diagnostics attribute of the assertion. <br/>An implementation is not required to make use of this element.</xs:documentation> </xs:annotation> <xs:complexType mixed="true"> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:group ref="sch:foreign"/> <xs:element ref="sch:value-of"/> <xs:element ref="sch:emph"/> <xs:element ref="sch:dir"/> <xs:element ref="sch:span"/> </xs:choice> <xs:attribute name="id" use="required" type="xs:ID"> <xs:annotation> <xs:documentation>The unique identifier with the schema for the diagnostic element.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attributeGroup ref="sch:rich"/> <xs:attributeGroup ref="sch:foreign"/> </xs:complexType> </xs:element> |