vhardy 01/09/19 08:00:53
Modified: targets/batik faqs.html
Log:
Added entry following bug # 1579.
Revision Changes Path
1.14 +26 -0 xml-site/targets/batik/faqs.html
Index: faqs.html
===================================================================
RCS file: /home/cvs/xml-site/targets/batik/faqs.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- faqs.html 2001/08/24 08:42:29 1.13
+++ faqs.html 2001/09/19 15:00:53 1.14
@@ -83,6 +83,9 @@
What am I missing?
</A></LI><LI><A href="#faq-22">
Why do I get red circles when I view the samples/extensions files?
+ </A></LI><LI><A href="#faq-23">
+ 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?
</A></LI></UL></BLOCKQUOTE></FONT></TD></TR></TABLE></DIV><BR><DIV
align="right"><TABLE border="0" cellpadding="0" cellspacing="0"
width="98%"><TR><TD align="right" height="7" valign="bottom" width="9"><IMG
border="0" height="7" hspace="0" src="resources/bar-top-left.gif" vspace="0"
width="9"></TD><TD background="resources/bar-border-top.gif"><IMG border="0"
height="5" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD
align="left" height="7" valign="bottom" width="9"><IMG border="0" height="7"
hspace="0" src="resources/bar-top-right.gif" vspace="0"
width="9"></TD></TR><TR><TD background="resources/bar-border-left.gif"
width="9"><IMG border="0" height="1" hspace="0" src="resources/void.gif"
vspace="0" width="9"></TD><TD bgcolor="#0086b2" width="100%"><FONT
color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0"
height="5" hspace="0" src="resources/void.gif" vspace="0"
width="5"><B>Answers</B></FONT></TD><TD
background="resources/bar-border-right.gif" width="9"><IMG border="0"
height="1" hspace="0" src="resources/void.gif" vspace="0"
width="9"></TD></TR><TR><TD align="right" height="12" valign="top"
width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-left.gif" vspace="0" width="9"></TD><TD
background="resources/bar-border-bottom.gif"><IMG border="0" height="12"
hspace="0" src="resources/void.gif" vspace="0"></TD><TD align="left"
height="12" valign="top" width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-right.gif" vspace="0"
width="9"></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0"
width="98%"><TR><TD><FONT color="#000000" face="arial,helvetica,sanserif"><A
name="faq-1"><!--anchor--></A><DIV align="right"><TABLE border="0"
cellpadding="0" cellspacing="0" width="95%"><TR><TD align="right" height="7"
valign="bottom" width="9"><IMG border="0" height="7" hspace="0"
src="resources/bar-top-left.gif" vspace="0" width="9"></TD><TD
background="resources/bar-border-top.gif"><IMG border="0" height="5" hspace="0"
src="resources/void.gif" vspace="0" width="1"></TD><TD align="left" height="7"
valign="bottom" width="9"><IMG border="0" height="7" hspace="0"
src="resources/bar-top-right.gif" vspace="0" width="9"></TD></TR><TR><TD
background="resources/bar-border-left.gif" width="9"><IMG border="0" height="1"
hspace="0" src="resources/void.gif" vspace="0" width="9"></TD><TD
bgcolor="#0086b2" width="100%"><FONT color="#ffffff"
face="arial,helvetica,sanserif"><IMG border="0" height="5" hspace="0"
src="resources/void.gif" vspace="0" width="5"><B>What is
Batik?</B></FONT></TD><TD background="resources/bar-border-right.gif"
width="9"><IMG border="0" height="1" hspace="0" src="resources/void.gif"
vspace="0" width="9"></TD></TR><TR><TD align="right" height="12" valign="top"
width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-left.gif" vspace="0" width="9"></TD><TD
background="resources/bar-border-bottom.gif"><IMG border="0" height="12"
hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD align="left"
height="12" valign="top" width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-right.gif" vspace="0"
width="9"></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0"
width="95%"><TR><TD><FONT color="#000000" face="arial,helvetica,sanserif">
@@ -540,6 +543,29 @@
interesting) you should arrange for lib/batik-extensions.jar to be
on your class path.
</P>
+</FONT></TD></TR></TABLE></DIV><BR><A name="faq-23"><!--anchor--></A><DIV
align="right"><TABLE border="0" cellpadding="0" cellspacing="0"
width="95%"><TR><TD align="right" height="7" valign="bottom" width="9"><IMG
border="0" height="7" hspace="0" src="resources/bar-top-left.gif" vspace="0"
width="9"></TD><TD background="resources/bar-border-top.gif"><IMG border="0"
height="5" hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD
align="left" height="7" valign="bottom" width="9"><IMG border="0" height="7"
hspace="0" src="resources/bar-top-right.gif" vspace="0"
width="9"></TD></TR><TR><TD background="resources/bar-border-left.gif"
width="9"><IMG border="0" height="1" hspace="0" src="resources/void.gif"
vspace="0" width="9"></TD><TD bgcolor="#0086b2" width="100%"><FONT
color="#ffffff" face="arial,helvetica,sanserif"><IMG border="0" height="5"
hspace="0" src="resources/void.gif" vspace="0" width="5"><B>
+ 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?
+ </B></FONT></TD><TD background="resources/bar-border-right.gif"
width="9"><IMG border="0" height="1" hspace="0" src="resources/void.gif"
vspace="0" width="9"></TD></TR><TR><TD align="right" height="12" valign="top"
width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-left.gif" vspace="0" width="9"></TD><TD
background="resources/bar-border-bottom.gif"><IMG border="0" height="12"
hspace="0" src="resources/void.gif" vspace="0" width="1"></TD><TD align="left"
height="12" valign="top" width="9"><IMG border="0" height="12" hspace="0"
src="resources/bar-bottom-right.gif" vspace="0"
width="9"></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0"
width="95%"><TR><TD><FONT color="#000000" face="arial,helvetica,sanserif">
+
+
+
+ <P align="left">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 align="left">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>
+
</FONT></TD></TR></TABLE></DIV><BR></FONT></TD></TR></TABLE></DIV><BR></TD></TR></TABLE></TD></TR></TABLE><BR><TABLE
border="0" cellpadding="0" cellspacing="0" width="100%"><TR><TD
bgcolor="#0086b2"><IMG height="1" src="images/dot.gif"
width="1"></TD></TR><TR><TD align="center"><FONT color="#0086b2"
face="arial,helvetica,sanserif" size="-1"><I>
Copyright © 2000-2001 The Apache Software Foundation.
All Rights Reserved.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]