ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: no parser bug (parser bug?)
Date Thu, 05 Jul 2001 05:40:02 GMT
On Wed, 4 Jul 2001, Bernd Gruendling <> wrote:

> I was totally sure an comment ended with "-->"

it does.

> and everything before that being ignored by the parser.

Not quite, see <>. 
Everything except a the string "--" will be ignored.  The reason given
is compatibility with SGML, which means a strict parser wouldn't allow
-- inside a HTML comment either.

> Done too much HTML?

Be careful when you switch to XHTML then 8-).  The problem is too much
sloppy parsing, if you want to call it a problem.  Browsers tend to
accept almost everything to make up for people who don't care (or


View raw message