NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 754 - polyglot profile does not appear to detect bad XHTML syntax
polyglot profile does not appear to detect bad XHTML syntax
Classification: Unclassified
Component: XML parser
All All
: P2 normal
Assigned To: Nobody
Depends on:
  Show dependency treegraph
Reported: 2010-07-08 05:08 CEST by J David Eisenberg
Modified: 2010-11-27 19:35 CET (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description J David Eisenberg 2010-07-08 05:08:39 CEST
After choosing "Polyglot: works as both HTML and XHTML" from the Profile drop-down (leaving all other drop-downs at their default), the following code is deemed valid, even though the first paragraph is missing its closing </p> tag, and thus does not work as XHTML.

<!DOCTYPE html>
<html xmlns="" xml:lang="en" lang="en">
<title>Test Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

First paragraph
another paragraph
Comment 1 Michael[tm] Smith 2010-11-27 19:35:50 CET
The polyglot feature has now been disabled because work on completing it was never finished. It may eventually be re-enabled if somebody decides to put more work into finishing it. If so, feel free to reopen this bug then (or file a new one).