jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sanders <david_sande...@yahoo.com>
Subject TCK test's validation of nt:hierarchyNode
Date Fri, 14 Jul 2006 05:49:40 GMT
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.

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