|
|
CycleNetXChangeVersions |
Related UK Standards
Related EU Standards Related ISO Standards
|
CycleNetXChangeuses a systematic versioning scheme in line with GovTalk & e-Gif standards. The system is intended to allow you to design applications that operate at different schema levels concurrently, and to manage future schema application evolution in a rigorous and orderly manner. Both schemas & instance documents are versioned. 1. Version Numbering1.1 Version NumbersAll CycleNetXChange schemas have a version Identifier of the form N.Mx, where:
2. Version Location2.1 Schema versionsCycleNetXChange schema versions are always located at a specific, versioned URL. The URL has the general form:
Examples.Version 1.1 of CycleNetXChange:
Draft of Version 1.2 of CycleNet :
2.2 Namespace versionsNote that the namespace used for CycleNet is not itself versioned, in line with GovTalk & e-Gif standards, thus: <xs:schema targetNamespace="http://www.CycleNetXChange.org.uk/cnm/" 2.3 Directory StructureNPTG & NaPTAN artefacts are organised into a hierarchical directory structure relative to the root domain, in accordance with the e-Gif versioning system. For example the directory structure used is as follows: //www.CycleNetXChange.org.uk/ //www.CycleNetXChange.org.uk/schema/ ... //www.CycleNetXChange.org.uk/schema/2.1/ //www.CycleNetXChange.org.uk/schema/2.1/cycleNet.xsd //www.CycleNetXChange.org.uk/schema/2.0/ //www.CycleNetXChange.org.uk/schema/2.0/CycleNetXChange.xsd //www.CycleNetXChange.org.uk/schema/2.0/cnm/cnmBasic-v1-1.xsd //www.CycleNetXChange.org.uk/schema/2.0/cnm/cnmMore.... .... 3. Version Identifiers3.1 Schema Version IdentifiersAll CycleNetXChange schema versions have a formal version identifier in the header element: <xs:schema targetNamespace="http://www.CycleNetXChange.org.uk/cnm"
xmlns="http://www.cyclenet.org.uk/cnm"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="2.0"
id="CycleNetXChange">
...
3.2 Document Version IdentifiersAll CycleNetXChange documents have a version identifier which must be populated by the implementation to indicate the schema level against which the document validates. <?xml version="1.0" encoding="UTF-8"?> <CycleNetXChange xmlns="http://www.CycleNetXChange.org.uk/cnm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.CycleNetXChange.org.uk/schema/1.0/CycleNetXChange.xsd" CreationDateTime="2004-07-17T09:30:47-05:00" ModificationDateTime="2004-07-17T09:30:47-05:00" Modification="new" RevisionNumber="1" FileName="String" SchemaVersion="2.0" LocationSystem="Grid"> <cnm:CycleNetXChange> ...... </cm:CycleNetXChange> </CycleNetXChange> 3.3 Package versionsLow level subschemas that are shared with other schemas and referenced by CycleNetXChange schemas are individually versioned within a subdirectory, for example /napt and /apd. Copies of the referenced subschemas are included in the download so that the schemas can be used offline. For example: //www.CycleNetXChange.org.uk/schema/2.0/cnm/cnmBasicTypes-v2-0.xsd |
![]() |
© Crown copyright
2005-8 |