You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2006/01/05 13:08:48 UTC
DO NOT REPLY [Bug 38134] New: - NoSuchMethod exception during xslt task with Java 1.5
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=38134>.
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=38134
Summary: NoSuchMethod exception during xslt task with Java 1.5
Product: Ant
Version: 1.6.5
Platform: PC
OS/Version: Windows 2000
Status: NEW
Keywords: XSLTBug, JDK1.5
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: axel.hallez@telenet.be
During an xslt task using java 1.5.0_06 I got this error:
html_doc:
[xslt] Transforming into D:\scoreexpress\maint\build\manual
[xslt] Processing D:\scoreexpress\maint\source\manual\main.xml to D:\scoree
xpress\maint\build\manual\main.html
[xslt] Loading stylesheet D:\scoreexpress\maint\source\manual\html.xsl
BUILD FAILED
java.lang.NoSuchMethodError: html.href$dot$target$dot$uri(Lcom/sun/org/apache/xa
lan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom
/sun/org/apache/xml/internal/serializer/SerializationHandler;ILjava/lang/Object;
Ljava/lang/Object;)V
at html.href$dot$target()
at html.xref()
at html.applyTemplates()
at html.applyTemplates()
at html.applyTemplates_6()
at html.process$dash$chunk$dash$element()
at html.template$dot$1670()
at html.applyTemplates()
at html.applyTemplates_6()
at html.process$dash$chunk$dash$element()
at html.template$dot$1670()
at html.applyTemplates()
at html.template$dot$1669()
at html.applyTemplates129()
at html.applyTemplates129()
at html.template$dot$1668()
at html.applyTemplates()
at html.transform()
at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.
transform(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.
transform(Unknown Source)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.
transform(TraXLiaison.java:193)
at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:
487)
at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:
259)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
I tried the same using ant 1.5.4 instead of 1.6.5 but got the same error.
Then I used an older version of java (1.4.2_08) which did the job.
So I guess the error is related to some change in xalan library that comes with
the jdk.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 38134] - NoSuchMethod exception during xslt task with Java 1.5
Posted by bu...@apache.org.
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=38134>.
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=38134
bodewig@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From bodewig@apache.org 2006-04-06 20:26 -------
I agree with Steve, looks like a bug in Xalan XSLTC to me.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 38134] - NoSuchMethod exception during xslt task with Java 1.5
Posted by bu...@apache.org.
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=38134>.
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=38134
------- Additional Comments From stevel@apache.org 2006-01-05 14:59 -------
I am not convinced this is an Ant problem. We get whatever XSL engine there is
and invoke it. If Java1.5 XSLT has bugs, well, that doesn't suprise me. Its the
least used bit of the Xalan project.
Add Xalan to your ant libraries.
I dont know what to do with this bug. I think you may want to go over to sun's
site and file something with them, they can decide if it is a xerces-xslt
problem or one of their own.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org