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 30817] New: - Problem in tagdiff.xsl
Date Tue, 24 Aug 2004 06:42:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30817>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30817

Problem in tagdiff.xsl

           Summary: Problem in tagdiff.xsl
           Product: Ant
           Version: 1.6.2
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: kannan_mp@yahoo.com


Hi 

Some of the file names in my repository contains "&" symbol.
For example,
"Medicare Prospect & Renewal CSV Format.doc".

I want to find out the diff between 2 tags
By using "cvstagdiff" task we generated a xml file and then we convert the same 
from xml to html format using <style> task you have given in the example.

It thro' following error message.

BUILD FAILED
D:\Ant_testing\diff_report\diff_report.xml:7: Fatal error during transformation
        at org.apache.tools.ant.taskdefs.XSLTProcess.process
(XSLTProcess.java:506)
        at org.apache.tools.ant.taskdefs.XSLTProcess.execute
(XSLTProcess.java:209)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: Fatal error during transformation
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.fatalError
(TraXLiaison.java:349)
        at org.apache.xalan.transformer.TransformerImpl.fatalError(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform
(TraXLiaison.java:138)
        at org.apache.tools.ant.taskdefs.XSLTProcess.process
(XSLTProcess.java:495)
        ... 11 more
Caused by: javax.xml.transform.TransformerException: The entity name must 
immediately follow the '&'
 in the entity reference.
        ... 17 more
--- Nested Exception ---
Fatal error during transformation
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.fatalError
(TraXLiaison.java:349)
        at org.apache.xalan.transformer.TransformerImpl.fatalError(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform
(TraXLiaison.java:138)
        at org.apache.tools.ant.taskdefs.XSLTProcess.process
(XSLTProcess.java:495)
        at org.apache.tools.ant.taskdefs.XSLTProcess.execute
(XSLTProcess.java:209)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Caused by: javax.xml.transform.TransformerException: The entity name must 
immediately follow the '&'
 in the entity reference.
        ... 17 more
--- Nested Exception ---
; SystemID: file:///D:/Ant_testing/diff_report/datediff.xml; Line#: 219; 
Column#: 38
javax.xml.transform.TransformerException: The entity name must immediately 
follow the '&' in the ent
ity reference.
        at org.apache.xalan.transformer.TransformerImpl.fatalError(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.xalan.transformer.TransformerImpl.transform(Unknown 
Source)
        at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform
(TraXLiaison.java:138)
        at org.apache.tools.ant.taskdefs.XSLTProcess.process
(XSLTProcess.java:495)
        at org.apache.tools.ant.taskdefs.XSLTProcess.execute
(XSLTProcess.java:209)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:301)
        at org.apache.tools.ant.Target.performTasks(Target.java:328)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
        at org.apache.tools.ant.Main.runBuild(Main.java:632)
        at org.apache.tools.ant.Main.startAnt(Main.java:183)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

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


Mime
View raw message