We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The response to the following query (JourneyDetail) contains malformed attribute names:
https://open-api.bahn.de/bin/rest.exe/v1.0/journeyDetail?ref=945978%2F317941%2F614818%2F7917%2F80%3Fdate%3D2017-02-24%26station_evaId%3D8000294%26station_type%3Ddep%26authKey%3D<withheld>%26lang%3Dde%26
The error returned when testing the above request in Chrome:
error on line 28 at column 137: Specification mandate value for attribute r
The error returned when testing the above request in Safari:
error on line 28 at column 115: Unescaped '<' not allowed in attributes values
This is the (slightly formatted) returned XML:
<?xml version="1.0" encoding="UTF-8"?> <JourneyDetail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://open-api.bahn.de/bin/rest.exe/v1.0/xsd?name=hafasRestJourneyDetail.xsd"> <Stops> <Stop name="Koblenz Hbf" id="8000206" lon="7.588343" lat="50.350928" routeIdx="0" depTime="06:05" depDate="2017-02-24" track="5" /> <Stop name="Andernach" id="8000331" lon="7.404837" lat="50.434546" routeIdx="1" arrTime="06:16" arrDate="2017-02-24" depTime="06:18" depDate="2017-02-24" track="2" /> <Stop name="Remagen" id="8000310" lon="7.229781" lat="50.577213" routeIdx="2" arrTime="06:29" arrDate="2017-02-24" depTime="06:31" depDate="2017-02-24" track="1" /> <Stop name="Bonn Hbf" id="8000044" lon="7.097136" lat="50.732008" routeIdx="3" arrTime="06:44" arrDate="2017-02-24" depTime="06:46" depDate="2017-02-24" track="2" /> <Stop name="Köln Hbf" id="8000207" lon="6.958730" lat="50.943029" routeIdx="4" arrTime="07:05" arrDate="2017-02-24" depTime="07:09" depDate="2017-02-24" track="2" /> <Stop name="Düsseldorf Hbf" id="8000085" lon="6.794317" lat="51.219960" routeIdx="5" arrTime="07:31" arrDate="2017-02-24" depTime="07:33" depDate="2017-02-24" track="17" /> <Stop name="Duisburg Hbf" id="8000086" lon="6.775907" lat="51.429786" routeIdx="6" arrTime="07:44" arrDate="2017-02-24" depTime="07:46" depDate="2017-02-24" track="13" /> <Stop name="Essen Hbf" id="8000098" lon="7.014795" lat="51.451351" routeIdx="7" arrTime="07:57" arrDate="2017-02-24" depTime="07:59" depDate="2017-02-24" track="6" /> <Stop name="Dortmund Hbf" id="8000080" lon="7.459294" lat="51.517899" routeIdx="8" arrTime="08:21" arrDate="2017-02-24" depTime="08:25" depDate="2017-02-24" track="8" /> <Stop name="Münster(Westf)Hbf" id="8000263" lon="7.635716" lat="51.956563" routeIdx="9" arrTime="08:54" arrDate="2017-02-24" depTime="08:57" depDate="2017-02-24" track="12" /> <Stop name="Osnabrück Hbf" id="8000294" lon="8.061778" lat="52.272849" routeIdx="10" arrTime="09:21" arrDate="2017-02-24" depTime="09:23" depDate="2017-02-24" track="3" /> <Stop name="Bremen Hbf" id="8000050" lon="8.813833" lat="53.083478" routeIdx="11" arrTime="10:14" arrDate="2017-02-24" depTime="10:17" depDate="2017-02-24" track="9" /> <Stop name="Hamburg-Harburg" id="8000147" lon="9.991699" lat="53.455910" routeIdx="12" arrTime="11:00" arrDate="2017-02-24" depTime="11:02" depDate="2017-02-24" track="2" /> <Stop name="Hamburg Hbf" id="8002549" lon="10.006909" lat="53.552733" routeIdx="13" arrTime="11:12" arrDate="2017-02-24" depTime="11:42" depDate="2017-02-24" track="12" /> <Stop name="Schwerin Hbf" id="8010324" lon="11.407455" lat="53.634741" routeIdx="14" arrTime="12:34" arrDate="2017-02-24" depTime="12:37" depDate="2017-02-24" track="2" /> <Stop name="Bützow" id="8010066" lon="11.998190" lat="53.837115" routeIdx="15" arrTime="13:10" arrDate="2017-02-24" depTime="13:12" depDate="2017-02-24" track="2" /> <Stop name="Rostock Hbf" id="8010304" lon="12.131078" lat="54.078242" routeIdx="16" arrTime="13:32" arrDate="2017-02-24" depTime="13:38" depDate="2017-02-24" track="7" /> <Stop name="Ribnitz-Damgarten West" id="8012763" lon="12.436963" lat="54.239176" routeIdx="17" arrTime="13:58" arrDate="2017-02-24" depTime="14:00" depDate="2017-02-24" track="1" /> <Stop name="Velgast" id="8010355" lon="12.803138" lat="54.277317" routeIdx="18" arrTime="14:14" arrDate="2017-02-24" depTime="14:16" depDate="2017-02-24" track="2" /> <Stop name="Stralsund Hbf" id="8010338" lon="13.077318" lat="54.308627" routeIdx="19" arrTime="14:31" arrDate="2017-02-24" depTime="14:39" depDate="2017-02-24" track="5" /> <Stop name="Bergen auf Rügen" id="8010033" lon="13.417821" lat="54.420497" routeIdx="20" arrTime="15:02" arrDate="2017-02-24" depTime="15:04" depDate="2017-02-24" track="2" /> <Stop name="Ostseebad Binz" id="8011191" lon="13.600508" lat="54.404820" routeIdx="21" arrTime="15:29" arrDate="2017-02-24" track="2" /> </Stops> <Names> <Name name="IC 2212" routeIdxFrom="19" routeIdxTo="21" /><Name name="IC 2212" routeIdxFrom="16" routeIdxTo="19" /><Name name="IC 2212" r"uteIdxFrom="0" routeIdxTo="16" /> </Names> <Types> <Type type="IC" routeIdxFrom="19" routeIdxTo="21" /><Type type="IC" routeIdxFrom="16" routeIdxTo="19" /><Type type="IC" r="teIdxFrom="0" routeIdxTo="16" /> </Types> <Operators> <Operator name="DPN" routeIdxFrom="19" routeIdxTo="21" /><Operator name="DPN" routeIdxFrom="16" routeIdxTo="19" /><Operator name="DPN" routeIdxFrom="0" routeIdxTo="16" /> </Operators> <Notes> <Note key="ZN" priority="-1" routeIdxFrom="0" routeIdxTo="21">Rügen</Note><Note key="NG" priority="100" routeIdxFrom="16" routeIdxTo="19">DB-Nahverkehrsfahrkarten gelten mit Ausnahme von Sonderangeboten</Note><Note key="VU" priority="240" routeIdxFrom="18" routeIdxTo="19">Verbundfahrkarten ungültig</Note><Note key="G " priority="260" routeIdxFrom="0" routeIdxTo="21">Fahrradmitnahme begrenzt möglich</Note><Note key="FR" priority="260" routeIdxFrom="0" routeIdxTo="21">Fahrradmitnahme reservierungspflichtig</Note><Note key="ON" priority="280" routeIdxFrom="16" routeIdxTo="19">Hopper-Ticket gilt nicht</Note><Note key="QN" priority="280" routeIdxFrom="16" routeIdxTo="19">Quer-durchs-Land-Ticket gilt nicht</Note><Note key="LN" priority="280" routeIdxFrom="16" routeIdxTo="19">Ländertickets gelten nicht</Note><Note key="BT" priority="450" routeIdxFrom="4" routeIdxTo="19">Bordbistro</Note> </Notes> </JourneyDetail>
As you can see, in the first line of the Names Block r"uteIdxFrom is returned instead of routeIdxFrom.
r"uteIdxFrom
routeIdxFrom
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The response to the following query (JourneyDetail) contains malformed attribute names:
The error returned when testing the above request in Chrome:
The error returned when testing the above request in Safari:
This is the (slightly formatted) returned XML:
As you can see, in the first line of the Names Block
r"uteIdxFrom
is returned instead ofrouteIdxFrom
.The text was updated successfully, but these errors were encountered: