[ http://issues.apache.org/jira/browse/COCOON-1526?page=all ]
David Crossley updated COCOON-1526: ----------------------------------- Bugzilla Id: (was: 35273) Other Info: [Patch available] > [PATCH] processToDOM returns a read-only DOM > -------------------------------------------- > > Key: COCOON-1526 > URL: http://issues.apache.org/jira/browse/COCOON-1526 > Project: Cocoon > Type: Bug > Components: * Cocoon Core > Versions: 2.1.7 > Environment: Operating System: All > Platform: All > Reporter: Jeffrey Kirby > Assignee: Cocoon Developers Team > Attachments: PipelineUtil.java.diff, SourceUtil.java.diff, utils.patch > > When Saxon is the active XSLT processor, using the zero-argument constructor > to > DOMResult results in a read-only DOM being produced. This, in turn, means > that > a call to PipelineUtil.processToDOM() always returns a read-only DOM. The > attached patch adds overloaded versions of PipelineUtil.processToDOM() and > SourceUtil.toDOM() to allow the user to pass in an explicit Node object to be > passed to DOMResult (via DOMBuilder). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira