[html5] Validator.nu’s (X)HTML5 Validator does not validate XHTML5

Robert Hurst robertwhurst at gmail.com
Mon Aug 28 09:03:45 PDT 2017


Is there a particular reason there a number of people trying to unsub?

Sorry if it was already discussed, I missed it.

-- 
Robert Hurst

From: Paul Raso <paul at educationinvolved.org> <paul at educationinvolved.org>
Date: August 28, 2017 at 08:59:53
To: Jorge . <chocolate.camera at gmail.com> <chocolate.camera at gmail.com>
CC: help at lists.whatwg.org <help at lists.whatwg.org> <help at lists.whatwg.org>
Subject:  Re: [html5] Validator.nu’s (X)HTML5 Validator does not validate
XHTML5

unsubscribe already wtf
>
> Paul Raso
> Executive Director
> Education Involved Advocacy Group
> paul at educationinvolved.org
> 416-587-6438
> #morethanonewaytolearn #yourworldisourclassroom
>
> On Mon, Aug 28, 2017 at 6:04 AM, Jorge . <chocolate.camera at gmail.com>
> wrote:
>
>> Validator.nu (X)HTML5 Validator at https://html5.validator.nu
>> validates only HTML5, not XHTML5, despite its name, when attempting to
>> do so via direct input (Text Field).
>>
>> Tested with this markup:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE html>
>> <html xmlns="http://www.w3.org/1999/xhtml">
>>    <head>
>>       <meta charset="UTF-8"/>
>>       <title>My title</title>
>>    </head>
>>    <body>
>>    </body>
>> </html>
>>
>> The submission form does not have an option to forcibly request XHTML5
>> validation instead of HTML5. Even when the markup is preceded by the
>> XML declaration (which nevertheless is purportedly not necessary if
>> contents are UTF-8), the validator reports the very declaration as an
>> error:
>>
>> > Error: Saw <?. Probable cause: Attempt to use an XML processing
>> instruction in HTML. (XML processing instructions are not supported in
>> HTML.)
>>
>> revealing that even with such markup it is validating HTML5 instead of
>> XHTML5.
>>
>> The generic validator at https://validator.nu used to have a preset or
>> parser (cannot remember) specifically for XHTML5, but not anymore
>> either it seems.
>> _______________________________________________
>> whatwg at whatwg.org
>> https://whatwg.org/mailing-list#specs
>>
>
> _______________________________________________
> whatwg at whatwg.org
> https://whatwg.org/mailing-list#specs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20170828/f22be0af/attachment.htm>


More information about the Help mailing list