Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2538 closed defect (fixed)

XML not well formed in response to a reverse request (city district node)

Reported by: javierdfm@… Owned by: openstreetmap@…
Priority: major Milestone:
Component: nominatim Version:
Keywords: XML, city district, node, not well formed Cc:

Description

When the City District node is included in the response XML object this node appears with the name <city district>. If you run a parser on this object you encounter an error because the parser understands that the word district is an attribute without a value. It should be <city_district> as in <country_code> or <citydistrict> without a space between the two words.

Change History (2)

comment:1 Changed 10 years ago by twain

Resolution: fixed
Status: newclosed

This should be fixed - it would be easier to confirm if a test case had been provided.

comment:2 Changed 10 years ago by javierdfm@…

Now it is fixed. Thank you.

Note: See TracTickets for help on using tickets.