jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: JSOP extension points, was: JSOP
Date Mon, 05 Dec 2011 14:54:20 GMT


On 5.12.11 13:35, Julian Reschke wrote:
> This highlights a general problem with the compact syntax; it lacks an
> extension point.
>
> Unless I'm missing something, a today's JSOP parsers will be unable to
> parse future messages that contain an extension defined like the above,
> as they won't know how to skip over it.
>

We could add an extension point to the compact syntax through the 
following production:

EXTENSION      ::= OP STRING ":" (OBJECT | ATOM | ARRAY)

where OP is any single character except for +, ^, -, >, =, @ (and maybe 
some others to be defined).

Michael


Mime
View raw message