• HOME
  • DATEX II
    • Background
    • Organisation
    • Standardisation
  • News
  • Download
    • Archive
      • 2.0 Release Candidates
        • 2.0 RC1
        • 2.0 RC2
      • 1.0
    • Brochure
    • Info
  • Deployments
    • Datex nodes directory
    • DII extension directory
  • Forum
  • Issues
    • Info
  • User Forum
    • Berlin 2010
    • Stockholm 2012
  • Contacts
    • Links
    • Mail
Search

User login
  • Create new account
  • Request new password

DATEX II newsletter

Stay informed on our latest news!

Previous issues

You have come to the right place for information on DATEX. The standard for the exchange of traffic related data.

This website is gradually growing, visit often to benefit from updates as soon as possible.


Home | Forums | DATEX II | General
  • Login or register to post comments
1 reply [Last post]
Thu, 13/05/2010 - 16:07
TonyMcConnell
Offline
Last seen: 25 weeks 1 day ago
Joined: 29/09/2009

Is it correct that the modelBaseVersion of the D2LogicalModel type, and targetClass attribute of other types, are defined in the schema so that they default to xs:anySimpleType?

For example:

 <xs:complexType name="D2LogicalModel">
  <xs:sequence>
    <xs:element name="exchange" type="D2LogicalModel:Exchange" />
     <xs:element name="payloadPublication" type="D2LogicalModel:PayloadPublication" minOccurs="0" />
     <xs:element name="d2LogicalModelExtension" type="D2LogicalModel:_ExtensionType" minOccurs="0" />
   </xs:sequence>
  <xs:attribute name="modelBaseVersion" use="required" fixed="2.0RC2" />
 </xs:complexType>

The lack of explcit type for the modelBaseVersion attribute causes it to default to xs:anySimpleType.

Wouldn’t this be more logical as xs:string? For example:

 <xs:complexType name="D2LogicalModel">
  <xs:sequence>
    <xs:element name="exchange" type="D2LogicalModel:Exchange" />
     <xs:element name="payloadPublication" type="D2LogicalModel:PayloadPublication" minOccurs="0" />
     <xs:element name="d2LogicalModelExtension" type="D2LogicalModel:_ExtensionType" minOccurs="0" />
   </xs:sequence>
  <xs:attribute name="modelBaseVersion" type="xs:string" use="required" fixed="2.0RC2" />
 </xs:complexType>

The same applies to the targetClass attribute:

 <xs:complexType name="_CatalogueVersionedReference">
  <xs:complexContent>
   <xs:extension base="D2LogicalModel:VersionedReference">
     <xs:attribute name="targetClass" use="required" fixed="Catalogue" />
   </xs:extension>
  </xs:complexContent>
 </xs:complexType>

Top
  • Login or register to post comments
Wed, 19/05/2010 - 23:03
#1
Josef Kaltwasser
Offline
Last seen: 1 day 1 hour ago
Joined: 28/05/2009
Issue now placed in issue tracking system

Tony,

the issue tracking system seems to be working now, at least in principle. Your request has been put in there by Tim Wright. As far as I can see you seem to be subscribed to issues now and should have received information about the issues being entered there.

Top
  • Login or register to post comments

All the DATEX activities are supported by the EasyWay Project and co-funded by the European Commission      

Privacy - Policy

Hosted by Autostrade per l'Italia.