700   Redundancy in "tPrefix" schema definition

Created: 28 Dec 2010

Status: Not Applicable

Part: Part 6 (2009-12; Edition 2)

Links:

Page: P110

Clause:

Paragraph: Annex A.1 Base types

Category: No impact on this part

Issue

Annex E.2 Base types
SCL_BaseSimpleTypes.xsd

<xs:simpleType name ="tPrefix">
<xs:restriction base ="xs:normalizedString">
<xs:maxLength value ="11"/>
<xs:pattern value ="[A-Z,a-z][0-9,A-Z,a-z,_]*"/>
<xs:pattern value =""/>
</xs:restriction>
</xs:simpleType>

The restriction <xs:pattern value ="[A-Z,a-z][0-9,A-Z,a-z,_]*"/> already allows empty string as value of Prefix, thus the following <xs:pattern value =""/> is redundant.

Proposal

delete this line

Discussion Created Status
04 Jan 11 Not Applicable
sorry it's a wrong finding, please delete it. 28 Dec 10 Triage

 

Privacy | Contact | Disclaimer

Tissue DB v. 21.10.16.1