Direct input doesn't take XML declaration into account for parsing mode selection

Hi,

When using the direct input form for validation with a FPI that the
system doesn't recognize, the validator defaults to an SGML-parsing,
even when there is an XML declaration at the top of the input. I think
the XML declaration should be a good enough hint to switch the
XML-parsing.

This relates somewhat to bug 1391
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1391

Also, it would be good if the validator knew about the XHTML-Mobile
Profile FPI:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

(to test the input bug, one can use:
http://www.developershome.com/wap/wapUpload/wap_upload.asp?page=xhtmlmpEg )

I would have reported the bug directly in bugzilla, but the product
description in Bugzilla suggests to first raise it in here.

Thanks!

Dom
-- 
Dominique Hazaƫl-Massieux - http://www.w3.org/People/Dom/
W3C/ERCIM
mailto:dom@w3.org

Received on Wednesday, 8 February 2006 07:43:09 UTC