Sigh. I just upgraded to Dreamweaver CS6 Creative Cloud, hoping it would solve the code rewriting issues added in CS5.5.
No joy. Take a look at the following code fragment:
<input type="text" name="getEmailAddress()" size="40" required="1" validate="email" message="Please enter your email address." />
Thing is, this is NOT HTML. This is part of an XML definition of a form, embedded within a CFC. Whenever CS6 gets its grubby little paws on it, however it changes it to this:
<input type="text" name="getEmailAddress()" size="40" required validate="email" message="Please enter your email address." />
Note the required="1" attribute is now simply required. Which blows up the XML parser big time.
This, just when I was getting around to writing a post about how, after THREE versions (CS3, CS4, CS5), Adobe finally got around to fixing the code rewriting bug I originally posted back in March, 2008.
I've turned off rewriting in preferences and done pretty much eveything I could think of, AND DREAMWEAVER STILL REWRITES MY CODE!
I was told in CS5.5 that Dreamweaver will perform these kinds of changes based on the presence of a doctype specification. But why is doing it in a ****ing CFC?????? Am I supposed to add doctype's to my CFC's now?
Look, Adobe, I'm a professional. I know what I'm doing, and when I put text to a file, I expect it to remain exactly as written. I do NOT need you "improving" my code.
Especially when "improving" my code BREAKS MY CODE.
Please provide a "hands off" option, and HONOR it.
I need Dreamweaver because I need RDS access to some sites. If it were not for RDS access, I would drop this piece of grief and aggravation in a heartbeat.
I wonder how many years I'm going to have to wait to get THIS fixed...