On Thu, Aug 16, 2001 at 08:15:25PM +0300, Zeev Suraski wrote:
> >actually, i think both TYPE and LANGUAGE are required for validation
> >purposes. it really needs to support
> >
> ><SCRIPT LANGUAGE="php" TYPE="application/x-httpd-php">
> >
> >but, as cynic put it best, i think it's a wonderful idea, but i don't know
> >if i count . . . .
>
> We need to look at what's the best way to support this though. HTML (or
> XHTML) is very loose as to which entry appears first, and to whatever other
> entries appear within the tag. The current scanner is not...
Agreed. For example, try throwing an ID="foo" attribute in the
<script> tag. The scanner will no longer recognize any of the
patterns (because it's only looking for whitespace in addition to
the known attributes).
--
Jon Parise ([EMAIL PROTECTED]) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House Member
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]