jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller" <thomas.tom.muel...@gmail.com>
Subject Re: Same name siblings
Date Sun, 10 Feb 2008 11:53:29 GMT
Hi,

world.setProperty("message", "Hello, World!");
> world.setProperty("message", "Hello");
> Is there anyway I can add both properties?


No. The JCR specification only supportd same name node siblings are
supported. As in XML: you can't define two attributes with the same name:

<p id="hello" id="world" />

This is illegal. Same name node siblings are supported:

<p /><p />

Regards.
Thomas

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message