Closed Thread Icon

Preserved Topic: Dreamweaver MX: {?xml version="1.0" encoding="iso-8859-1"?} AAARRRGGGHHH Pages that link to <a href="https://ozoneasylum.com/backlink?for=17256" title="Pages that link to Preserved Topic: Dreamweaver MX: {?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;iso-8859-1&amp;quot;?} AAARRRGGGHHH" rel="nofollow" >Preserved Topic: Dreamweaver MX: {?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?} AAARRRGGGHHH\

 
Author Thread
patric design
Bipolar (III) Inmate

From: 290 km/h, fast lane, Autobahn, Germany
Insane since: Feb 2001

posted posted 10-21-2002 09:07

Mornin'

It drives me mad... and its not even 9:00 in the morning...

Every time I create a new XHTML page in Dreamweaver MX, it inserts the damn <?xml version="1.0" encoding="iso-8859-1"?> string at the top. This wouldn't be so bad because one could simply delete it (still annoying). However, now DW MX inserts this string into all pages created from a template (even after i deleted the string from the source of the template and adding <!-- TemplateInfo codeOutsideHTMLIsLocked="true" --> ). The solution - so i thought - sould be to uncheck "make XHTML compliant" in preferences and the "New.." dialog and to edit the Default.html standard template. This would also give the chance to add some standard meta tags and ASCII art (just kidding ). So i did change Default.html and....damn. DW displays the edited file with the XML tag at the top although "make XHTML compliant" is UNchecked... grrrr

Can anyone help me with this? How do i kill the string from Dreamweaver MX?

<´¯`·.¸ Patric ¸.·´¯`>

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 10-21-2002 09:42

Did you try restarting DW at any point in this? It may require a restart before that option will take effect.

patric design
Bipolar (III) Inmate

From: 290 km/h, fast lane, Autobahn, Germany
Insane since: Feb 2001

posted posted 10-21-2002 10:45

Yes, I restarted it quite a few times (made a new default.css too while i was at it), thinking that it would help but no luck. DW loads the changed Default.html alright but it still adds the XML tag at the top, even though this option is unchecked everywhere i could find it.

<´¯`·.¸ Patric ¸.·´¯`>

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 10-21-2002 13:49

well, why do you want it to be removed? its what classifies an xhtml document.

hmm, it might be somewhere in the DreamweaverMX/Configuration directories.
but since you say you unchecked it, this is weird. did you try restarting a new site from scratch?

patric design
Bipolar (III) Inmate

From: 290 km/h, fast lane, Autobahn, Germany
Insane since: Feb 2001

posted posted 10-21-2002 17:29

ok, I've set up a new site from scratch, this is the result

1. Dreamweaver starts with a blank and correct Default.html without XML tag
2. Site window: File -> New file... correct new Default.html file without XML tag
3. Main window: File -> New... correct Default.html WITH XML TAG no matter if "Make Document XHTML compliant" is CHECKED OR UNCHECKED

Grumble, i do a lot of XHTML & CSS coding and the only thing you need to peoperly classify or make a doc XHTML compliant is the correct doctype:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

however, DW MX inserts this:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Now if you keep the <?xml version... stuff in there, it makes IE5+ use the "quirky" box model which means you can't apply the box model hack properly. Any doc without the xml tag validates just fine. So for me the xml tag is obsolete and I'd like it removed from DW altogether...

REALLY ANNOYING however is this: I set up a DW template with all correct code, the xml tag removed and the HTML locked (also important so you don't have to apply ad-fixes for free hosters on every page manually). When I create a new page from the template, it adds the <?xml... tag at the top. And that is REALLY annoying...

<´¯`·.¸ Patric ¸.·´¯`>

[This message has been edited by patric design (edited 10-21-2002).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 10-21-2002 17:36

Well, first of all, unchecking "make XHTML compliant" shouldn't even be considered an option; especially when standards mode is obviously so important to you =)

I don't use Dreamweaver, though, so I don't really know what you can do. You did check the help menu, right?

Jestah
Maniac (V) Mad Scientist

From: Long Island, NY
Insane since: Jun 2000

posted posted 10-21-2002 17:38

Dreamweaver came with my Studio MX suite but I'm not very familar with that software. I do have the manual here in my bookshelf though. When I get a free moment I'll try to skim through and see what I come up with.

-Jestah
Cell 277

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 10-21-2002 18:34

wow. well i use dreamweaver MX regularily but with this i cant help you. looks really strange.

you could also contact the support or community or i had already success in their newsgroups too:
news://macromedia.dreamweaver

« BackwardsOnwards »

Show Forum Drop Down Menu