Issue: DW CS6 vs. CS5: [the] "COMMAND>Clean Up XHTML" feature corrupts (?) code format in CHROME -
mdgiamo Jul 28, 2012 7:20 PMGreetings, all: I am new to the forum, here…sorry if this first entry is a bit long...but I am confused, here!
I write to explain an issue between Dreamweaver CS6 (which appears to consistently create the problem); vs. DW CS5 (which somehow consistently fixes it).
NOTE: The Preferences settings on both installs of DW CS5/6 for "Validator / Doctype" are "Transitional 1.0" (set on the same iMac, running OSX 10.7.4 (Lion). I've seen lots of weird things occur over the years when creating Websites and dynamic streaming media, etc.,...but never have seen this exact type of thing before when [any] part of the HTML / XHTML code that wasn't inheritantly - or obviously - faulty from the start...).
PROBLEM:
1. In DW CS6, using the "COMMAND>Clean UP XHTML" operation - after an [otherwise] normal-seeming conversion from an HTML 4.0 file to become a Transitional 1.0 XHTML file (all of which - despite the issue at hand - are perfect looking in layout and are completely functional when live from the Internet. Most of these files include one [or more] external CSS and JS files; some incorporate Fireworks CS5/6-generated JS / pop-up menus, also... that could be a clue...but why DW CS5 fixes this code, that DW CS6 "breaks" - is strange, indeed...sort-of BACKWARD ENGINEERING).
2. This issue occurs only when viewing a DW CS6 "XHTML converted" page's code in the CHROME browser - through CHROME'S "View>Developer>View Source" menu option. (No other browsers will replicate this "scrunching" of the code...).
3. What I see is: all of the page code is "run together" ... the [normal] line formatting is gone...as if no line break tags, or carriage returns, are present in the code (though they are visible as tags and / or blank spaces etc.). Virtually unreadable; may even present the impression of a badly coded Webpage / site. Printouts of the code (from Chrome's screen) are the same, too: scrunched together - character after character - no line formatting. BUT - when working with the code / design elements - in either DW CS6/5 Code view - everything appears perfectly normal, including when in Design view.
4. I've run the "faulty-appearing" code - and the URI's themselves - for assistance through some WC3 validators: different ones offer different errors or warnings, etc....but when I try to modify the code to "fix" Chrome's code display format issue - nothing actually matches up to fix (that I can see, at least...). I have compared printouts of both "corrupted" and "normal" versions of the same code....difficult because of the run-on "paragraph of characters." The validators produce error issues: things like, "empty document on line one" of the page code (but it's not empty, of course); or validators note a missing "<" symbol on "line one" - but this symbol is not missing at all.
To see an example of what I mean, here....go to this URI of a copy of [one of] my own personal site's homepages: using CHROME (only): http://www.dilettantefilms.net/index-BAD.html
and then go to: View>Developer>View Source - to see what I'm talking about here...
HOWEVER...
5. If I open the exact same file(s) => in DW CS5 <= and perform the exact same operation ("Command>Clean Up XHTML") - DW CS5 fixes some type of tag or case mismatch(es) - a dialog box "tells" me that much - but not exactly WHAT was changed / corrected / or whre in the document, either. Then, after I re-upload a [DW CS5] "fixed" document - and again view the source code in CHROME - all the code formatting is totally NORMAL.
6. DW CS5 also FIXES the [unknown] "code problems" that DW CS6 somehow "broke." Go figure.
7. I have Googled the world over, re: this issue ... and Adobe's site, too … but find nothing about it. Does anyone else out there have this issue? Seen or heard of it - something like it; can suggest a solution...? Is there perhaps a now deprecated tag (or some other more recent change in code or CSS 3 "best practices") I haven't learned about, yet? Something that DW CS6 is sensitive to - but DW CS5 is NOT?
******
THANK YOU in advance...!!!
Message was edited by: mgiamo
Message was edited by: mgiamo
Message was edited by: mgiamo




