OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Troubles using Sun's internal Xerces and XalanParsers


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: jirka@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
------------------------------------------------------------------

OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]