atom feed9 messages in org.oasis-open.lists.xri[xri] XriSyntax 3.0 Classes -> XRI Sy...
FromSent OnAttachments
drum...@xdi.orgJan 18, 2010 6:00 pm 
Nika JonesJan 18, 2010 9:27 pm 
Drummond ReedJan 18, 2010 9:42 pm 
Nika JonesJan 18, 2010 11:00 pm 
Drummond ReedJan 18, 2010 11:06 pm 
Markus SabadelloJan 19, 2010 12:14 am 
Nika JonesJan 21, 2010 7:47 am 
Drummond ReedJan 21, 2010 9:47 am 
Markus SabadelloJan 23, 2010 12:08 am 
Subject:[xri] XriSyntax 3.0 Classes -> XRI Syntax 3.0 Working Draft 03 (PDF)
From:Nika Jones (njo@ouno.com)
Date:Jan 21, 2010 7:47:59 am
List:org.oasis-open.lists.xri

I would like to add that I have released some experimental Xri3 Syntax Parsers for:

.net python ruby php javascript

located here: http://ouno-xri.svn.sourceforge.net/viewvc/ouno-xri/branches/xri3syntax-0.1/

There are no front-ends, but each language class contains a small test file, which could be run and expanded.

Next up using the new nice and clean XRD spec for resolution. :)

Nika

Yes there's an experimental parser (a Java library) for this XRI Syntax 3.0 in OpenXRI: http://openxri.org/syntax.html

There's a simple front-end here: http://freexri.com/tools/XRIInspector3/

The XDI4j library uses the XRI Syntax 3.0 parser: http://wiki.eclipse.org/XDI4j

We implemented this using the wonderful "aParse" tool, which takes as input an ABNF (such as the one from the XRI Syntax 3.0 spec) and automatically turns it into a set of Java classes. The author of that tool also included XRI Syntax 3.0 as an example on his own site (but is using an outdated ABNF): http://www.parse2.com/example-xri-v3.0.shtml

One thing we were planning but didn't get done yet is unify the XRI Syntax 2.0 and XRI Syntax 3.0 parsers under a set of common Java interfaces. This way you could write higher-level code (e.g. a loop to iterate over all subsegments) and simply switch between the syntaxes by using the respective other parser, without changing the higher-level code. I expect to do this once the XRI Syntax 3.0 is finalized..

On Tue, Jan 19, 2010 at 12:43 AM, Drummond Reed <drum@xdi.org>wrote:

Nika, thank you. I feel like its a 1-year monkey off my back. The irony is that the vast majority of this was decided nine-12 months ago; I (and the other contributors) have just lacked the spec editing time.

But it can really use a very fresh set of eyes reviewing it, so please do post any feedback.

Also, I'm pretty sure Markus has implemented all of this in the OpenXRI libraries, so he can point you and others on the TC to the code behind his implementation. That was our goal 18 months ago - implement and prove it all out at least once BEFORE writing the spec.

For once we finally did it that way ;-)

=Drummond

On Mon, Jan 18, 2010 at 9:27 PM, Nika Jones <njo@ouno.com> wrote:

Drummond:

I'm looking forward to reading and implementing this spec. Thanks for the hard work!!

Nika

This is the PDF version of XRI Syntax 3.0 WD 03, content complete and ready for detailed review.

-- Drummond Reed

The document named XRI Syntax 3.0 Working Draft 03 (PDF) (xri-syntax-3.0-wd03.pdf) has been submitted by Drummond Reed to the OASIS Extensible Resource Identifier (XRI) TC document repository.

Document Description: PDF version of XRI Syntax 3.0 WD 03 - Content complete

View Document Details: http://www.oasis-open.org/committees/document.php?document_id=35972

Download Document:

http://www.oasis-open.org/committees/download.php/35972/xri-syntax-3.0-wd03.pdf

PLEASE NOTE: If the above links do not work for you, your email application may be breaking the link into two pieces. You may be able to copy and paste the entire link address into the address field of your web browser.

-OASIS Open Administration