ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akbar Ibrahim" <akbar.ibra...@wipro.com>
Subject Re: comments
Date Wed, 19 Jul 2000 12:15:08 GMT

----- Original Message -----
From: Reuleaux, Andreas <A.Reuleaux@klopotek.de>
To: <ant-dev@jakarta.apache.org>
Sent: Wednesday, July 19, 2000 5:25 PM
Subject: comments


> Hi,
>
> [user-question:] Can anyone explain this to me?
>
> I can successfully comment out the following echo-message
>
>     <!--
>     <echo message="hello" />
>     -->
>
> however, when I try to comment out this
>
>     <!--
>     <echo message="-----" />
>     -->
>
> ant complains:
>
>   BUILD FAILED
>
>   build.xml:70: Next character must be ">" terminating comment .
>
> Thanks for any help in advance.
>
> Andreas
>
>

This

<!--
    <echo message="-----" />
-->

is not well-formed XML. The character sequence "--" is not allowed inside
XML comments.

Akbar






Mime
View raw message