Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 87775 invoked from network); 25 Apr 2006 15:46:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Apr 2006 15:46:45 -0000 Received: (qmail 74475 invoked by uid 500); 25 Apr 2006 15:46:39 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74435 invoked by uid 500); 25 Apr 2006 15:46:39 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 74424 invoked by uid 99); 25 Apr 2006 15:46:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 08:46:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of carej@us.ibm.com designates 32.97.110.150 as permitted sender) Received: from [32.97.110.150] (HELO e32.co.us.ibm.com) (32.97.110.150) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Apr 2006 08:46:38 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e32.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k3PFkH0Y003373 for ; Tue, 25 Apr 2006 11:46:17 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k3PFgUs4244404 for ; Tue, 25 Apr 2006 09:42:30 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id k3PFkHek018214 for ; Tue, 25 Apr 2006 09:46:17 -0600 Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com [9.17.195.145]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id k3PFkHFp018211 for ; Tue, 25 Apr 2006 09:46:17 -0600 In-Reply-To: To: "Ant Users List" Subject: Re: Replace task value can't take less than sign. MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005 From: Jeffrey E Care Message-ID: Date: Tue, 25 Apr 2006 11:49:37 -0400 X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July 22, 2005) at 04/25/2006 09:49:37, Serialize complete at 04/25/2006 09:49:37 Content-Type: multipart/related; boundary="=_related 0056A13D8525715B_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_related 0056A13D8525715B_= Content-Type: multipart/alternative; boundary="=_alternative 0056A1448525715B_=" --=_alternative 0056A1448525715B_= Content-Type: text/plain; charset="US-ASCII" You need to use entity escapes for characters that have special meaning in XML (like <, >, ", ', &). ____________________________________________________________________________________________ Jeffrey E. (Jeff) Care carej@us.ibm.com IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer "Michael Atlas" 04/25/2006 11:35 AM Please respond to "Ant Users List" To cc Subject Replace task value can't take less than sign. This is the task I am trying to run: CONFIDENTIAL I get this error: The value of attribute "value" associated with an element type "replace" must not contain the '<' character. How can I escape the "<" sign in my value properly? Thanks in advance. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --=_alternative 0056A1448525715B_= Content-Type: text/html; charset="US-ASCII"
You need to use entity escapes for characters that have special meaning in XML (like <, >, ", ', &).
____________________________________________________________________________________________
Jeffrey E. (Jeff) Care
IBM WebSphere Application Server Development
WAS Pyxis Lead Release Engineer
WebSphere Mosiac
WebSphere Brandmark




"Michael Atlas" <MAtlas@basistech.com>

04/25/2006 11:35 AM
Please respond to
"Ant Users List" <user@ant.apache.org>

To
<user@ant.apache.org>
cc
Subject
Replace task value can't take less than sign.





This is the task I am trying to run:

<!--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
<target name="prepareWebXml"
description="Make web.xml suitable for SSL on production server">
                                 <replace dir="${web.inf}" value="</auth-constraint>">
                                   <include name="web.xml"/>
                                   <replacetoken></auth-constraint>
                                                                                                        <user-data-constraint>

<transport-guarantee>
                                                                                                                          CONFIDENTIAL

</transport-guarantee>
                                                                                                     </user-data-constraint>
                                   </replacetoken>
                                 </replace>
</target>
<!--+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-->
I get this error:
The value of attribute "value" associated with an element type "replace"
must not contain the '<' character.

How can I escape the "<" sign in my value properly?

Thanks in advance.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


--=_alternative 0056A1448525715B_=-- --=_related 0056A13D8525715B_=--