jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gennady Azarenkov" <gazaren...@hotmail.com>
Subject unregisterNamespace and TCK
Date Sat, 18 Jun 2005 11:40:16 GMT
hi,

it seems that there are wrong behaviour in TCK's NamespaceRegistryTest 
(i guess because Jackrabbit does not check if the namespace is present in content 
in unregistering and either does not check item's namespace in remove()).
so the sequence is:
1. NamespaceRegistry.registerNamespace("tst", "www.apache.org/jackrabbit/test/namespaceRegistryTest");
2. testRootNode.addNode("tst:root");
3. NamespaceRegistry.unregisterNamespace("tst"); (in NamespaceRegistryTest.tearDown()) - 
it seems should throw NamespaceException

regards,
gena

-------------------------
Gennady Azarenkov
eXo platform
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message