I've been looking at the new session transformer and I stumbled onto an issue that may or may not be a bug.
This XML: <?xml version="1.0" ?> <test xmlns:session="http://cocoon.apache.org/session/1.0"> <session:createcontext name="sessionTest" /> <session:setxml context="sessionTest" path="/"> <root>foo</root> </session:setxml> <session:mergexml context="sessionTest" path="/"> <root> <stem>bar</stem> </root> </session:mergexml> <session:getxml context="sessionTest" path="/"/> </test> generates a Cocoon 2 - Internal server error: org.apache.cocoon.ProcessingException: Not a valid path for setNode(): / whereas this version works fine: <?xml version="1.0" ?> <test xmlns:session="http://cocoon.apache.org/session/1.0"> <session:createcontext name="sessionTest" /> <session:setxml context="sessionTest" path="/"> <root>foo</root> </session:setxml> <session:mergexml context="sessionTest" path="/root"> <stem>bar</stem> </session:mergexml> <session:getxml context="sessionTest" path="/"/> </test> Is it not allowed to update from the root level? Best regards, Bruce --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>