[imps] differing results from our validator.nu instance and yours
Michael[tm] Smith
mike at w3.org
Tue Apr 22 09:13:57 PDT 2014
Rancid Iodine <rancid.iodine at gmail.com>, 2014-04-22 13:14 +0100:
> We updated our validator.nu servlet instance on April 8th to iron out some
> report discrepancies between our instance and validator.nu's, but then some
> new changes were made to the upstream source on April 9th as seen here:
> https://bitbucket.org/validator/build/src ...
The sources have moved to https://github.com/validator/build/
> Anyway right after that some new discrepancies came up in a report, as seen
> here:
> ...
> *Error*: Attribute rel not allowed on element
> div<http://www.whatwg.org/specs/web-apps/current-work/#the-div-element>at
> this point.
> ...
> *Error*: Attribute datatype not allowed on element
> p<http://www.whatwg.org/specs/web-apps/current-work/#the-p-element>at
> this point.
> ...
If you want to check non-Lite RDFa markup, you need to build and run the
validator with the --follow-w3c-spec switch:
python build/build.py --follow-w3c-spec all
...
> The advice used to be to start the instance as follows:
>
> python build/build.py --w3cbranding all & ... in order for the servlet to
> "update itself" but I see the --w3cbranding option is no longer valid these
> days.
Yeah, I changed it to --follow-w3c-spec because it now has nothing to do
with branding but only controls what specs the validator adheres to.
> Assuming the problem is that we're not starting the instance with the right
> flags [?], can anyone suggest the right flags to guarantee the
> "SelfUpdate()" ?
I think the build script will always self-update unless you explicitly
specify the --no-self-update switch.
But note that the self-update stuff in the script only relates to whether
the build script actually tries to grab the latest version of itself from
github. But the build script is just one part that needs to get updated. If
you want to make sure the script updates all the parts needed, run the
script with the "all" argument:
python build/build.py --follow-w3c-spec all
> In fact I just started it in the simplest way possible as far as I know:
>
> python build/build.py all & (this should make the servlet update itself
> also, according to what can be seen in build.py)
Yeah, that will update everything.
--Mike
--
Michael[tm] Smith http://people.w3.org/mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.whatwg.org/pipermail/implementors-whatwg.org/attachments/20140423/a79cf96c/attachment-0002.pgp>
More information about the Implementors
mailing list