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] jdk 1.5 and docbook xsl


> -----Original Message-----
> From: Pierre Attar 

> From saxon command line (SAXON 6.5.3 from Michael Kay), it 
> works perfectly.
> 
...
> 
> So, it seems that it's a JDK problem. I also don't understand 
> translet problem and why my stylesheet is compiled.
> Is it a new Xalan feature to always internally compile the 
> stylesheet ? I 
> really do not know.
 

I think this is how it works: XSTLC ("Xalan-Java Compiling processor") is
the default XSLT processor in the latest JDK (J2SE 5.0). That means that it
is used when a transformation is invoked via the JAXP APIs, unless another
processor has been explicitly specified. In previous versions of the JDK,
the default XSLT processor was Xalan ("Xalan-Java Interpretive processor").

http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.ht
ml#invokingXSLT

The whole point of XSLTC is that it uses a compiled form of the stylesheet
(a "translet"). Apparently, there are problems with compiling DocBook
stylesheets. I don't know why.  

Maybe you can get more information from the xalan-dev list:
http://xml.apache.org/mail.html#xalan-dev.


/MJ




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