Hi,

found it by myself. It was a stupied bug: forgotten to
call super.startTransformingElment for elements, which i
didn't handle in my transformer.

So sorry for bugging everyone.

Max

Hi everybody,

i have a question about source resolving, which drives me nuts.
In my own Treansformer extended from AbstractSAXTransformer i make
the follwoing lines within the metod startTransformingElement:

Source resource = SourceUtil.getSource( attr.getValue( COLLECT_INCLUDE_ELEMENT_SRC_ATTRIBUTE );

// if i print resource.getURI() the string machts the desired cocoon pipline.

SourceUtil.toSAX( resource,xmlConsumer,null,true );

// always fail because it parses the default pipline, which contains a reader

How can resouirce point to the desire pipeline match and SourceUtil.toSax() or
resource.getInpuSTream() always returns the default pipeline/match
(ala match="" or match="**")?

regards

Max



Reply via email to