Re: [css-d] Content not allowd in prolog validation error
On Tue, 31 May 2005 01:14:36 -0400, Prabhath Sirisena [EMAIL PROTECTED] wrote: But I don't understand *why* the stylesheet isn't being seen -- it's a relative path; shouldn't the validator find it? I haven't had this problem before, and I always do my stylesheets the same way (or else, there's something I'm being really obtuse about). I've seen this error recently, and what's more, now on my site (nidahas.com) I get this: I/O Error: Stream closed. Looks like the validator has started chocking on CSS. The CSS validator is in good health. Prabhath http://nidahas.com Best, David Laakso -- http://www.dlaakso.com/ __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] Content not allowd in prolog validation error
What could the reason be for this error? (I/O Error. Stream closed). The site is: http://nidahas.com Try validating the CSS. The content is served as application/xhtml+xml. Thanks, Prabhath http://nidahas.com I/O Error: Stream closed. Looks like the validator has started chocking on CSS. The CSS validator is in good health. Prabhath http://nidahas.com Best, David Laakso -- http://www.dlaakso.com/ __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] Content not allowd in prolog validation error
Quoting Prabhath Sirisena [EMAIL PROTECTED]: What could the reason be for this error? (I/O Error. Stream closed). The site is: http://nidahas.com Try validating the CSS. The content is served as application/xhtml+xml. Thanks, Prabhath http://nidahas.com I/O Error: Stream closed. Looks like the validator has started chocking on CSS. The CSS validator is in good health. Prabhath http://nidahas.com Best, David Laakso -- http://www.dlaakso.com/ I am not getting the same validation errors when I used the W3C HTML validator and its CSS validator. The page validates as XHTML 1.0 Strict. The CSS came back with the following errors and warnings: Errors URI : http://nidahas.com/wp-content/themes/nidahas/style.css * Line: 23 Context : body Parse Error - ;*/ text-align: center; * Line: 28 Context : h2 , h3 Parse Error - : #333; background: url(images/nidahas_bk.png) #FFF no-repeat 50% 0; } h1 Warnings URI : http://nidahas.com/wp-content/themes/nidahas/style.css * Line : 82 Property cursor doesn't exist for media * Line : 82 help might not be supported by the medium atsc-tv Hope this helps. DeniseC __ css-discuss [EMAIL PROTECTED] 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/
RE: [css-d] Content not allowd in prolog validation error
-Original Message- From: Linda Dunn However, when I then try to validate its CSS document, I get the following: Target: http://www.ncwinnerscircle.com/ The stylesheet isn't being seen by the validator at the URL you gave it. The stylesheet is at http://www.ncwinnerscircle.com/styles/wcstyles.css http://tinyurl.com/92fo6 Now the validator sees the style sheet, and finds an error. -- Peter Williams __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] Content not allowd in prolog validation error
Peter Williams wrote: The stylesheet isn't being seen by the validator at the URL you gave it. The stylesheet is at http://www.ncwinnerscircle.com/styles/wcstyles.css http://tinyurl.com/92fo6 Now the validator sees the style sheet, and finds an error. But I don't understand *why* the stylesheet isn't being seen -- it's a relative path; shouldn't the validator find it? I haven't had this problem before, and I always do my stylesheets the same way (or else, there's something I'm being really obtuse about). -- Linda Dunn Purplegenie Design {web+graphics} [EMAIL PROTECTED] 252.422.9393 __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] Content not allowd in prolog validation error
Linda Dunn wrote: I'm running into a validation issue I haven't seen before. My page (http://www.ncwinnerscircle.com/index.htm) validates as XHTML 1.0 Transitional. However, when I then try to validate its CSS document, I get the following: - Target: http://www.ncwinnerscircle.com/ Please, validate your XML document first! SNIP Linda, Try removing this line from your document: html xmlns=http://www.w3.org/1999/xhtml; And then adding this line as the very first one: ?xml version=1.0 encoding=UTF-8? Now try to validate. That should take care of it. I found an error in BugZilla that might be related. I'm not entirely sure though, but still, it should validate now. If you want to see the error: http://www.w3.org/Bugs/Public/show_bug.cgi?id=1274 Hope this helps, Matthew __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] Content not allowd in prolog validation error
On Mon, 30 May 2005 23:18:00 -0400, Linda Dunn [EMAIL PROTECTED] wrote: I'm running into a validation issue I haven't seen before. My page (http://www.ncwinnerscircle.com/index.htm) validates as XHTML 1.0 Transitional. However, when I then try to validate its CSS document, I get the following: - Target: http://www.ncwinnerscircle.com/ Please, validate your XML document first! Line 1 Column 1 Content is not allowed in prolog. This is the first time I've seen this, and I don't understand what's causing it, especially since the document in question does validate. linda Try closing the space[*] in the declaration above the DOCTYPE:?xml version=1.0 encoding=utf-8?* a Best, David Laakso -- http://www.dlaakso.com/ __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] Content not allowd in prolog validation error
Matthew Ohlman wrote: Try removing this line from your document:html xmlns=http://www.w3.org/1999/xhtml; And then adding this line as the very first one: ?xml version=1.0 encoding=UTF-8? That fixed it, many thanks! linda -- Linda Dunn Purplegenie Design {web+graphics} [EMAIL PROTECTED] 252.422.9393 __ css-discuss [EMAIL PROTECTED] 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/
RE: [css-d] Content not allowd in prolog validation error
-Original Message- From: Linda Dunn But I don't understand *why* the stylesheet isn't being seen I wonder if it is because you have commented (html comments) out the style import statement? Take the !-- -- out and try again to test if this is the problem. -- Peter Williams __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] Content not allowd in prolog validation error
But I don't understand *why* the stylesheet isn't being seen -- it's a relative path; shouldn't the validator find it? I haven't had this problem before, and I always do my stylesheets the same way (or else, there's something I'm being really obtuse about). I've seen this error recently, and what's more, now on my site (nidahas.com) I get this: I/O Error: Stream closed. Looks like the validator has started chocking on CSS. Prabhath http://nidahas.com __ css-discuss [EMAIL PROTECTED] 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/
RE: [css-d] Content not allowd in prolog validation error
Linda Dunn wrote: I'm running into a validation issue I haven't seen before. My page (http://www.ncwinnerscircle.com/index.htm) From: Matthew Ohlman Try removing this line from your document: html xmlns=http://www.w3.org/1999/xhtml; And then adding this line as the very first one: ?xml version=1.0 encoding=UTF-8? :-) You can't remove the HTML element, you need to modify that line, not remove it, now it doesn't validate because your HEAD element is a child of your xml prolog. Note also that using the xml prolog puts late model IE back into early model quirks mode. -- Peter Williams __ css-discuss [EMAIL PROTECTED] 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/
Re: [css-d] Content not allowd in prolog validation error
Peter Williams wrote: From: Matthew Ohlman Try removing this line from your document: html xmlns=http://www.w3.org/1999/xhtml; And then adding this line as the very first one: ?xml version=1.0 encoding=UTF-8? :-) You can't remove the HTML element, you need to modify that line, not remove it, now it doesn't validate because your HEAD element is a child of your xml prolog. Note also that using the xml prolog puts late model IE back into early model quirks mode. But actually this does validate as xhtml 1.0 transitional. The html xmlns=http://www.w3.org/1999/xhtml; tag just needed to be replaced with the plain vanilla html. Quite annoying, though, that Dreamweaver still can't seem to write a header that doesn't break the validator... -- Linda Dunn Purplegenie Design {web+graphics} [EMAIL PROTECTED] 252.422.9393 __ css-discuss [EMAIL PROTECTED] 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/