NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 643 - change language-tag "grandfathered" and "redundant" errors to warnings
change language-tag "grandfathered" and "redundant" errors to warnings
Classification: Unclassified
Component: Datatype library
All All
: P2 normal
Assigned To: Michael[tm] Smith
Depends on: 679
Blocks: 640
  Show dependency treegraph
Reported: 2009-09-05 23:10 CEST by Michael[tm] Smith
Modified: 2009-11-25 12:29 CET (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2009-09-05 23:10:51 CEST
The HTML5 draft says, "The lang attribute (in no namespace) specifies the primary language for the element's contents and for any of the element's attributes that contain text. Its value must be a valid BCP 47 language code, or the empty string."

RFC 5646 (BCP 47) says: "Although valid in language tags, subtags and tags with a 'Deprecated' field are deprecated, and validating processors SHOULD NOT generate these subtags."

So "grandfathered" tags that are deprecated are still valid BCP 47 language codes. Given that, it would seem that should report them as Warnings instead of as Errors.
Comment 1 Michael[tm] Smith 2009-11-25 12:24:34 CET
resolved by changes made for bug 679
Comment 2 Michael[tm] Smith 2009-11-25 12:29:10 CET
resolved by changes made for bug 679