Hi,
On 1/18/07, Pruitt, Steve <[EMAIL PROTECTED]> wrote:
Now I get an exception saying my custom namespace is not defined. I
poked aound and nothing obvious popped up on how to do this.
You can standard JCR mechanisms to explicitly register namespaces:
Session session = ...;
NamespaceRegistry registry =
session.getWorkspace().getNamespaceRegistry();
registry.registerNamespace("prefix", "uri");
PS. I assume you are using the CND parser explicitly instead of the
JackrabbitNodeTypeManager extension interface when registering the
node types. The improvements from JCR-349 and JCR-383 should
automatically cover both your issues.
BR,
Jukka Zitting