|
From: Richard C. <ri...@cy...> - 2006-07-10 09:56:52
|
Ian,
The file parses fine here, with UNIC_RDF set to false. I didn't try
to run a SPARQL query though, so maybe the problem is not parsing but
somewhere in the SPARQL engine. Can you please provide the exact
error message, and a code sample that produces the error? Which
version of RAP and PHP ("php -v") is this?
Cheers,
Richard
On 7 Jul 2006, at 03:46, Ian B. Jacobs wrote:
> 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).
>
> Richard Cyganiak kindly made a suggestion [2]:
>
> "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#>
> PREFIX org: <http://www.w3.org/2001/04/roadmap/org#>
> PREFIX rec: <http://www.w3.org/2001/02pd/rec54#>
> 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 ?versionOf. 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 that
> 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
> required.
>
> Thank you,
>
> _ Ian Jacobs
>
>
>
> [1] http://sourceforge.net/mailarchive/message.php?msg_id=15149273
> [2] http://sourceforge.net/mailarchive/message.php?msg_id=15149274
> --
> Ian Jacobs (ij...@w3...) http://www.w3.org/People/Jacobs
> Tel: +1 718 260-9447
>
> ----------------------------------------------------------------------
> ---
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Rdfapi-php-interest mailing list
> Rdf...@li...
> https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest
|