You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by vh...@apache.org on 2001/09/19 16:58:08 UTC

cvs commit: xml-batik/xdocs faq.xml

vhardy      01/09/19 07:58:08

  Modified:    xdocs    faq.xml
  Log:
  Added faq entry following bug #1579.
  
  Revision  Changes    Path
  1.24      +25 -1     xml-batik/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/xml-batik/xdocs/faq.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- faq.xml	2001/06/01 14:11:40	1.23
  +++ faq.xml	2001/09/19 14:58:08	1.24
  @@ -10,7 +10,7 @@
   <!-- ========================================================================= -->
   <!-- author vincent.hardy@eng.sun.com                                          -->
   <!-- author cjolif@ilog.fr                                                     -->
  -<!-- version $Id: faq.xml,v 1.23 2001/06/01 14:11:40 cjolif Exp $ -->
  +<!-- version $Id: faq.xml,v 1.24 2001/09/19 14:58:08 vhardy Exp $ -->
   <!-- ========================================================================= -->
   
   <!DOCTYPE faqs SYSTEM "./dtd/faq-v10.dtd">
  @@ -530,4 +530,28 @@
       </p></answer>
   </faq>
   
  +<faq>
  +    <question>
  +    I am trying to use Batik and FOP together but Batik does not work and
  +    fails on the org.w3c.xxx packages. What is happening?
  +    </question>
  +
  +    <answer>
  +        <p>Both FOP and Batik use the org.w3c.xxx packages. Depending on the 
  +        version of FOP and Batik, Batik has been using a version of these
  +        packages which is more recent than the one in the w3c.jar file FOP 
  +        uses. However, if the w3c.jar file which comes with the FOP distribution
  +        is loaded before the Batik jar files, then, the version coming with 
  +        FOP takes precedence (i.e., that is the version the Java Virtual Machine
  +        loads). Because that version is incompatible with Batik, you get a 
  +        failure.</p>
  +        <p>The solution is to either repackage the w3c.jar file with the 
  +        classes in the Batik distribution (you will need the Batik source
  +        distrib to do that), or you will need to make sure the Batik jars are
  +        loaded before the w3c.jar, for example by putting them before the
  +        w3c.jar file in your classpath. If you are copying your jar files to
  +        ..jre/lib/ext, you can simply remove the FOP w3c.jar file from that
  +        directory.</p>
  +    </answer>
  +</faq>
   </faqs>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org