* Dominique Hazael-Massieux wrote:
>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.
<?xml version='1.0'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML LANG=de>
<HEAD>
...
That's perfectly legal HTML content. The textarea validation essentially
assumes text/html input and since W3C refuses to define how to tell HTML
and non-HTML text/html content apart, I'm not sure there is much we can
do to resolve this, other than not assuming text/html. The question
would then be what to assume, if anything.
--
BjÃ¶rn HÃ¶hrmann Â· mailto:bjoern@hoehrmann.de Â· http://bjoern.hoehrmann.de
Weinh. Str. 22 Â· Telefon: +49(0)621/4309674 Â· http://www.bjoernsworld.de
68309 Mannheim Â· PGP Pub. KeyID: 0xA4357E78 Â· http://www.websitedev.de/