-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative Multiplicity in HTML #159
Comments
That's a documentation rule from the standard draft saying: "In some cases an element has to be selected from its set (XML-Choice), which is symbolised by a prefixed minus sign, e.g. "-1:1". In this case a lowercase letter, which shows a list of choices, precedes the element name. A zero in the min-value indicates an optional choice: "-0:1"." |
@schlpbch @jmaerki @skinkie From @sgrossberndt the pull request must be updated. Codewise the pull request looks fine, but Stefan mentioned that Andreas Schlapbach found some rendering issues with tables. Andreas should add an issue at https://github.com/VDVde/OJP/issues - if the mentioned issue is not #159. |
nothing left to do for the time being. |
After having a look at the documentation tables at https://vdvde.github.io/OJP/generated/OJP.html#TripLegStructure once again I'd like to speak about this one again: |
Since we adhere to the SIRI layout of tables this should stay. But like #172 when hovering it should be explained in the title text what this is about. See https://www.vdv.de/431-2sdes-v-1-3.pdfx "3 Notation of XML elements and structures" |
Looks good. Will add a pull request. |
* "title" attribute with the full structure element name on references. (#172) * "title" attribute with explanation of cardinality. (#159) Co-authored-by: Jeremias Maerki <[email protected]>
Merged in #233 |
Strangely, sometimes the multiplicity are negative in the HTML generated:
The text was updated successfully, but these errors were encountered: