on ‎2017 Dec 15 4:01 AM
Hello!
When using "openxml" on results of the Google Geocoding API, I receive an XML parser error with the message "Invalid control character" for certain address details. Here's an example:
select * from openxml("CallGoogleapi"('https://maps.googleapis.com/maps/api/geocode/xml?address=pasica+75000+tuzla&language=en'),'/GeocodeR... with("lat" long varchar 'text()')
with "CallGoogleapi" defined as
FUNCTION "CallGoogleapi"( in "sLocation" long varchar ) returns xml url '!sLocation!' type 'HTTP:GET'
What can I do, so that openxml does not geerate this error?
Thanks in advance!
Dirk
Request clarification before answering.
I suggest to have a look at the XML document returned from the API, ideally in an XML aware editor / viewer which visualizes the document structure.
HTH
Volker
DB-TecKnowledgy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.