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: Fwd: Re: [docbook-apps] Java and docbook xsl again



>
>As previously stated, with JDK 1.5, you need :
>
>- to add xalan onto your classpath AND you need to endorse it :
>Something like :
>java -classpath 
>%anywhere%\endorsed\xalan.jar;FOP_AND_OTHER_NEEDED_JAR_FOR_FOP.jar; 
>-Djava.endorsed.dirs="%anywhere%\endorsed" fr.tireme.Go
>
>the xalan you will take is onto :
><https://jaxp.dev.java.net/servlets/ProjectDocumentList?folderID=2068&expandFolder=2068&folderID=0>https://jaxp.dev.java.net/servlets/ProjectDocumentList?folderID=2068&expandFolder=2068&folderID=0 
>
>
>Be sure to take this one otherwith you will have a big mess with classe 
>renamed (see down).
>
>
>- to change the chunker.xsl because SUN has renamed classes
>see 
>https://sourceforge.net/tracker/?func=detail&aid=1113386&group_id=21935&atid=373747
>So, org.apache.xalan.xslt.extensions.Redirect becomes now 
>com.sun.org.apache.xalan.internal.lib.Redirect
>
>- if you are using XALAN extensions for tables and so on, you also will 
>need to recompile all the xalan25.jar after having changed the imports names.
>see 
>https://sourceforge.net/tracker/?func=detail&aid=1117777&group_id=21935&atid=373747
>
>
>After that, all should works.
>
>If you need more help, just ask because now it works fine for me, both 
>with html and fo.
>
>Pierre
>
>
>
>SomethAt 00:32 17/02/2005, you wrote:
>>I hope this is the right place for this question.  I'm not entirely sure
>>what's wrong, so I'm not sure who to ask.  I'm trying to use Ant's 'style'
>>task to transform docbook .xml into a .fo file.
>>
>>I ran into a problem that I think is similar to the one described here:
>>http://sources.redhat.com/ml/docbook-apps/2005-q1/msg00135.html
>>('outside of element' and 'not a valid object reference' errors)
>>
>>I tried the fix described here, which involves adding xalan.jar to the
>>classpath:
>>http://sources.redhat.com/ml/docbook-apps/2005-q1/msg00174.html
>>
>>I tried both Xalan 2.4.1 and Xalan 2.6.0 with differing error messages.
>>I've posted the combinations of JDK and Xalan and the error messages I'm
>>getting on this page:
>>
>>http://wiki.wendysmoak.com/cgi-bin/wiki.pl?DocBookToPDF
>>
>>Is anyone successfully transforming docbook XML to FO with Java?  If so,
>>what combination of versions is working for you?
>>
>>Thanks for any advice on this,
>>--
>>Wendy Smoak
>
>Pierre Attar (mailto:pat@tireme.fr)

Consultant en informatique documentaire XML
Consultant in Structured Document engineering

Projet "Mutualiser l'effort de montée en compétences sur XML"
http://www.mutu-xml.org/index.html



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