Re: Problem with fix for bug #31672
| From: | Marcus Boerger | Date: | Mon, 07 Mar 2005 18:38:06 +0000 |
| Subject: | Re: Problem with fix for bug #31672 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15300@lists.php.net to get a copy of this message | ||
Hello Zeev,
i do not think this is a good excuse for ignoring xml compliance.
marcus
Monday, March 7, 2005, 3:10:57 PM, you wrote:
> Guys,
> I'd like to revert the fix for bug #31672 ("</script> is not considered
> closing tag if preceded by one-line comment"). While theoretically
> correct, I'd rather resolve it by fixing the docs.
> The reason is simple - unlike ?> and %>, the string "</script>" is very
> much likely to appear inside one line comments:
> // print "<script>foo</script>";
> That suddenly fails. That's probably the reason we didn't implement it in
> the first place.
> Any objections to reverting this fix?
> Zeev
--
Best regards,
Marcus mailto:helly@php.net