705 Error in schema definition
- Created
- 04 Jan 2011
- Status
- Not ApplicableClosed: the issue falls outside the scope of the standard. No further comments are taken. Show the workflow
- Part
- Part 6 (2009-12; Edition 2)
- Links
- None
- Page
- P143
- Clause
- Paragraph
- Annex A.5 Communication subnetworks
- Category
- No impact on this part
Issue
In the schema text, there is an extra carriage return within regular expression which cause the failure when validate the schema itself using XML tools such as XMLSpy.
Error exists in definition of tP_IP, tP_IP-SUBNET, and tP_IP-GATEWAY.
Take tP_IP as an example:
<xs:complexType name="tP_IP">
..<xs:simpleContent>
....<xs:restriction base="tP">
......<xs:pattern value="([0-9]{1,2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]{1,2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-CARRIAGE_RETURN
9]{1,2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]{1,2}|1[0-9]{2}|2[0-4][0-9]|25[0-5])"/>
......<xs:attribute name="type" type="tPTypeEnum" use="required" fixed="IP"/>
....</xs:restriction>
..</xs:simpleContent>
</xs:complexType>
Proposal
Correct
One file is attached to this tissue. Sign in to open it.
| Discussion | Created |
|---|---|
| Not Applicable This 'error' is unfortunately unavoidable in a A4 paper document due to formatting reasons. Therefore IEC additionally supplies the schema files as XSD files. Please use these as XML schema files for SCL; or correct the 'error' yourself. | 04 Jan 11 |