jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: TCK test's validation of nt:hierarchyNode
Date Fri, 14 Jul 2006 10:23:24 GMT
hi david,

On 7/14/06, David Sanders <david_sanders1@yahoo.com> wrote:
> This concerns the JSR-170 TCK at
> http://jcp.org/aboutJava/communityprocess/final/jsr170/index.html.
>
> The TCK's
> src/java/org/apache/jackrabbit/test/api/nodetype/spec/nt-hierarchyNode.txt
> is used by a TCK test to validate a repository's
> predefined nt:hierarchyNode nodetype.
>
> The above .txt file causes a test to expect the
> jcr:created property def to be mandatory true.
> But, the JSR 170.1.0.1 spec says that property is not
> mandatory.

you're absolutely right, that's a bug in the TCK. thanks for reporting
this issue.
i created a jira issue: http://issues.apache.org/jira/browse/JCR-479

cheers
stefan


>
> src/java/org/apache/jackrabbit/test/api/nodetype/spec/nt-hierarchyNode.txt
> -----------------------------------------------------
> NodeTypeName
>   nt:hierarchyNode
> ...
> PropertyDefinition
>   Name jcr:created
>   RequiredType DATE
>   ValueConstraints []
>   DefaultValues null
>   AutoCreated true
>   Mandatory true
>   OnParentVersion INITIALIZE
>   Protected true
>   Multiple false
>
>
> Spec
> ----
> NodeTypeName
> nt:hierarchyNode
> ...
> PropertyDefinition
> Name jcr:created
> RequiredType DATE
> ValueConstraints []
> DefaultValues null
> AutoCreated true
> Mandatory false
> OnParentVersion INITIALIZE
> Protected true
> Multiple false
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Mime
View raw message