A grouping of patterns, to name and declare variations in schemas, for example, to support progressive validation. The implementation determines which phase to use for validating documents, for example by user command.<br/>Two names, #ALL and #DEFAULT, have special meanings. The name #ALL is reserved and available for use by implementations to denote that all patterns are active. The name #DEFAULT is reserved and available for use by implementations to denote that the name given in in the defaultPhase attribute on the schema element should be used. If no defaultPhase is specified, then all patterns are active. NOTE:<br/>The names #ALL and #DEFAULT shall not be used in a Schematron schema. They are for use when invoking or configuring schema validation, for example as a command-line parameter.<br/>The icon, see and fpi attributes allow rich interfaces and documentation. |
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:schema |
<xs:element name="phase"> <xs:annotation> <xs:documentation>A grouping of patterns, to name and declare variations in schemas, for example, to support progressive validation. The implementation determines which phase to use for validating documents, for example by user command. <br/>Two names, #ALL and #DEFAULT, have special meanings. The name #ALL is reserved and available for use by implementations to denote that all patterns are active. The name #DEFAULT is reserved and available for use by implementations to denote that the name given in in the defaultPhase attribute on the schema element should be used. If no defaultPhase is specified, then all patterns are active. NOTE: <br/>The names #ALL and #DEFAULT shall not be used in a Schematron schema. They are for use when invoking or configuring schema validation, for example as a command-line parameter. <br/>The icon, see and fpi attributes allow rich interfaces and documentation.</xs:documentation> </xs:annotation> <xs:complexType> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:group ref="sch:foreign"/> <xs:element ref="sch:include"/> <xs:element ref="sch:p"/> <xs:element ref="sch:let"/> <xs:element ref="sch:active"/> </xs:choice> <xs:attribute name="id" use="required" type="xs:ID"> <xs:annotation> <xs:documentation>The required id attribute is the name of the phase.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attributeGroup ref="sch:rich"/> <xs:attributeGroup ref="sch:foreign"/> </xs:complexType> </xs:element> |