W3C home > Mailing lists > Public > public-webcgm-wg@w3.org > April 2009

gOE and gOET validation problem solved

From: Galt, Stuart A <stuart.a.galt@boeing.com>
Date: Wed, 29 Apr 2009 07:44:52 -0700
Message-ID: <C8D2620C74DE75488C5FDFBDB9475D6F0E29F484@XCH-NW-7V1.nw.nos.boeing.com>
To: "WebCGM WG" <public-webcgm-wg@w3.org>
Hello all,

I have played around with the validator a bit more and have come to a
few conclusions.

addin the line <?xml.... at the top of the file turns it from html
transitional into xhtml.  I think that we have not made the jump to
xhtml so this line should be removed.  I actually started reading
a bit more closely and discovered that the way I was doing it with the
xml declaration at the top has problems see:

So the correct solution is to not have a xml declaration (it isn't
xml....) and to have a meta tag that looks like:

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" >
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >

The reason it didn't work with my original meta tag was because I didn't
have the http-equiv="Content-Type" attribute included.  Once I added the
attribute and deleted the xml declaration the file validated
- when I used "by file upload" in internet exploder
- when I used "by file upload" in firefox
- when I used "by direct input" in firefox

Any thoughts?

Stuart Galt
SGML Resource Group
(206) 544-3656
Received on Wednesday, 29 April 2009 14:45:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:23:41 UTC