Jason, after some tests I found out that this only fails with JDK 1.4.2 without any overridden endorsed libraries [1] in place. It doesn't happen with an unpatched JDK 1.5.0_03, for example. I always use the latest Xerces and Xalan version which is why I didn't stumble upon the problem when I changed the way SVG is parsed in FOP Trunk recently. I'll try to track down the problem because this is still a little suspicious. But since the XML parser and XSLT implementation shipped with JDK 1.4 are known to have issues I suggest you replace those in your JDK installation. Despite the problem at hand it is (IMO) generally a good idea to do.
To replace the JARs: Create a directory called "endorsed" under the jre/lib directory of your JDK installation (applies to all versions >= 1.4.0) and put all the XML-related JARs shipped with FOP in there, i.e. "xml-apis", "xercesImpl", "xalan" and "serializer". [1] http://java.sun.com/j2se/1.4.2/docs/guide/standards/ On 23.02.2006 09:17:23 Jason R Briggs wrote: > Anyone else experiencing problems with SVG with the trunk version of fop? > > For example, the FO below works perfectly in 0.91beta, but doesn't > throws an error (see below FO) in the latest trunk version. > Unfortunately I can't use 0.91 because I have some really odd layout > problems that completely vanish in trunk. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
