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 5359 - Missing detection of HTML namespace
Summary: Missing detection of HTML namespace
Status: RESOLVED FIXED
Alias: None
Product: mobileOK Basic checker
Classification: Unclassified
Component: Java Library (show other bugs)
Version: unspecified
Hardware: All Linux
: P2 normal
Target Milestone: ---
Assignee: Abel Rionda
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-11 18:35 UTC by Sean Owen
Modified: 2011-05-17 11:00 UTC (History)
1 user (show)

See Also:


Attachments

Description Sean Owen 2008-01-11 18:35:29 UTC
We currently don't implement CONTENT_FORMAT_SUPPORT-5:
"If the document does not declare the html namespace on its html root
element, FAIL"
and as far as I can tell, we don't have the infrastructure to do it,
since the tidied version of the document always contains the XHTML
namespace. This suggests this needs to be detected in HTTPXHTMLResource
- maybe this can be done during one of the SAX parsing that checks the
validity?

Meanwhile, I have added a corresponding test in our test suite which
will fail until this is corrected (ContentFormatSupportTest/10).
Comment 1 Dominique Hazael-Massieux 2008-01-17 18:25:53 UTC
Done by the CTIC guys:
http://lists.w3.org/Archives/Public/public-mobileok-checker/2008Jan/0070.html
Comment 2 Dominique Hazael-Massieux 2008-01-25 08:36:24 UTC
This doesn't seem to work correctly: it fails on http://jampaw.com/ while the namespace is indeed there.
Comment 3 Dominique Hazael-Massieux 2008-01-25 08:56:12 UTC
I've improved the regexp used to match the namespace declaration.
Comment 4 fd 2011-05-17 11:00:05 UTC
See follow-up Bug 12666 for incorrect detection of the HTML namespace when the html tag uses multiline.