[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Where does the "nothing left but toolkits" myth come f


ctrl return

Harold,

I have a passion about CDATA... they are most definitely a lump of
old car bodies lying in the swamp doing nothing but leaking lead
based paint flakes into the water...

Don't ask me to have a sensible conversation about them.. because
I just can't follow the logic behind them..

Where does "CDATA" come from? My only recollection of the term
is in assembly language programming where you used to have a CDATA
segment for storing data in. Maybe that was in the assembly generated
for C. Whatever... I just bored myself to sleep..

So for some chinese , we take...

    <customer>
         name&="Joe Schmoe"
         addr&="123 Seattle Ave"
         bad_characters&="]]>"
         my_bad_characters="^/ ^m (carriage return) ^t (tab) ^" (quote)"
    </customer>

send it to a chinese customer and get back:

(this works under my linux mail client so I'm sending it anyway)

   <?客>
       ?名&="Joe Schmoe"
       ??&="123 Seattle Ave"
       ????&="]]>"
       ????????="^/ ^m (carriage return) ^t (tab) ^" (quote)"
   </?客>

Proves what ? that no embedded data should cause hickups and
all data should be easy to transport. What do I do with control
characters ? ie Esc 2 J for instance.. leave them in.. just make sure
the field data is started and ended with quotes.

Most commonly, xml is used to take data out of one system and
transport it into another. Typically, it will be records from a database
going into a database somewhere else.

This is a really basic thing, and I'm not sure if younger people
going forward will be patient enough to sit there and listen to
a three hour lecture on CDATA... It sends me to sleep every
time...


-- 
Computergrid : The ones with the most connections win.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.