Difference between revisions of "DTr1 URL"

(Automated ADBot page content)
(Automated ADBot page content)
 
Line 17: Line 17:
 
|}
 
|}
 
==Core Schematron Rules (CSR)==
 
==Core Schematron Rules (CSR)==
The following rules ({{Error}} errors or {{Warning}} warnings)are defined in the base core schematrons.
+
The following rules are defined in the base core schematrons ({{Error}} errors, {{Warning}} warnings, {{Info}} infos).
 
{{ConstraintBox|Rule ID: '''URL'''
 
{{ConstraintBox|Rule ID: '''URL'''
 
Extends Rule(s): [[DTr1_ANY|ANY]]  
 
Extends Rule(s): [[DTr1_ANY|ANY]]  

Latest revision as of 14:58, 5 December 2017

URL Universal Resource Locator

Datatype Release 1 Realm Flavors
URL TEL.AT TEL.EPSOS TEL.IPS TEL.NL.EXTENDED TEL.CA.EMAIL TEL.CA.PHONE URL.NL.EXTENDED

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 (Alert.png errors, Warning.png warnings, Info.png infos).

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. '<value-of select="iri-to-uri(@value)"/>'.

Additional Strict Schematron Rules (SSR)

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

Check-circle.svg Constraints
  • Alert.png dtr1-4-URL: [RIM-001] <value-of select="$name"/> SHALL NOT have nullFlavor, if there are other <value-of select="$name"/> elements which are not null
  • Alert.png dtr1-5-URL: [RIM-002] <value-of select="$name"/> (<value-of select="$value"/>) SHALL be distinct