You bring up an excellent point Jeff about wddx and the CF parsing and 
rendering implementation of the architecture.

The point being that wddx is not really xml compliant, that is when it comes 
to CF parsing the stuff....

so what you are left with is a bunch of string substitions when you get to 
key characters such as "<" and "="... basically an equivalent HTML character 
encoding is found &gt;, & lt; etc... or in the case of special charaters it 
is a weird (and I think microsoft character encoding standard):
for instance the some french characters come out like so:
<char code='0A'/>&#xC0;&#xC9;</string>

so leave your pre-processing instructions at home cause CF doesn't like 
em....

-marcus


----Original Message Follows----
From: "Jeffrey Haas" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: [CFTALKTor] WDDX Question in regards to CDATA element
Date: Fri, 15 Mar 2002 00:01:20 -0500
MIME-Version: 1.0
Received: from [209.167.227.131] by hotmail.com (3.2) with ESMTP id 
MHotMailBE5ACEAB00194136E84AD1A7E383348B0; Thu, 14 Mar 2002 21:16:48 -0800
Received: from localhost (mail@localhost)by hummm.infopreneur.net 
(8.9.3/8.8.7) with SMTP id AAA28084;Fri, 15 Mar 2002 00:13:49 -0500
Received: by hummm.infopreneur.net (bulk_mailer v1.12); Fri, 15 Mar 2002 
00:13:11 -0500
Received: (from major@localhost)by hummm.infopreneur.net (8.9.3/8.8.7) id 
AAA28063for cfug-outgoing; Fri, 15 Mar 2002 00:13:10 -0500
Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net 
[209.226.175.35])by hummm.infopreneur.net (8.9.3/8.8.7) with ESMTP id 
AAA28059for <[EMAIL PROTECTED]>; Fri, 15 Mar 2002 00:13:09 -0500
Received: from hmzw801 ([65.95.229.76]) by tomts14-srv.bellnexxia.net        
   (InterMail vM.4.01.03.23 201-229-121-123-20010418) with SMTP          id 
<20020315051510.HLLA19892.tomts14-srv.bellnexxia.net@hmzw801>          for 
<[EMAIL PROTECTED]>; Fri, 15 Mar 2002 00:15:10 -0500
>From [EMAIL PROTECTED] Thu, 14 Mar 2002 21:17:13 -0800
Message-ID: <[EMAIL PROTECTED]>
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Sender: [EMAIL PROTECTED]

I'm trying to figure out what I'm doing wrong with a WDDX packet to result
in this error message:

The member "MEAT" in dimension 1 of object "PostedRequest" cannot be found.
Please, modify the member name.

My WDDX packet is below. My challenge is with the CDATA element. I can pass
<string> elements without any errors, but can't get the CDATA to work
properly. I need to format the wddx so that content objects with some HTML
formatting can be transmitted by WDDX. Any comments on what I have here or
alternate strategies would be appreciated.

Thank you.

Jeff Haas
[EMAIL PROTECTED]


<?xml version='1.0'?>
<!DOCTYPE wddxPacket SYSTEM 'wddx_0090.dtd'>
<wddxPacket version='0.9'>
        <header>This is my header</header>
        <data>
                <struct>
                        <var name='CHEESE'>
                                <string>i like cheese</string>
                        </var>
                        <var name='PUBDATE'>
                                <dateTime>1998-06-12T04:32:12</dateTime>
                        </var>
                        <var name='MEAT'>
                                <![CDATA[

                                <p>This is my content.</p>
                                <p>There will be lots of text and some HTML formatting 
here.</p>

                                 ]]>
                        </var>
                </struct>
        </data>
</wddxPacket>







___________________________
True North, Strong & Loud!
http://www.KickInTheHead.com

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Jeffrey Haas" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Marcus Augustus" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to