Re: [WSG] XML Declaration

2005-12-04 Thread Gunlaug Sørtun
Lachlan Hunt wrote: .html opens normally in any browser .xhtml Firefox will report well-formedness errors, page info dialog will typically show application/xhtml+xml. Just to make sure I've got it (somewhat) right at my end... I'm more or less aware of how easy it is to mess things up,

Re: [WSG] XML Declaration

2005-12-04 Thread Lachlan Hunt
Gunlaug Sørtun wrote: I'm more or less aware of how easy it is to mess things up, so for the last 2 years I've used the following procedure: - Creating an xhtml 1.0 document. - Cleaning out 'human bugs' in HTMLTidy - 'convert to xml'. - Serving it as 'xhtml' with the extension

Re: [WSG] XML Declaration

2005-12-04 Thread Donna Jones
- Creating an xhtml 1.0 document. - Cleaning out 'human bugs' in HTMLTidy - 'convert to xml'. - Serving it as 'xhtml' with the extension '.xhtml' to browsers that can make anything out of it - Opera, Moz/FF, Safari - internally and on line. Info: application/xhtml+xml - no errors -

Re: [WSG] XML Declaration

2005-12-04 Thread Gunlaug Sørtun
Donna Jones wrote: - Creating an xhtml 1.0 document. - Cleaning out 'human bugs' in HTMLTidy - 'convert to xml'. ... line 2 above, how do you convert to xml? I have Tidy installed on mozilla/fx but i don't see anyway to convert. More explanation would be appreciated! I use a rather

Re: [WSG] XML Declaration

2005-12-04 Thread Terrence Wood
Lachlan Hunt said: Gunlaug Sørtun wrote: I'm more or less aware of how easy it is to mess things up, so for the last 2 years I've used the following procedure: - Creating an xhtml 1.0 document. - Cleaning out 'human bugs' in HTMLTidy - 'convert to xml'. - Serving it as 'xhtml'

Re: [WSG] XML Declaration (was: Re: editor)

2005-12-03 Thread Lachlan Hunt
Gunlaug Sørtun wrote: An added advantage of including the 'xml declaration' is that IE7 won't be triggered by it. IE7 will simply skip it and treat 'xhtml 1.0' in 'Strict mode'. Therefore we have a built-in filter to avoid feeding IE6 styles to IE7, when our IE6 styles are using the old '*

Re: [WSG] XML Declaration

2005-12-03 Thread Gunlaug Sørtun
Lachlan Hunt wrote: Gunlaug Sørtun wrote: An added advantage of including the 'xml declaration' is that IE7 won't be triggered by it. IE7 will simply skip it and treat 'xhtml 1.0' in 'Strict mode'. Therefore we have a built-in filter to avoid feeding IE6 styles to IE7, when our IE6 styles

Re: [WSG] XML Declaration

2005-12-03 Thread T. R. Valentine
Could someone please spell the appropriate markup on the XHTML versus HTML issue? In other words, instead of the following: !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; xml:lang=en

Re: [WSG] XML Declaration

2005-12-03 Thread Christian Montoya
On 12/3/05, T. R. Valentine [EMAIL PROTECTED] wrote: Put another way, is the value for 'content' the key for determing MIME type? The reason I am puzzled is that the latter example (which, *if* I have understood what has been written should not work in IE because it is XHTML) appears to be

Re: [WSG] XML Declaration

2005-12-03 Thread T. R. Valentine
On 03/12/05, Christian Montoya [EMAIL PROTECTED] wrote: If your server is sending the MIME type text/html, then the META doesn't do anything. You need to change the MIME type being sent out in the headers, and that is done server side. Thanks for that explanation. But what about when simply

Re: [WSG] XML Declaration

2005-12-03 Thread Rimantas Liubertas
2005/12/3, T. R. Valentine [EMAIL PROTECTED]: On 03/12/05, Christian Montoya [EMAIL PROTECTED] wrote: If your server is sending the MIME type text/html, then the META doesn't do anything. You need to change the MIME type being sent out in the headers, and that is done server side. Thanks

Re: [WSG] XML Declaration

2005-12-03 Thread Lachlan Hunt
T. R. Valentine wrote: On 03/12/05, Christian Montoya [EMAIL PROTECTED] wrote: If your server is sending the MIME type text/html, then the META doesn't do anything. You need to change the MIME type being sent out in the headers, and that is done server side. The only reason the meta element

RE: [WSG] XML Declaration

2005-03-25 Thread Martin J. Lambert
Sigurd Magnusson wrote: Is there any situation where IE6 renders in standard compliance mode with the ?xml ... preamble? Juergen Auer responded: If IE6 finds an Xml-Declaration, he switchs in BackCompat. If my understanding is correct, then this should be phrased somewhat

Re: [WSG] XML Declaration

2005-03-25 Thread Carol Doersom
Collin, Then why would W3C use it on their own site? This is the first 4 lines of their source code for their home page: ?xml version=1.0 encoding=utf-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; html

RE: [WSG] XML Declaration

2005-03-25 Thread Collin Davis
://www.strombergarchitectural.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carol Doersom Sent: Friday, March 25, 2005 7:32 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] XML Declaration Collin, Then why would W3C use it on their own site

Re: [WSG] XML Declaration

2005-03-25 Thread Chris Kennon
://www.strombergarchitectural.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carol Doersom Sent: Friday, March 25, 2005 7:32 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] XML Declaration Collin, Then why would W3C use it on their own site? This is the first 4 lines

[WSG] XML Declaration

2005-03-24 Thread Chris Kennon
Hi, I vaguely remember reading if the xml declaration position the following: ?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en head titleVirtual

RE: [WSG] XML Declaration

2005-03-24 Thread Collin Davis
://www.strombergarchitectural.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Kennon Sent: Thursday, March 24, 2005 9:58 AM To: wsg@webstandardsgroup.org Subject: [WSG] XML Declaration Hi, I vaguely remember reading if the xml declaration position the following

Re: [WSG] XML Declaration

2005-03-24 Thread Piero Fissore
Yes, I agree. XML Declaration must be (when used) the very first element in the document. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list

Re: [WSG] XML Declaration

2005-03-24 Thread Chris Kennon
Hi, I thought the article suggesting this was the specification, so I asked. I'll file it under 'Urban Myth. C On Thursday, March 24, 2005, at 08:08 AM, Patrick Lauke wrote: Chris Kennon !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd; html

RE: [WSG] XML Declaration

2005-03-24 Thread Patrick Lauke
Collin Davis Per the W3C specs, XHTML should be served as application/xhtml+xml or application/xml or text/xml and should not be served as text/html. Actually, it doesn't say should not! As per section 5.1, it actually states that documents may be sent as text/html: XHTML Documents which

Re: [WSG] XML Declaration

2005-03-24 Thread Juergen Auer
On 25 Mar 2005 at 9:22, Sigurd Magnusson wrote: Is there any situation where IE6 renders in standard compliance mode with the ?xml ... preamble? If IE6 finds an Xml-Declaration, he switchs in BackCompat. I did use two testpages, look at http://www.sql-und-xml.de/ then at