|
|
JourneyWeb Versions |
Information on JourneyWeb
Related UK Standards Related EU Standards |
JourneyWeb uses a systematic versioning scheme in line with GovTalk & e-Gif standards. This has teh following elements.
1. Version Numbering2.1 Version Number FormatAll JourneyWeb schemas are have a version Identifier of the form N.Ma, where:
2.2 Version IncrementationAny material change or changes (i.e. other than changes to a comment) to a published schema must be reflected in a new schema version. 2. Version Location2.1 Schema versionsJourneyWeb schema versions are always located at a specific, versioned URL. The URL has the general form:
Examples.Version 2.1 of JourneyWeb: Draft of Version 3.0 of JourneyWeb: 2.2 Namespace versionsNote that the namespace used for JourneyWeb is not itself versioned, in line with GovTalk & e-Gif standards, thus: <xs:schema targetNamespace="http://www.journeyweb.org.uk/schemas/" 2.3 The Current versionThe official 'current' version of JourneyWeb may be referenced without a version number, for example:
Only one version of the JourneyWeb schema will be current at a time; different previous and new draft versions may exist concurrently. 2.3 Directory StructureJourneyWeb artefacts are organised into a hierarchical directory structure relative to the root domain, in accordance with the e-GifI versioning system. For example the directory structure used is as follows: //www.journeyweb.org.uk/ //www.journeyweb.org.uk/schema/ ... //www.journeyweb.org.uk/schema/2.1.1/ //www.journeyweb.org.uk/schema/2.1.1/JourneyWeb.xsd //www.journeyweb.org.uk/schema/2.1.1/guide/ //www.journeyweb.org.uk/schema/2.1.1/guide/journeyWebSchemaGuide.doc //www.journeyweb.org.uk/schema/3.0a/ //www.journeyweb.org.uk/schema/3.0a/JourneyWeb.xsd //www.journeyweb.org.uk/schema/3.0a/errorHandling.xsd //www.journeyweb.org.uk/schema/3.0a/guide //www.journeyweb.org.uk/schema/3.0a/guide/JourneyWebSchemaGuide.pdf .... 3. Version Identifiers3.1 Schema Version IdentifiersAll JourneyWeb schema versions have a formal version identifier in the header element: <xs:schema targetNamespace="http://www.journeyweb.org.uk/schemas/"
xmlns="http://www.journeyweb.org.uk/schemas/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
version="3.0"
id="JourneyWeb">
...
3.2 Document Version IdentifiersAll JourneyWeb request & response documents have a version identifier which must be populated by the implementation to indicate the schema level against which the document validates. It can be used to determine the version of a given request or response document. <?xml version="1.0" encoding="UTF-8"?>
<JourneyWeb
xmlns="http://www.journeyweb.org.uk/schema/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.journeyweb.org.uk/schema/3.0/
Version="3.0">
<Request/>
...
<Request/>
</JourneyWeb>
3. Version Behaviour of Servers3.1 Request and Response Version LevelsA server that supports the JourneyWeb protocol should respond to a request with a reply at the same schema level as indicated in the request document. If the schema level is not supported it should return a specific exception message reporting the error. A JourneyWeb server may support multiple schema levels. Support for deprecated schema levels will be withdrawn after an agreed date. |
© Crown copyright 2000-2008 |