ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1445] New - XML Parser bug for commented tags
Date Fri, 20 Apr 2001 21:20:51 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1445

*** shadow/1445	Fri Apr 20 14:20:51 2001
--- shadow/1445.tmp.11238	Fri Apr 20 14:20:51 2001
***************
*** 0 ****
--- 1,38 ----
+ +============================================================================+
+ | XML Parser bug for commented tags                                          |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1445                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version:                         |
+ |     Priority:                           Component: Core                    |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: greg.fenton@sybase.com                                       |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Commenting out the following target causes Ant's parser to spew:
+ 
+   <target name="run2" depends="ianywhere" >
+     <java classname="Startup">
+       <classpath>
+         <pathelement path="${classpath}" />
+         <pathelement location="${buildDir}" />
+       </classpath>
+       <arg value="-Sr" />
+       <arg value="MyStartupModule" />
+       <arg value="--" />
+       <arg value="fred" />
+       <arg value="bob" />
+     </java>
+   </target>
+ 
+ 
+ It complains about line 9 above (containing "--") with the following message:
+   Next character must be ">" terminating comment .
+ 
+ Hope this servers some use,
+ greg.fenton

Mime
View raw message