Re: CFWDDX Serialization and Deserialization

2010-12-07 Thread Jason Fisher

Sounds like the OP's issue is XML, not HTML, where the CDATA blocks can't be 
nested.  Not sure there's a solution for that one ... 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339878
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFWDDX Serialization and Deserialization

2010-12-07 Thread Dan Baughman

I'll throw together  a segement code later for those interested.  It's
really more basic than that.



On Tue, Dec 7, 2010 at 7:11 AM, Jason Fisher ja...@wanax.com wrote:


 Sounds like the OP's issue is XML, not HTML, where the CDATA blocks can't
 be nested.  Not sure there's a solution for that one ...

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339879
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFWDDX Serialization and Deserialization

2010-12-06 Thread Dan Baughman

It has recently (and very painfully) come to my attention that cfwddx
serialize doesn't encapsulate strings in CDATA markers.

This removes your ability to have HTML/XML markup in a string that is part
of a struct you are trying to serialize/deserialize with out paying special
attention to each string at serialization and deserialization time.

Is there something I'm missing?  This would seem to be an incredibly useful
feature that would save tons of work and make the serialization feature tons
more useful.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339842
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFWDDX Serialization and Deserialization

2010-12-06 Thread Russ Michaels

Could you use CFJSON instead

http://cfjson.riaforge.org/

Russ

-Original Message-
From: Dan Baughman [mailto:dan.baugh...@gmail.com] 
Sent: 06 December 2010 21:24
To: cf-talk
Subject: CFWDDX Serialization and Deserialization


It has recently (and very painfully) come to my attention that cfwddx
serialize doesn't encapsulate strings in CDATA markers.

This removes your ability to have HTML/XML markup in a string that is part
of a struct you are trying to serialize/deserialize with out paying special
attention to each string at serialization and deserialization time.

Is there something I'm missing?  This would seem to be an incredibly useful
feature that would save tons of work and make the serialization feature tons
more useful.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339861
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFWDDX Serialization and Deserialization

2010-12-06 Thread Dan Baughman

Yea I'm remembering why I chose to use cfwddx when I build this specific
app, but I'm wishing I had used something else like that.

Have you used that much with international or special character sets,
writing to database, etc?

Before I change serialization techniques I want to find the right one this
time.

On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote:


 Could you use CFJSON instead

 http://cfjson.riaforge.org/

 Russ

 -Original Message-
 From: Dan Baughman [mailto:dan.baugh...@gmail.com]
 Sent: 06 December 2010 21:24
 To: cf-talk
 Subject: CFWDDX Serialization and Deserialization


 It has recently (and very painfully) come to my attention that cfwddx
 serialize doesn't encapsulate strings in CDATA markers.

 This removes your ability to have HTML/XML markup in a string that is part
 of a struct you are trying to serialize/deserialize with out paying special
 attention to each string at serialization and deserialization time.

 Is there something I'm missing?  This would seem to be an incredibly useful
 feature that would save tons of work and make the serialization feature
 tons
 more useful.




 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339870
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFWDDX Serialization and Deserialization

2010-12-06 Thread Russ Michaels

I haven't used it in that way no, but as JSON is so widely used (JQUERY for
example) I would imagine it can cope with anything.

Russ

-Original Message-
From: Dan Baughman [mailto:dan.baugh...@gmail.com] 
Sent: 07 December 2010 00:43
To: cf-talk
Subject: Re: CFWDDX Serialization and Deserialization


Yea I'm remembering why I chose to use cfwddx when I build this specific
app, but I'm wishing I had used something else like that.

Have you used that much with international or special character sets,
writing to database, etc?

Before I change serialization techniques I want to find the right one this
time.

On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote:


 Could you use CFJSON instead

 http://cfjson.riaforge.org/

 Russ

 -Original Message-
 From: Dan Baughman [mailto:dan.baugh...@gmail.com]
 Sent: 06 December 2010 21:24
 To: cf-talk
 Subject: CFWDDX Serialization and Deserialization


 It has recently (and very painfully) come to my attention that cfwddx
 serialize doesn't encapsulate strings in CDATA markers.

 This removes your ability to have HTML/XML markup in a string that is part
 of a struct you are trying to serialize/deserialize with out paying
