- From: Steve Harris <steve.harris@garlik.com>
- Date: Mon, 20 Aug 2012 17:49:00 +0100
- To: public-sparql-dev@w3.org
How do other implementations represent the C0 control chars in SPARQL XML result format? They're not legal in XML 1.0 (http://en.wikipedia.org/wiki/Valid_characters_in_XML#XML_1.0), and it seems that many XML libraries choke on XML 1.1 data. This is a bit unfortunate if you have C0 chars in your literals. Things we've considered: * try to conneg XML 1.1 so at least our clients can take it (doesn't appear to be easy/obvious how, and some things are not even legal in XML 1.1) * replace C0 chars with something else from unicode, and return a 203 status, or something similar * give an error None of these is terribly satisfactory though. - Steve PS 99% of the time we use TSV result format, but in a couple of cases it's handy to have XML, and in exactly those places we sometimes find C0 characters in the wild… fun! -- Steve Harris, CTO Garlik, a part of Experian +44 7854 417 874 http://www.garlik.com/ Registered in England and Wales 653331 VAT # 887 1335 93 Registered office: Landmark House, Experian Way, Nottingham, Notts, NG80 1ZZ
Received on Monday, 20 August 2012 16:49:32 UTC