Home » railML newsgroups » railml.common » Referencing each other
Referencing each other [message #1087] Fri, 23 April 2010 10:55
Susanne Wunsch railML is currently offline  Susanne Wunsch railML
Messages: 0
Registered: January 2020
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: Thu Mar 28 09:41:38 CET 2024