jdk1.5/1.6下xslt时xalan版本问题|xalan version problem in XSLT under jdk1.5(jdk5) & jdk1.6(jdk6) [Permalink]
Sat Aug 11 13:16:38 CST 2007
在jdk1.5/1.6下,现有的xslt会失败。
错误类型:TransformerConfigurationException
,此外还会有org.jdom.IllegalAddException:A DocType cannot be added after the root element
原因:新版jre中的xalan做了更新,产生了兼容性问题。
解决办法:打包时包括jdom1.0/lib下的xalan.jar。
Posted by: miles
Comments on this entry