VDVde / OJP

Open API for distributed journey planning. CEN/TS 17118:2017.
https://www.vdv.de/open-journey-planner.aspx
22 stars 12 forks source link

V1.1 xcore #401

Closed skinkie closed 4 months ago

skinkie commented 11 months ago

Suggestion applied by Hauke, but I also want an index.html.

ue71603 commented 11 months ago

Latest discussion about an element: Hans-Jürgen: diese merkwürdige Darstellung beschreibt einen anonymen Typen, d.h. einen als Child-Element einer Element-Deklaration definierten Typ. Der Beschreibungsstring element[ojp:OJP]#complexType (typedef-105.1)

identifiziert diese Typdefinition:

  1. Sie ist das Child Element der Elementdeklaration mit dem qualifizierten Namen ojp:OJP
  2. Zusatzinformation: xcore hat dieser Typdefinition den technischen Ersatznamen typedef-105.1 gegeben Es hat also doch seine Richtigkeit. Wenn Ihr einen anderen Beschreibungsstring wünscht, lasst es mich wissen, und ich passe das Programm an.

PS Ein Tip: mit unserem kostenfrei verfügbaren Foxpath Prozessor kann man sich solche Dinge ohne Herumsuchen und ohne Programmierung anschauen, einfach durch Eingabe eines Foxpath-Ausdrucks an der Kommandozeile. Das folgende Foxpath-Kommando ...

fox "ojp//.xsd\\xs:element[@name eq 'OJP']\pretty-node() => xwrap('elements','b')"

extrahiert alle Element-Deklarationen aus den XSDs in oder unterhalb des ojp Verzeichnisses und fasst sie zu einem Dokument zusammen, wobei ein @xml:base Attribut Auskunft über die Herkunft des Elements gibt:

Root element for OJP messages based on SIRI message exchange protocol. Root element for OJP messages

The problem: image

@trurlurl @sgrossberndt Do we live with it? I guess we have to.

trurlurl commented 11 months ago

Of the cases not concerning Siri, I see

As we don't use the xcore tables in the specification yet, this might also wait for a future version, it is not breaking. But perhaps better do the Hiking and CyclingProfiles now?

ue71603 commented 10 months ago

@skinkie everything from @sgrossberndt review done and ready for acceptance?

sgrossberndt commented 4 months ago

This pull request has been superseded by the branch https://github.com/VDVde/OJP/tree/feature/documentation-tables-xcore. A pull request for that branch will be opened once https://github.com/VDVde/OJP/pull/437 has been merged.