W3C home > Mailing lists > Public > www-validator@w3.org > January 2011

Re: Unicorn can't see (X)HTML?

From: Thomas Gambet <tgambet@w3.org>
Date: Mon, 10 Jan 2011 13:58:09 +0100
Message-ID: <4D2B0261.7070609@w3.org>
To: Gordon Edwards <gordon451@westnet.net.au>
CC: www-validator@w3.org, public-unicorn@w3.org
Hi Gordon,

The mimetype of http://www.opera.com/browser/features/ is 
application/xml for HEAD requests instead of either 
application/xhtml+xml or text/html. That's why Unicorn didn't call the 
markup validator on that resource. I changed Unicorn's behavior to 
accept application/xml as a potential xhtml even though this is not what 
the specification recommends [1].

Thank you for the report,
Thomas Gambet

[1] http://www.w3.org/TR/xhtml-media-types/


Le 1/2/2011 4:24 PM, Gordon Edwards a écrit :
> Hi -
>
> I was having trouble with "Opera features"
> <http://www.opera.com/browser/features/>, and decided to validate it (Opera
> 9.51).
>
> First I submitted it to the standard validator
> <http://validator.w3.org/check#>  which is invoked directly from Opera's
> context menu.  It gave me two errors and an info.
>
> Then I gave it to Unicorn
> <http://validator.w3.org/unicorn/check?ucn_uri=www.opera.com%2Fbrowser%2Ffea
> tures%2F&ucn_task=conformance#>.  But Unicorn's General Conformance only
> found an Opera RSS feed<http://www.opera.com/press/rss/>  and passed the
> entire page as "Congratulations!  This is a valid RSS feed."
>
> That is, Unicorn completely missed the XHTML 1.0 Strict conformance check...
>
> I have copied this to the Unicorn feedback address.
>
> My setup is Opera 9.51 in W2K Pro SP4 rollup 1 DSL:512/128.
>
> Cheers,
>
> Gordon Edwards
> ______________________________________________________________
>
> East Victoria Park
> Western Australia
>
>
>
Received on Monday, 10 January 2011 13:00:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:45 GMT