- From: Claus Färber <list-www-validator@faerber.muc.de>
- Date: 17 Jun 1999 00:13:00 +0200
- To: www-validator@w3.org
Earl Hood <ehood@hydra.acs.uci.edu> schrieb/wrote: > (I'm unclear why the document is split into an array). If the data is > passed in as a single string, a comment stripping regex: > > s/<!--([^-]|-[^-])*--\s*>//go; This not true either. It would only be valid if there were no elements that could contain CDATA. And it won't catch legal comment syntax: <!-- comment 1 -- -- comment 2 --> -- Claus Andre Faerber <http://www.faerber.muc.de> PGP: ID=1024/527CADCD FP=12 20 49 F3 E1 04 9E 9E 25 56 69 A5 C6 A0 C9 DC
Received on Thursday, 17 June 1999 13:32:14 UTC