March 1st, 2013, 03:33 PM
Valid use of <![CDATA[ in XML. Why dreamweaver changes the color as if this is error?
In Dreamweaver when the code gets to don't, it changes the color as if this is error. But the browser doesn't show this as an error. Why?
<?xml version="1.0" encoding="UTF-8"?>
<things><![CDATA[ We walk you step by step to make sure you don't miss anything. We seriously care about every single client. We spend time together in public and make sure you understand and learn everything. ]]></things>
March 1st, 2013, 04:25 PM
Because it isn't an error.
March 1st, 2013, 08:41 PM
Dreamweaver isn't exactly a CIA supercomputer. It's not great. That's your explanation: Dreamweaver isn't great.
HEY! YOU! Read the New User Guide and Forum Rules
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin
"The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002
Think we're being rude? Maybe you asked a bad question
or you're a Help Vampire.
Trying to argue intelligently? Please read this.
March 2nd, 2013, 03:52 PM
Ok 'm confused! The Firefox shows it as a well formatted XML with no errors.
Originally Posted by requinix
I also tried replacing ' with ' but it shows is as ' in the browser and not '.
What is going on there.
March 2nd, 2013, 04:18 PM
It's not an error. It's using Dreamweaver that's an error.
I ♥ ManiacDan & requinix
This is a sig, and not necessarily
a comment on the OP:
don't be a help vampire
March 2nd, 2013, 04:19 PM
What? requinix and ManiacDan just told you there is no error. The XML is correct.
If Dreamweaver shows errors, then that's because its XML parser is broken -- which is what ManiacDan just said. The only way to fix that is to send a bug report to Adobe or something.
Again: The XML is correct, so no matter what you do, you won't get it "correcter".
XML entities don't get parsed within CDATA sections. That's actually the whole point of CDATA sections: to prevent parsing.
March 2nd, 2013, 05:09 PM
Excuse me I didn' read the posts carefully! Now it makes sense.
Originally Posted by Jacques1