(having a deja-vu but can't find it back in the mailinglist)

I have a transformer extending AbstractDOMTransformer.
For convenience i assigned in transform(Document) the document to an instance variable (so i could manipulate it in different methods without having to pass it around the whole time)


Result: My custom transform works only once, the second time i get
======
Description: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.xml.sax.SAXException: Mehr als ein Root fÃr ein Dokumentobjektmodell ist nicht mÃglich!
======
which means sth like: "you can't set more than one Root in a document object model".


When i change something in the sitemap, it works again only once and never again. When not using the instance variable all works fine.


What is causing this? When not using the instance variable all is okidoki. Some lifecycle stuff i don't know (have forgotten) about?



??? Jorg


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to