Difference between revisions of "DTr1 URL"

(Automated ADBot page content)
(Automated ADBot page content)
Line 14: Line 14:
 
The following rules are defined in the base core schematrons.
 
The following rules are defined in the base core schematrons.
 
{{ConstraintBox|Rule ID: '''URL'''
 
{{ConstraintBox|Rule ID: '''URL'''
Extends Rule(s): ANY  
+
Extends Rule(s): [[DTr1_ANY|ANY]]
  
 
Constraints
 
Constraints
 
*{{Error}} dtr1-1-URL: elements of type URL SHALL have a @value attribute.
 
*{{Error}} dtr1-1-URL: elements of type URL SHALL have a @value attribute.
 
*{{Error}} dtr1-2-URL: @value must be a valid URI, e.g. ''.
 
*{{Error}} dtr1-2-URL: @value must be a valid URI, e.g. ''.
 +
*{{Error}} dtr1-4-URL: [RIM-001]  SHALL NOT have nullFlavor, if there are other  elements which are not null
 +
*{{Error}} dtr1-5-URL: [RIM-002]  () SHALL be distinct
 +
*{{Error}} dtr1-6-URL: /@use () SHALL be distinct
 
}}
 
}}
 
==Additional Strict Schematron Rules SSR==
 
==Additional Strict Schematron Rules SSR==
 
The following rules are defined in the strict mode of core schematrons.
 
The following rules are defined in the strict mode of core schematrons.
 +
[[Category:DTr1]]

Revision as of 13:17, 20 February 2015

URL Universal Resource Locator

Datatype Release 1: URL

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@value   optional   st
@nullFlavor   optional   cs

Core Schematron Rules CSR

The following rules are defined in the base core schematrons.

Check-circle.svg Rule ID: URL

Extends Rule(s): ANY

Constraints

  • Alert.png dtr1-1-URL: elements of type URL SHALL have a @value attribute.
  • Alert.png dtr1-2-URL: @value must be a valid URI, e.g. .
  • Alert.png dtr1-4-URL: [RIM-001] SHALL NOT have nullFlavor, if there are other elements which are not null
  • Alert.png dtr1-5-URL: [RIM-002] () SHALL be distinct
  • Alert.png dtr1-6-URL: /@use () SHALL be distinct

Additional Strict Schematron Rules SSR

The following rules are defined in the strict mode of core schematrons.