Andreas Hartmann wrote:
[EMAIL PROTECTED] wrote:
[...]
AbstractSAXTransformer cleanup:
Make sure namespaceURI is not null
http://www.saxproject.org/?selected=namespaces
If I understand this correctly, a null URI should be used
to denote elements without a namespace (I used to handle
it like that).
I just updated the Cocoon trunk and got a NPE in
AbstractSAXTransformer.endPrefixMapping():
if (namespaceURI.equals(uri)) {
Just in case someone is faced with the same problem:
It happened because a transformer did not call
super.setup() when overriding setup(). That's why
the namespaceURI field was not initialized.
-- Andreas