Home » railML newsgroups » railml.misc » Referencing each other
Referencing each other [message #1087] Fri, 23 April 2010 10:55
Susanne Wunsch is currently offline  Susanne Wunsch
Messages: 180
Registered: March 2008
Senior Member
Hello,

does anyone need referencing of other subschemas?

I show a _non-valid_ example:

<railml>
<infrastructure id="is" rollingstockRef="rs" timetableRef="tt"/>
<rollingstock id="rs" infrastructureRef="is" timetableRef="tt"/>
<timetable id="tt" infrastructureRef="is" rollingstockRef="rs"/>
</railml>

It comes from railML 1.0, when all sub schemas were mutually independent
XSDs.

Now, I think all data are directly referenced.

Furthermore, there are only single subelements allowed under <railml>,
there can't be more than one <infrastructure>, <rollingstock> and
<timetable> element at all.

If nobody disagrees, I would remove the *Ref attributes effective from
next major version release (it's not a downward-compatible change).

Kind regards,
Susanne

--
Susanne Wunsch
Schema Coordinator: railML.common
Previous Topic: Download of RailML 2.0 release candidates | Roadmap
Next Topic: RailML-conference Berlin 19.10.2010
Goto Forum:
  


Current Time: Tue Jun 27 05:45:21 CEST 2017