Re: typesmustmatch xhtml

"Michael[tm] Smith" <[email protected]> Wed, 12 Nov 2014 23:53:19 +0900
Newsgroups gmane.org.w3c.validator
Message-ID <[email protected]>
"Jukka K. Korpela" <[email protected]>, 2014-11-11 07:56 +0200:

> Date: Tue, 11 Nov 2014 07:56:10 +0200
> From: "Jukka K. Korpela" <[email protected]>
> Archived-At: <http://www.w3.org/mid/[email protected]>
> ...
> It is. The validator just has an issue. And it has it even when
> sending as text/html; the error message is then “Attribute
> typemustmatch not allowed on element object at this point.” (The part
> “at this point” was once meant to be helpful in some contexts, and I
> might have been the person who suggested it, but I’m afraid it is
> misleading more often than helpful. Here it seems to be saying that
> the placement or context is wrong; but the issue is really that the
> validator does not recognize this attribute at all.)

IIRC, the "at this point" language comes straight from the third-party Jing
RelaxNG schema-checking tool that's at the core of the validator. The error
messages that Jing emits are notoriously lacking in helpfulness but more
generally the problem is that any general grammar-based schema-checking
tool is necessarily going to be limited to emitting some fairly generic
boilerplate-ish types of error messages. That's one of the reasons why
these days I've moved more and more of the error-emitting logic out of the
RelaxNG schema and into custom Java code in another part of the sources.

  --Mike

-- 
Michael[tm] Smith https://people.w3.org/mike
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJUY3RfAAoJEIfRdHe8OkuVAaoP/3/aYUJxxej9HncVcgrhmyA9
Pkr3dSKTd3syOWLtTaSTwbKy7BF6q2PbiXWW9yj4uJ7W5WPFTcX9412PBUbRgTx+
dH7/OarTF9nBqrcc/gDwyS/7wgt3rtJhTYMwRKXvq9R2NkH5S2Gy18RE3yJ5KQSR
iOSbIcD9nNI38e9B5Xa+tSpmU8s6bblGr6v0H1mhQGYVc1HXXY/FxC/tMh14jB0y
CNiapgniEGJZc8ZEUdsXi2jmPhAWIrh9SZk0uOyOQaiL5qZZGWcrM1FLDqcZpG8m
V0hMOJ2rB7JCfL/ZZF2ubRpP612u5cOhf6v2DF0JuuEZOhmFGmAPYG8N3jsxmSrq
RGFprBbsgsGId9Ii2nkiksyzIctHGQpoK7du0ETewIF4DJpJe9U7VzqNuEWf1TyU
NGu6lvsTq4ikQ7onqhRGgettgJs9jfomlfBu9gqo7Wykuq369TkAyVN040TdXpBh
S+nJnCsN4kvWFBtlJ+4tDz/0ZwvijsVinjWPPEa0wgQjCzP5sFebLQZ/sZgH0u3J
zcBztOMdBTwfHq9RhjfgBmSbmHoyS2RMa9ImYs1LniiLe2Zd8Xd+kfWdhMV5okfl
MYuL/phFzkL7hq79ChNqsb1Ji38KgQzQ/1NfvcgwqGSIzlQWmJB6NRqjRV8NhA5R
04D73/9XA6fyg8nSBnhI
=tz8Q
-----END PGP SIGNATURE-----