×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

anyone familiar with xalan-J ? need help please. thanks for advance

本文发表在 rolia.net 枫下论坛I use xalan 2.5.2+ (2.6.0) with according xerces, xmlapi.

I use xsltc, complie the xslt files to java class.
Most of java class run fine, but some of them cant.

One of them throw exception:

java.lang.NoSuchMethodError: xsl.confirmsubmission.command_buttons(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;ILjava/lang/Object;Ljava/lang/Object;)V
at xsl.confirmsubmission.applyTemplates()
at xsl.confirmsubmission.template$dot$194()
at xsl.confirmsubmission.applyTemplates()


I checked class xsl.confirmsubmission, there is a method
public void command_buttons(DOM dom, DTMAxisIterator dtmAxisIterator, SerializationHandler serializationHandler, int i) {
// compiled code
}
but there some other method , have 1 more parameter 'Object o'
like:
public void getValueFromRef(DOM dom, DTMAxisIterator dtmAxisIterator, SerializationHandler serializationHandler, int i, Object o) {
// compiled code
}


any1 know the difference?

Thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / anyone familiar with xalan-J ? need help please. thanks for advance
    本文发表在 rolia.net 枫下论坛I use xalan 2.5.2+ (2.6.0) with according xerces, xmlapi.

    I use xsltc, complie the xslt files to java class.
    Most of java class run fine, but some of them cant.

    One of them throw exception:

    java.lang.NoSuchMethodError: xsl.confirmsubmission.command_buttons(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;ILjava/lang/Object;Ljava/lang/Object;)V
    at xsl.confirmsubmission.applyTemplates()
    at xsl.confirmsubmission.template$dot$194()
    at xsl.confirmsubmission.applyTemplates()


    I checked class xsl.confirmsubmission, there is a method
    public void command_buttons(DOM dom, DTMAxisIterator dtmAxisIterator, SerializationHandler serializationHandler, int i) {
    // compiled code
    }
    but there some other method , have 1 more parameter 'Object o'
    like:
    public void getValueFromRef(DOM dom, DTMAxisIterator dtmAxisIterator, SerializationHandler serializationHandler, int i, Object o) {
    // compiled code
    }


    any1 know the difference?

    Thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • it still has bug? another strange thing is I used xsltc of xalan-j2.5.1 to complile, and 2.5.2 run . all fine. and
      I use 2.5.1 compile and run, then without exception, but there are some xml-element is mismatched, like I mentioned in

      http://www.rolia.net/forum/forum_showPost.php?tno=273061&pno=2242857&_bno=10&_cno=1350&