sorry, 

NodeTypeUtil seemed to be already fixed :)
forget it so

gena
  ----- Original Message ----- 
  From: Gennady Azarenkov 
  To: [email protected] 
  Sent: Tuesday, February 28, 2006 1:15 PM
  Subject: TCK: NodeTypeUtil.locateChildNodeDef prb


  hi,

  it seems the NodeTypeUtil.locateChildNodeDef() method causes a problem in 

  CanAddChildNodeCallWithNodeTypeTest.testDefinedAndIllegalType() 
  and
  CanAddChildNodeCallWithNodeTypeTest.testResidualAndIllegalType()

  for me NodeTypeUtil.locateChildNodeDef chooses nt:file nodetype and then 
  NodeTypeUtil.getIllegalChildNodeType() returns "nt:base" as illegal child 
nodetype, 
  so "nt:base" is legal and illegal child node type for "nt:file" at the same 
time :)

  of course  it works if set explicitly the node type ("nt:folder" for ex) 
instead
  of using locateChildNodeDef()...

  why not to set the nodetype explicitly (using repositoryStubImpl.properties 
mechanism for ex) so ?

  regards,

  gena

Reply via email to