[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 comefr


what does cdata means
/ David Lyon <david.lyon@c...> was heard to say:
| 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..

Recall that mixed content is identified with #PCDATA. Without
consulting 8879, let me attempt to paraphrase. What does PCDATA stand
for? "Parseable Character Data". And what is CDATA, "Character Data" that
isn't parseable. The fact that it's locked inside the <![CDATA[ section
means that noramally active characters (like & and <) are not active.

| 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 ?

Uh, that you're looking at the document with a tool that doesn't
understand utf-8 or utf-16. Why are you doing that?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@n...> | I'm NOT in denial!
http://nwalsh.com/            | 

PGP signature


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.