OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xri message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [xri] XRI Escaping Tool


Our rules (XRI -> IRI) were really easy - at least the ones I chose to implement (I skipped all the metadata insertion stuff). Most of the IRI -> URI stuff was pretty easy too, using the builtin unicode facilities in Python (which are quite good). What was hard was following all the references and making sure that I was applying the right part of the referred documents in the right order.
 
At least it *seems* fairly straightforward, and thats what I hoped.
 
One thing that is still ambiguous is whether or not to punycode DNS names in XRIs when converting from IRI to URI. Thats why I have a checkbox on the input form.
 
    -Gabe


From: Dave McAlpin [mailto:Dave.McAlpin@epok.net]
Sent: Friday, February 18, 2005 4:45 PM
To: Wachob, Gabe; xri@lists.oasis-open.org
Subject: RE: [xri] XRI Escaping Tool

This is great. Thanks Gabe. Did you find the rules to be confusing or hard to interpret?

 


From: Wachob, Gabe [mailto:gwachob@visa.com]
Sent: Friday, February 18, 2005 4:15 PM
To: xri@lists.oasis-open.org
Subject: [xri] XRI Escaping Tool

 

For my own understanding, and as a service to the XRI community, I have written a tool to implement what I understand to be the XRI to URI transformation rules. If you input an XRI with unicode (or just ascii) characters, it will display the IRI-normal and URI-normal forms. This obviously requires a utf-capable OS & browser, which is most of them these days. Tested on firefox 1.0 and IE6.

 

 

Please do try it. I've implemented this using the python unicode facilities and the escaping rules as I interpret them. I would like everyone to try this out themselves and please report back a) if the results are what you expect and b) if you see any hiccups.

 

I think one of the most complicated facets of XRI syntax is the escaping rules, but they are critical for interoperability, so please do hammer away.

 

    -Gabe

 

P.S. I will, of course, publish source code once I get a feeling that its producing results that seem to be agreeable with everyone.


__________________________________________________
gwachob@visa.com
Chief Systems Architect
Technology Strategies and Standards
Visa International
Phone: +1.650.432.3696   Fax: +1.650.554.6817

 


--

Checked by AVG Anti-Virus.
Version: 7.0.305 / Virus Database: 265.8.9 - Release Date: 2/17/2005



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]