From: Ian B. J. <ij...@w3...> - 2006-07-07 01:47:15
|
Hello, One of my colleagues reported [1] an issue where UTF-8 characters are escaped like this "\u00D0" (correct codepoints but escaped instead of the actual characters).=20 Richard Cyganiak kindly made a suggestion [2]: =20 "Set UNIC_RDF to FALSE again to avoid this." However, when I set UNIC_RDF to FALSE, the parser seems to fail. Here is the query: PREFIX : <http://www.w3.org/2000/10/swap/pim/contact#> PREFIX doc: <http://www.w3.org/2000/10/swap/pim/doc#> PREFIX mat: <http://www.w3.org/2002/05/matrix/vocab#>=20 PREFIX org: <http://www.w3.org/2001/04/roadmap/org#> PREFIX rec: <http://www.w3.org/2001/02pd/rec54#>=20 PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dc: <http://purl.org/dc/elements/1.1/> SELECT ?doc, ?editor, ?title, ?date, ?versionOf, ?type, ?supersedes WHERE = {?doc rdf:type ?type; dc:title ?title; dc:date ?date; doc:versionOf ?versi= onOf. OPTIONAL {?doc rec:supersedes ?supersedes} OPTIONAL {?doc rec:editor= [:fullName ?editor ] .}} ORDER BY DESC(?date) Here is the RDF source: http://www.w3.org/2002/01/tr-automation/tr.rdf I find that if I set UNIC_RDF to TRUE, parsing succeeds but I have the escaping issue. If I set it fo FALSE, parsing fails (with a "255" error tha= t I did not examine closely). I would appreciate any suggestions and hope the above information is sufficient to run the test; please let me know if more information is=20 required. Thank you, _ Ian Jacobs [1] http://sourceforge.net/mailarchive/message.php?msg_id=3D15149273 [2] http://sourceforge.net/mailarchive/message.php?msg_id=3D15149274 --=20 Ian Jacobs (ij...@w3...) http://www.w3.org/People/Jacobs Tel: +1 718 260-9447 |