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

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 UTC