This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20783 - Please issue a warning when/if a HTML preset is applied to an XML document.
Summary: Please issue a warning when/if a HTML preset is applied to an XML document.
Status: NEW
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on: 20766
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-26 13:40 UTC by Leif Halvard Silli
Modified: 2013-01-26 13:40 UTC (History)
1 user (show)

See Also:


Attachments

Description Leif Halvard Silli 2013-01-26 13:40:27 UTC
For XML documents, the NU valdiator allows the user to apply an HTML5 preset.

This is fine. However, doing so means that some features that aren't conforming XHTML5, are accepted as conforming. For instance, the <noscript> elememt-

Example: http://tinyurl.com/bfwfjwf

To solve this issue, the validator should issue a warning to user that the XHTML document was validated with a HTML preset.

To issue such a warning would be in style with the "Be lax about content-type", which causes a warning to be issued saying that the MIME type is supressed.