>i'm practically certain that the only namespace events that are being
>passed in to xalan are the startPrefixMapping at the document root that
>establishes the default namespace end the endPrefixMapping at the end that
>removes it...
One guess on what might be different between the command-line and cocoon2
version: Check whether the namespaces are being presented _only_ as
prefixMapping events rather than also appearing as attributes on the
appropriate element(s). I'm not 100% sure, but it looks like the current
SAX2DTM code expects to be passed both, and I can imagine that Cocoon might
be trying to take the shortcut...