I CAN NOT ****ING BELIEVE IT.
I just upgraded from Dreamweaver CS5 to CS5.5, as I needed to cross-grade to the Design Suite in order to get InDesign.
Everything was going swimmingly, until I ran across the following. 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 CS5.5 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 tried changing doctypes, turned off rewriting in preferences, and done pretty much eveything I could think of, AND DREAMWEAVER STILL REWRITES MY CODE!
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 wonder how many years I'm going to have to wait to get THIS fixed...
UPDATE: It appears that Dreamweaver will perform these kinds of changes based on the presence of a doctype specification... But why is doing it in a CFC?????? Am I supposed to add doctype's to my CFC's now?