Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 83172 invoked from network); 26 Jan 2001 14:40:44 -0000 Received: from relay1.mail.uk.psi.net (154.32.105.6) by h31.sny.collab.net with SMTP; 26 Jan 2001 14:40:44 -0000 Received: from [194.223.2.11] (helo=postoffice.categoric.co.uk) by relay1.mail.uk.psi.net with esmtp (Exim 2.12 #2) id 14MA3N-0003pa-00 for general@xml.apache.org; Fri, 26 Jan 2001 14:40:41 +0000 Received: by POSTOFFICE with Internet Mail Service (5.5.2653.19) id ; Fri, 26 Jan 2001 14:41:51 -0000 Message-ID: From: Matt Seaborn To: "'general@xml.apache.org'" Subject: HELP: Vanishing CDATA Date: Fri, 26 Jan 2001 14:41:51 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C087A6.1E70BE40" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ------_=_NextPart_001_01C087A6.1E70BE40 Content-Type: text/plain; charset="iso-8859-1" Here's a question someone (hopefully) can answer quickly. When an XML string containing an empty CDATA section ( e.g. ) is parsed by a DOMParser the empty CDATA section is ignored and not stored within the resulting Document. How do ensure that when an empty CDATA section is parsed it doesn't vanish? Cheers! ------_=_NextPart_001_01C087A6.1E70BE40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable HELP: Vanishing CDATA

Here's a question someone (hopefully) = can answer quickly.  When an XML string containing an empty CDATA = section ( e.g. <![CDATA[]]> ) is parsed by a DOMParser the empty = CDATA section is ignored and not stored within the resulting = Document.

How do ensure that when an empty CDATA = section is parsed it doesn't vanish?

Cheers!

------_=_NextPart_001_01C087A6.1E70BE40--