Bugzilla – Bug 754
polyglot profile does not appear to detect bad XHTML syntax
Last modified: 2010-11-27 19:35:50 CET
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="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Test Page</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> </head> <body> <p> First paragraph <p> another paragraph </p> </body> </html>
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).