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 2785 - 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 DUPLICATE of bug 12
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://cakecrossing.webpark.pl/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 00:42 UTC by Maciej Jaros
Modified: 2006-01-31 00:46 UTC (History)
0 users

See Also:


Attachments

Description Maciej Jaros 2006-01-31 00:42:07 UTC
I've tried to validate my (very simple) page but got this error:
"Target: http://cakecrossing.webpark.pl/index_css.htm
Please, validate your XML document first!
Line 4
Column 6
The processing instruction target matching "[xX][mM][lL]" is not allowed."

The problem is that I did validate this here:
http://validator.w3.org/check?uri=http%3A%2F%2Fcakecrossing.webpark.pl%2Findex_css.htm&charset=%28detect+automatically%29&doctype=Inline&verbose=1
CSS validating link:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fcakecrossing.webpark.pl%2Findex_css.htm

So this is some kind of a bug in on of those validators.

I'm going to leave that file for a while so you can experiment. Please notify me
when you will finish, so I can delete it.

PS: Deleting "<?xml version="1.0" encoding="windows-1250"?>" fixed the problem,
but it should either validate in both or find errors in both.
Comment 1 Bj 2006-01-31 00:46:24 UTC
The Markup Validator points out that it has only limited support for XML in the 
results; this is one of these limitations, the CSS Validator is correct, if you 
want to give a XML declaration <?xml ...?> it must be the very very first thing 
in the document.

*** This bug has been marked as a duplicate of 12 ***