----- Original Message -----
From: Reuleaux, Andreas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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





Reply via email to