RE: Round trip with org.apache.cocoon.xml.dom.DOMUtil.node2String

2003-07-24 Thread Hugo Burm
Hugo Burm wrote: I dump my DOM node with org.apache.cocoon.xml.dom.DOMUtil.node2String to a string. Then I try to parse this string, hoping to create a copy of the original node, but I get a number of parser errors. The problem is that node2String expands entities like amp;

Re: Round trip with org.apache.cocoon.xml.dom.DOMUtil.node2String

2003-07-24 Thread Bruno Dumon
On Wed, 2003-07-23 at 21:54, Hugo Burm wrote: I dump my DOM node with org.apache.cocoon.xml.dom.DOMUtil.node2String to a string. Then I try to parse this string, hoping to create a copy of the original node, but I get a number of parser errors. The problem is that node2String expands

RE: Round trip with org.apache.cocoon.xml.dom.DOMUtil.node2String

2003-07-24 Thread Hugo Burm
-Original Message- From: Bruno Dumon [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 11:18 AM To: [EMAIL PROTECTED] Subject: Re: Round trip with org.apache.cocoon.xml.dom.DOMUtil.node2String On Wed, 2003-07-23 at 21:54, Hugo Burm wrote: I dump my DOM node

Round trip with org.apache.cocoon.xml.dom.DOMUtil.node2String

2003-07-23 Thread Hugo Burm
I dump my DOM node with org.apache.cocoon.xml.dom.DOMUtil.node2String to a string. Then I try to parse this string, hoping to create a copy of the original node, but I get a number of parser errors. The problem is that node2String expands entities like amp; into . And when I parse the resulting