Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 25859 invoked from network); 14 Jan 2003 02:47:54 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Jan 2003 02:47:54 -0000 Received: (qmail 9811 invoked by uid 97); 14 Jan 2003 02:49:18 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 9789 invoked by uid 97); 14 Jan 2003 02:49:18 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 16257 invoked by uid 98); 14 Jan 2003 02:35:12 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <3E23770C.9090007@cisco.com> Date: Mon, 13 Jan 2003 18:33:48 -0800 From: Steve Prentice User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: ant-dev@jakarta.apache.org Subject: problems with output containing CDATA sections when using XmlLogger Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jan 2003 02:33:48.0503 (UTC) FILETIME=[5E27CE70:01C2BB75] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all- I am having a problem with the XmlLogger creating invalid XML documents. This is occuring because my build output contains sections that are not being escaped (encoded) before being added to the log document. I noticed that in older versions of Ant (like 1.2) the text was being encoded, but this was taken out later when Ant moved to using the javax.xml.parsers.DocumentBuilder and org.w3c.dom.Document to build the XML document. Is this a bug in Ant or should org.w3c.dom.Document.createCDATASection take care of this automatically (and therefore a bug in org.w3c.dom.Document)? Here is an example of what happens: Thanks, Steve Prentice -- To unsubscribe, e-mail: For additional commands, e-mail: