sch:assertReportType

Complex Type Information

Model

((ANY element from ANY namespace OTHER than 'http://purl.oclc.org/dsdl/schematron' | ANY element from LOCAL namespace 'No Namespace')) | sch:name | sch:value-of | sch:emph | sch:dir | sch:span

Attributes

QName Type Fixed Default Use Inheritable Annotation
diagnostics xs:IDREFS optional
The optional diagnostics attribute is a reference to further diagnostic
information.
flag sch:flagValue optional
The flag attribute allows more detailed outcomes. A boolean variable
with initial value false. A flag is implicitly declared by an assertion or rule having a
flag attribute with that name. The value of a flag becomes true when an assertion with
that flag fails or a rule with that flag fires. The purpose of flags is to convey state
or severity information to a subsequent process.
fpi sch:fpiValue optional
A formal public identifier for the schema, phase or other element.
icon sch:uriValue optional
The location of a graphics file containing some visible representation of
the severity, significance or other grouping of the associated element.
id xs:ID optional
The unique identifier with the schema for the element.
role sch:roleValue optional
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.
see sch:uriValue optional
The URI of external information of interest to maintainers and users of
the schema.
sqf:default-fix xs:string optional
This attribute sets a default QuickFix for the Schematron assert or report. The default QuickFix must also be referred by the<icode type="attribute">sqf:fix</icode>attribute.
Value
The ID of a QuickFix which is referred by the<icode type="attribute">sqf:fix</icode>attribute.
sqf:fix xs:string optional
This attribute refers to one or more QuickFixes which should be assigned to the Schematron assert or report. Each referred QuickFix must be defined globally or locally for the same Schematron rule.
The reference works with the ID of the QuickFix. If there is a local and a global QuickFix having the same ID, the local QuickFix will be selected.
Value
A list of IDs of the referred QuickFixes separated by white space.
subject sch:pathValue optional
A path allowing more precise specification of nodes. The path expression
is evaluated in the context of the context node of the current rule. If no subject
attribute is specified, the current subject node may be used.
test sch:exprValue required
The required test attribute is an assertion test evaluated in the
current context. If the test evaluates positive, the assert succeeds.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.
xml:space restriction of xs:NCName optional
Wildcard: ANY attribute from ANY namespace OTHER than 'http://purl.oclc.org/dsdl/schematron'

Used By

Source

<xs:complexType mixed="true" name="assertReportType">
  <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:group ref="sch:foreign"/>
    <xs:element ref="sch:name"/>
    <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="test" use="required" type="sch:exprValue">
    <xs:annotation>
      <xs:documentation>The required test attribute is an assertion test evaluated in the current context. If the test evaluates positive, the assert succeeds.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="flag" type="sch:flagValue">
    <xs:annotation>
      <xs:documentation>The flag attribute allows more detailed outcomes. A boolean variable with initial value false. A flag is implicitly declared by an assertion or rule having a flag attribute with that name. The value of a flag becomes true when an assertion with that flag fails or a rule with that flag fires. The purpose of flags is to convey state or severity information to a subsequent process.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="id" type="xs:ID">
    <xs:annotation>
      <xs:documentation>The unique identifier with the schema for the element.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="diagnostics" type="xs:IDREFS">
    <xs:annotation>
      <xs:documentation>The optional diagnostics attribute is a reference to further diagnostic information.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attributeGroup ref="sch:rich"/>
  <xs:attributeGroup ref="sch:linkable"/>
  <xs:attributeGroup ref="sch:foreign"/>
  <xs:attributeGroup ref="sqf:messageAttributes"/>
</xs:complexType>