hi david,

On 7/14/06, David Sanders <[EMAIL PROTECTED]> 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

Reply via email to