NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 959 - Offer XHTML-compatible dummy text for the XHTML presets
Offer XHTML-compatible dummy text for the XHTML presets
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: Compound schemas
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-20 03:14 CET by Leif Halvard Silli
Modified: 2013-01-20 03:14 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leif Halvard Silli 2013-01-20 03:14:43 CET
(A clone from https://www.w3.org/Bugs/Public/show_bug.cgi?id=20712)

* When when using the Text Field with a text/html preset, then the validator fills the the field with some minimum HTML code that is valid for all the HTML presets (except the frameset page preset).

* However, when selecting one of the XML presets, then the dummmy code is invalid.

* To fix this, please 

  EITHER make the dummy code polyglot, by adding xmlns="http://www.w3.org/1999/xhtml" on the root element.

  OR make special, XHTML-valid dummy text for the XHTML format.s.

  (I don't include the SVG preset at the bottom - you are free to fix that as well, but the focus of this bug is XHTML.)