Difference between revisions of "DTr1 URL"

(Automated ADBot page content)
(Automated ADBot page content)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
=URL Universal Resource Locator=
 
=URL Universal Resource Locator=
Datatype Release 1: URL
+
{| class="artdecorwiki"
 +
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors
 +
|-
 +
| style="height:30px; vertical-align:middle;" | '''URL''' || style="vertical-align:middle;" |  || style="vertical-align:middle;" | [[DTr1_TEL.AT|TEL.AT]] [[DTr1_TEL.EPSOS|TEL.EPSOS]] [[DTr1_TEL.IPS|TEL.IPS]] [[DTr1_TEL.NL.EXTENDED|TEL.NL.EXTENDED]] [[DTr1_TEL.CA.EMAIL|TEL.CA.EMAIL]] [[DTr1_TEL.CA.PHONE|TEL.CA.PHONE]] [[DTr1_URL.NL.EXTENDED|URL.NL.EXTENDED]]
 +
|}
 +
 
 
==Registered Attributes and Child Elements==
 
==Registered Attributes and Child Elements==
{| class=artdecor
+
{| class="artdecorwiki"
 
! @Attribute / Element !! Cardinality !! Datatype  
 
! @Attribute / Element !! Cardinality !! Datatype  
 
|-
 
|-
Line 12: Line 17:
 
|}
 
|}
 
==Core Schematron Rules (CSR)==
 
==Core Schematron Rules (CSR)==
The following rules 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]]  
Line 19: Line 24:
 
*{{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. '<value-of select&#061;"iri-to-uri(@value)"/>'.
 
*{{Error}} dtr1-2-URL: @value must be a valid URI, e.g. '<value-of select&#061;"iri-to-uri(@value)"/>'.
*{{Error}} dtr1-6-URL: <value-of select&#061;"$name"/>/@use (<value-of select&#061;"$use"/>) SHALL be distinct
 
 
}}
 
}}
 
==Additional Strict Schematron Rules (SSR)==
 
==Additional Strict Schematron Rules (SSR)==

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