jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Poce <edgarp...@gmail.com>
Subject References to non referenceable nodes
Date Sat, 16 Apr 2005 02:06:55 GMT
Hi

  According to the spec only nodes with referenceable mixin type can be 
referenced but I noticed that there are cases that don't follow that 
rule. Since nt:resource inherits from nt:referenceable I guess it should 
expose the mix:referenceable mixin type, am i missing something?

regards
edgar

Relevant nodes in the repository after running Init test.
Note that "/testdata/node/myResource" does not expose mix:referenceable 
and it's referenced by "/testdata/node/reference" :

/testdata/node/myResource
/testdata/node/myResource/jcr:primaryType=nt:resource
/testdata/node/myResource/jcr:uuid=816d88b3-eda5-4571-8d45-d6219c2158bc
/testdata/node/myResource/jcr:encoding=UTF-8
/testdata/node/myResource/jcr:mimeType=text/plain
/testdata/node/myResource/jcr:data=Hello w├Ârld.
/testdata/node/myResource/jcr:lastModified=2005-04-15T22:05:18.349-03:00
/testdata/node/reference
/testdata/node/reference/jcr:primaryType=nt:unstructured
/testdata/node/reference/ref=816d88b3-eda5-4571-8d45-d6219c2158bc
/testdata/node/reference/jcr:mixinTypes=mix:referenceable

Mime
View raw message