jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hess, Peter" <peter.hess....@gbtec.de>
Subject AW: Can't get CustomNode with XPATH
Date Sun, 17 Feb 2008 09:38:04 GMT
Thanks for the answer.
I'm not sure whath's going on. I' ve changed the definition in the CND file from
> [lhc:news] > bicdoc:folder, mix:referenceable mixin orderable


[lhc:news] > bicdoc:folder, mix:referenceable orderable

and now it works. So I've followed your hint, but I really did not understand :-) 

By the way: lhc:news for me is the primary node name. I've checked this in the custom_nodetypes.xml.
For the first time, my Problem is solved. We do not want to use the mixin feature in our system
at the Moment. But I like to understand. If someone can explain what I've done wrong. Thanks!



<nodeType hasOrderableChildNodes="true" isMixin="false" name="lhc:news" primaryItemName="">





<propertyDefinition autoCreated="false" mandatory="false"

multiple="true" name="subCategories" onParentVersion="COPY"

protected="false" requiredType="Reference" />

<propertyDefinition autoCreated="false" mandatory="false"

multiple="false" name="*" onParentVersion="VERSION" protected="false"

requiredType="undefined" />





Von: Jukka Zitting [mailto:jukka.zitting@gmail.com]
Gesendet: So 17.02.2008 10:05
An: users@jackrabbit.apache.org
Betreff: Re: Can't get CustomNode with XPATH


On Feb 17, 2008 1:54 AM, Peter Heß <peter.hess.ext@gbtec.de> wrote:
> [lhc:news] > bicdoc:folder, mix:referenceable mixin orderable
> [...]
> /jcr:root/News//*[@jcr:primaryType='lhc:news']

I'm not sure if this is related, but it seems strange that you could
use a mixin type as the primary type of a node.


Jukka Zitting

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