openTdataCH / ojp-nova

Interface between OJP and NOVA to return an OJPFareDelivery
1 stars 0 forks source link

We currently answer with siri: as the default name space => Should change #51

Open ue71603 opened 1 month ago

ue71603 commented 1 month ago

otherwise copying and pasting from all our other sources won't work

skinkie commented 1 month ago

I don't see why it should change. A default namespace is just the default and all others should be explicitly mentioned with a prefix. From (correct) XML parser perspective: it is transparent.

ue71603 commented 1 month ago

I will do it, because I need it for the api-explorer where people copy their trips by hand in and this will go awfully bad, if they try to do this with different name space handling. What I want is a homogenous handling in all our platforms.

skinkie commented 1 month ago

So they don't paste complete requests, but parts in... aweful.

ue71603 commented 1 month ago

Well, they have made a TripRequest and need to paste the Trips into the Fare Request template. Obiously it's cut and paste. Perhaps I create a java script to do it as git page.

Or we have a new function that thas TR - FR in one go