jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Buchmann <da...@liip.ch>
Subject Re: cnd and multiple
Date Thu, 28 Mar 2013 13:23:25 GMT
ah, ok then i understand.

thanks for the clarification. the php cnd parser is all ready :-)

cheers,david

Am 27.03.2013 05:40, schrieb Jukka Zitting:
> Hi,
> 
> On Wed, Mar 27, 2013 at 3:42 AM, David Buchmann <david.buchmann@liip.ch> wrote:
>> i don't see how this can be valid. is this a bug? is this file never
>> parsed by jackrabbit? or do you use a different parser that adds this
>> behaviour?
> 
> The trick here is that the parser allows "multiple" to be used as a
> synonym of "sns" in child node definitions, see [1]. It's a
> Jackrabbit-specific convention that dates back to before the CND
> format was included (and cleaned up) in the JCR spec.
> 
> [1] https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/cnd/Lexer.java#L54
> [2] http://jackrabbit.apache.org/node-type-notation.html
> 
> BR,
> 
> Jukka Zitting
> 

-- 
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch

Mime
View raw message