Previous Message
Next Message

Content not allowd in prolog validation error

Sent by Linda Dunn on 31 May 2005 07:07


David Laakso wrote:

> Hmm. Are you sure.  Removing the space you had between the: ? and > in  
> this declaration  <?xml version="1.0" encoding="UTF-8"?>   fixes it.
> And then removing this <html  xmlns="http://www.w3.org/1999/xhtml"> it  
> would seem to me, then makes the file invalid.

Here's the header that finally validated (and didn't aslo choke the CSS 
validator):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>NC Winners Circle</title>
<style type="text/css">
<!--
@import url(styles/wcstyles.css);
-->
</style>
</head>

It is curious to me why the other header didn't work, though; it did 
validate as far as XHTML. It was just the CSS validator that spit it 
back as invalid XHTML.

linda

-- 
Linda Dunn
Purplegenie Design {web+graphics}
[EMAIL-REMOVED]
252.422.9393
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: