jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: cnd and multiple
Date Wed, 27 Mar 2013 04:40:02 GMT
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

Mime
View raw message