NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 658 - Request: Pasting XHTML into simple validator parses in XML mode
Request: Pasting XHTML into simple validator parses in XML mode
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 enhancement
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-25 21:32 CEST by numien
Modified: 2009-11-23 17:17 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description numien 2009-09-25 21:32:58 CEST
At the moment, if you paste a XHTML page into the validator simple UI's text field input mode, it parses it in HTML mode, and gives validation errors.

It would be nice if it would check, notice the "<?xml", and switch to XML parsing mode.

Not a major deal, but it would save going through the full UI each time, and doesn't seem like it would be too difficult to implement.
Comment 1 Simon Pieters 2009-09-26 16:34:02 CEST
I think the simple UI should have an option to choose between HTML and XML when the input mode is textarea or file upload.
Comment 2 numien 2009-09-26 16:37:23 CEST
That would work too.