handling of namespace registrations in AbstractJCRTest
------------------------------------------------------
Key: JCR-759
URL: https://issues.apache.org/jira/browse/JCR-759
Project: Jackrabbit
Issue Type: Bug
Components: JCR TCK
Reporter: Julian Reschke
Priority: Minor
The TCK tests allow to specify namespace prefix/URI registrations to be made at
startup. Good.
The issue here is that AbstractJCRTest.setUp() essentially gives up when a
namespace URI is already registered, but uses a different prefix.
There are at least two ways to fix this:
1) overwrite the entry in the namespace registery, or
2) get the prefix, and substitute it later on when reading in JCR names.
Alternatively, it could just record the desired mappings, and automatically set
them on session scope (that would also have the benefit that the success of
many tests would be de-coupled from the ability to write to the permanent
namespace registry).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.