realbasic-nug
[Top] [All Lists]

CDATA node type when parsing XML

To: realbasic-nug at lists dot realsoftware dot com
Subject: CDATA node type when parsing XML
From: Andy Dent <dent at oofile dot com dot au>
Date: Mon, 31 May 2004 08:46:00 +0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
List-help: <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help>
List-id: REALbasic NUG <realbasic-nug.lists.realsoftware.com>
List-post: <mailto:realbasic-nug@lists.realsoftware.com>
References: <20040530193733 dot C5E2B1FB6E8 at lists dot realsoftware dot com>
I'm converting to the builtin XML classes.

If you have a piece of XML like
<styleRun size="13"><![CDATA[This ]]></styleRun>

what type of element would you expect the CDATA bit to create when XMLDocument is loaded from that file?

I expected a XMLCDATASection but it created an XMLTextNode.

Is this a bug?

RB 5.5.2
_______________________________________________
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>
  • CDATA node type when parsing XML, Andy Dent <=