[Bug 1391] Direct Input validation needs a "parse mode" option?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1391





------- Comment #3 from ot@w3.org  2007-03-27 05:23 -------
See also http://www.w3.org/Bugs/Public/show_bug.cgi?id=24#c13
for an alternative to a parse mode option in direct input, something I am still
unsure is a great idea...

Quoted here:
> I think in the absence of media type information, the validator should either
> (1) force the user to choose one before performing validation, or (2) first
> issue a warning about lack of media type information and then check if the
> character stream begins with (ignoring BOM) "<?xml", and, if so, use XML mode,
> otherwise SGML mode. In case of (2) the user should be able to change the mode
> and revalidate.

Received on Tuesday, 27 March 2007 05:23:15 UTC