Difference between revisions of "DTr1 EN"

(Automated ADBot page content)
(Automated ADBot page content)
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
 
=EN Entity Name=
 
=EN Entity Name=
Datatype Release 1: EN
+
{| class="artdecorwiki"
 +
! style="text-align:left;" | Datatype Release 1 !! Realm !! Flavors
 +
|-
 +
| style="height:30px; vertical-align:middle;" | '''EN''' || style="vertical-align:middle;" |  || style="vertical-align:middle;" | [[DTr1_PN.NL|PN.NL]] [[DTr1_PN.CA|PN.CA]]
 +
|}
 +
 
 
==Registered Attributes and Child Elements==
 
==Registered Attributes and Child Elements==
{| class=artdecor
+
{| class="artdecorwiki"
 
! @Attribute / Element !! Cardinality !! Datatype  
 
! @Attribute / Element !! Cardinality !! Datatype  
 
|-
 
|-
Line 23: Line 28:
 
|-
 
|-
 
|}
 
|}
==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: '''EN'''
 
{{ConstraintBox|Rule ID: '''EN'''
Extends Rule(s): ANY  
+
Extends Rule(s): [[DTr1_ANY|ANY]]
  
 
Constraints
 
Constraints
*{{Error}} dtr1-1-EN: entity name shall be null or text only or element only (no mixed content)
+
*{{Error}} dtr1-1.1-EN: entity name shall not be null and have elements or text
 +
*{{Error}} dtr1-1.2-EN: entity name shall not have both elements and text (no mixed content)
 +
*{{Error}} dtr1-1.3-EN: entity name that is not null shall not be empty
 
*{{Warning}} dtr1-3-EN: empty name particles should not be present.
 
*{{Warning}} dtr1-3-EN: empty name particles should not be present.
 
*{{Warning}} dtr1-4-EN: Use of quotes at the beginning of a name are probably not correct.
 
*{{Warning}} dtr1-4-EN: Use of quotes at the beginning of a name are probably not correct.
 +
*{{Error}} dtr1-7-EN: enxp elements SHALL have distinct values in @qualifier
 
}}
 
}}
==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.
 +
{{ConstraintBox|Constraints
 +
*{{Error}} dtr1-5-EN: [RIM-001] <value-of select&#061;"$name"/> SHALL NOT have nullFlavor, if there are other <value-of select&#061;"$name"/> elements which are not null
 +
*{{Error}} dtr1-6-EN: [RIM-002] <value-of select&#061;"$name"/> (<value-of select&#061;"$value"/>) SHALL be distinct
 +
}}
 +
[[Category:DTr1|EN]]

Latest revision as of 14:57, 5 December 2017

EN Entity Name

Datatype Release 1 Realm Flavors
EN PN.NL PN.CA

Registered Attributes and Child Elements

@Attribute / Element Cardinality Datatype
@use   optional   set_cs
@nullFlavor   optional   cs
delimiter  0 .. *  ENXP
family  0 .. *  ENXP
given  0 .. *  ENXP
prefix  0 .. *  ENXP
suffix  0 .. *  ENXP
validTime  0 .. 1  IVL_TS

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: EN

Extends Rule(s): ANY

Constraints

  • Alert.png dtr1-1.1-EN: entity name shall not be null and have elements or text
  • Alert.png dtr1-1.2-EN: entity name shall not have both elements and text (no mixed content)
  • Alert.png dtr1-1.3-EN: entity name that is not null shall not be empty
  • Warning.png dtr1-3-EN: empty name particles should not be present.
  • Warning.png dtr1-4-EN: Use of quotes at the beginning of a name are probably not correct.
  • Alert.png dtr1-7-EN: enxp elements SHALL have distinct values in @qualifier

Additional Strict Schematron Rules (SSR)

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

Check-circle.svg Constraints
  • Alert.png dtr1-5-EN: [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-6-EN: [RIM-002] <value-of select="$name"/> (<value-of select="$value"/>) SHALL be distinct