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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to