This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1507 - The processing instruction target matching "[xX][mM][lL]" is not allowed.
Summary: The processing instruction target matching "[xX][mM][lL]" is not allowed.
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: XHTML1.0 (show other bugs)
Version: CSS Validator
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 08:38 UTC by Veerakumar R
Modified: 2005-06-23 08:43 UTC (History)
0 users

See Also:


Attachments

Description Veerakumar R 2005-06-23 08:38:18 UTC
When I try to validate http://veera.bizhat.com/index.html it says:
<Target: http://veera.bizhat.com/reviews/index.html
<
<Please, validate your XML document first!
<
<Line 4
<
<Column 6
<
<The processing instruction target matching "[xX][mM][lL]" is not allowed. 

But it validates as valid xhtml 1.0 document with w3c html validator. What I
made out is that the page has 3 newline before <?xml version="1.0"
encoding="UTF-8"?> declaration. When I remove those 3 newlines CSS Validator
validates it as a valid CSS.
Comment 1 Bj 2005-06-23 08:43:03 UTC
This is a known limitation of the Markup Validator (and this is pointed out on 
the results page), the CSS Validator is correct, you cannot have newlines 
preceding the XML declaration.