ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25564] New: - CVS tagdiff does not escape XML characters
Date Tue, 16 Dec 2003 11:56:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25564>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25564

CVS tagdiff does not escape XML characters

           Summary: CVS tagdiff does not escape XML characters
           Product: Ant
           Version: 1.6Beta
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: steven.murphy@ftid.com


I go the following exception when performing a 'style' on CVSTagDiff

    [style] Using class org.apache.tools.ant.taskdefs.optional.TraXLiaison
    [style] Processing .diff.xml to Diff.html
    [style] Loading stylesheet /opt/ant/etc/tagdiff.xsl
    [style] .diff.xml:288:49: Fatal Error! The reference to entity
"PRXPRESS.doc" must end with the ';' delimiter.
    [style] Failed to process .diff.xml
  [antcall] Exiting build.xml

BUILD FAILED
build.xml:77: Following error occured while executing this line
build.xml:118: Fatal error during transformation
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:574)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:422)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:144)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
        at org.apache.tools.ant.Task.perform(Task.java:401)
        at org.apache.tools.ant.Target.execute(Target.java:338)
        at org.apache.tools.ant.Target.performTasks(Target.java:365)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
        at org.apache.tools.ant.Main.runBuild(Main.java:669)
        at org.apache.tools.ant.Main.startAnt(Main.java:220)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)

Looking at the XML file that was created

	<entry>
		<file>
			<name>documentation/bulk/sandp/S&PRXPRESS.doc</name>
			<revision>1.1</revision>
		</file>
	</entry>

As you can see, the & should be escaped; this used to work on Ant 1.5.4.

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


Mime
View raw message