special
 attention to each string at serialization and deserialization time.

 Is there something I'm missing?  This would seem to be an incredibly
useful
 feature that would save tons of work and make the serialization feature
 tons
 more useful.




 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339871
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFWDDX Serialization and Deserialization

2010-12-06 Thread Mark Mandel

I'm pretty sure I've stored HTML fragments inside WDDX packets just fine,
and never had an issue.

Mind you, I haven't use WDDX in probably ~8 years ;o)

Mark

On Tue, Dec 7, 2010 at 12:01 PM, Russ Michaels r...@michaels.me.uk wrote:


 I haven't used it in that way no, but as JSON is so widely used (JQUERY for
 example) I would imagine it can cope with anything.

 Russ

 -Original Message-
 From: Dan Baughman [mailto:dan.baugh...@gmail.com]
 Sent: 07 December 2010 00:43
 To: cf-talk
 Subject: Re: CFWDDX Serialization and Deserialization


 Yea I'm remembering why I chose to use cfwddx when I build this specific
 app, but I'm wishing I had used something else like that.

 Have you used that much with international or special character sets,
 writing to database, etc?

 Before I change serialization techniques I want to find the right one this
 time.

 On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote:

 
  Could you use CFJSON instead
 
  http://cfjson.riaforge.org/
 
  Russ
 
  -Original Message-
  From: Dan Baughman [mailto:dan.baugh...@gmail.com]
  Sent: 06 December 2010 21:24
  To: cf-talk
  Subject: CFWDDX Serialization and Deserialization
 
 
  It has recently (and very painfully) come to my attention that cfwddx
  serialize doesn't encapsulate strings in CDATA markers.
 
  This removes your ability to have HTML/XML markup in a string that is
 part
  of a struct you are trying to serialize/deserialize with out paying
 special
  attention to each string at serialization and deserialization time.
 
  Is there something I'm missing?  This would seem to be an incredibly
 useful
  feature that would save tons of work and make the serialization feature
  tons
  more useful.
 
 
 
 
 



 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFWDDX Serialization and Deserialization

2010-12-06 Thread Daniel Baughman

If it's valid XHTML with no high ASCII it works.  

Sent from my mobile device

On Dec 6, 2010, at 7:16 PM, Mark Mandel mark.man...@gmail.com wrote:

 
 I'm pretty sure I've stored HTML fragments inside WDDX packets just fine,
 and never had an issue.
 
 Mind you, I haven't use WDDX in probably ~8 years ;o)
 
 Mark
 
 On Tue, Dec 7, 2010 at 12:01 PM, Russ Michaels r...@michaels.me.uk wrote:
 
 
 I haven't used it in that way no, but as JSON is so widely used (JQUERY for
 example) I would imagine it can cope with anything.
 
 Russ
 
 -Original Message-
 From: Dan Baughman [mailto:dan.baugh...@gmail.com]
 Sent: 07 December 2010 00:43
 To: cf-talk
 Subject: Re: CFWDDX Serialization and Deserialization
 
 
 Yea I'm remembering why I chose to use cfwddx when I build this specific
 app, but I'm wishing I had used something else like that.
 
 Have you used that much with international or special character sets,
 writing to database, etc?
 
 Before I change serialization techniques I want to find the right one this
 time.
 
 On Mon, Dec 6, 2010 at 4:43 PM, Russ Michaels r...@michaels.me.uk wrote:
 
 
 Could you use CFJSON instead
 
 http://cfjson.riaforge.org/
 
 Russ
 
 -Original Message-
 From: Dan Baughman [mailto:dan.baugh...@gmail.com]
 Sent: 06 December 2010 21:24
 To: cf-talk
 Subject: CFWDDX Serialization and Deserialization
 
 
 It has recently (and very painfully) come to my attention that cfwddx
 serialize doesn't encapsulate strings in CDATA markers.
 
 This removes your ability to have HTML/XML markup in a string that is
 part
 of a struct you are trying to serialize/deserialize with out paying
 special
 attention to each string at serialization and deserialization time.
 
 Is there something I'm missing?  This would seem to be an incredibly
 useful
 feature that would save tons of work and make the serialization feature
 tons
 more useful.
 
 
 
 
 
 
 
 
 
 
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339875
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm