Marco Soldati wrote:

> In order to reduce the amount of external dependencies in one of my
> projects I'd like to replace xercesImpl.jar, xalan.jar and related
> dependencies by using the internal tools of Java 1.6 (Sun).

Sun JDK since version 1.5 uses XSLTC as XSLT processor. This compiler is
not able to cope with complex transformations like DocBook one. So you
should stick with Saxon (or alternatively normal Xalan) as your XSLT
processor of choice.

There are also some quirks in Xerces bundled in JDK, but I'm not sure
whether this affects your scenario.

Anyway if you use Java toolchain for processing DocBook the best is to
use Apache Xerces parser and Saxon XSLT processor.

                        Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: ji...@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to