[Mulgara-dev] Fw: URI escaped things don't work...

Paul Gearon gearon at ieee.org
Tue Mar 18 15:56:25 UTC 2008


On Mar 17, 2008, at 10:59 PM, William Mills wrote:

> OK, so I found that XML escaping works, so the following succeeds:
>
>    insert <librange:build&x7B; 
> 1-3&x7D;.msg.corp.yahoo.com><atom:expandsto>  
> 'build1.msg.corp.yahoo.com' into<frustration:rolesdb> ;
>
> but it is unfortunately escaped on the way out when using the SOAP  
> interface (this is the expected icky behavior).
>
> Why allow XML escaping on URIs and not URI escaping?

RDF has a historical relationship with XML.  Most RDF is (or was)  
expected to go through XML, and certainly the guy who designed the  
query language had XML in mind every step of the way (he even had a  
half-built XML form of the language).

As for not permitting URI escaping.... I have no idea. What error do  
you get when you try it?  Maybe it's just a simple tweak to fix it?

Paul

> ----- Forwarded Message ----
> From: William Mills <wmills_92105 at yahoo.com>
> To: Mulgara Dev <mulgara-dev at mulgara.org>
> Sent: Monday, March 17, 2008 8:38:21 PM
> Subject: URI escaped things don't work...
>
> I am encountering a problem with properly (I think) URI escaped  
> strings.  The following works as expected:;
>
>    insert <role:dev> <atom:contains> 'build{1-3}.msg.corp.yahoo.com'  
> into <frustration:rolesdb> ;
>
> But neither of the following work:
>
>    insert <librange:build%7B1-3%7D.msg.corp.yahoo.com>  
> <atom:expandsto> 'build1.msg.corp.yahoo.com' into  
> <frustration:rolesdb> ;
>
>    insert <librange:build{1-3}.msg.corp.yahoo.com><atom:expandsto>  
> 'build1.msg.corp.yahoo.com' into<frustration:rolesdb> ;
>
> What's the deal?
>
> thanks,
>
> -bill
>
>
>
>
>
> _______________________________________________
> Mulgara-dev mailing list
> Mulgara-dev at mulgara.org
> http://mulgara.org/mailman/listinfo/mulgara-dev




More information about the Mulgara-dev mailing list