On Thu, Apr 28, 2011 at 8:26 PM, Colin Doyle <[email protected]> wrote:
> I get an error generating postscript output using
> xmlgraphics-commons-1.2.jar.  The output has overlays.   The
> postscript file generated with 1.2 pagesetups that cause the
> postscript to be in error.  However, the same code using
> xmlgraphics-commons-1.4.jar works fine.
>
> I suspect the cause has something to do with an internal bug in 1.2
> that was fixed in version 1.4.  I am using Geotools 2.6.5 however the
> latest version of Geotools 8 has the older xmlgraphics-commons-1.2.jar
> and not the updated version.

We are not choosing that jar version, it comes as a dependency
from batik-transcoder:

[INFO] ------------------------------------------------------------------------
[INFO] Building Dynamic symbolizers for SVG symbols
[INFO]    task-segment: [dependency:tree]
[INFO] ------------------------------------------------------------------------
[INFO] [dependency:tree {execution: default-cli}]
[INFO] org.geotools:gt-svg:jar:8-SNAPSHOT
[INFO] +- org.geotools:gt-render:jar:8-SNAPSHOT:compile
[INFO] |  +- org.geotools:gt-main:jar:8-SNAPSHOT:compile
[INFO] |  |  +- org.geotools:gt-api:jar:8-SNAPSHOT:compile
[INFO] |  |  +- com.vividsolutions:jts:jar:1.11:compile
[INFO] |  |  |  \- xerces:xercesImpl:jar:2.7.1:compile (version
managed from 2.4.0)
[INFO] |  |  \- jdom:jdom:jar:1.0:compile
[INFO] |  +- org.geotools:gt-coverage:jar:8-SNAPSHOT:compile
[INFO] |  |  +- org.geotools:gt-referencing:jar:8-SNAPSHOT:compile
[INFO] |  |  |  +- java3d:vecmath:jar:1.3.2:compile
[INFO] |  |  |  +- commons-pool:commons-pool:jar:1.5.4:compile
[INFO] |  |  |  \- org.geotools:gt-metadata:jar:8-SNAPSHOT:compile
[INFO] |  |  |     \- org.geotools:gt-opengis:jar:8-SNAPSHOT:compile
[INFO] |  |  |        \- net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2:compile
[INFO] |  |  \- it.geosolutions.imageio-ext:imageio-ext-tiff:jar:1.1-RC1:compile
[INFO] |  |     +-
it.geosolutions.imageio-ext:imageio-ext-utilities:jar:1.1-RC1:compile
[INFO] |  |     +- javax.media:jai_codec:jar:1.1.3:compile
[INFO] |  |     \- javax.media:jai_imageio:jar:1.1:compile
[INFO] |  \- org.geotools:gt-cql:jar:8-SNAPSHOT:compile
[INFO] +- org.apache.xmlgraphics:batik-transcoder:jar:1.7:compile
[INFO] |  +- org.apache.xmlgraphics:fop:jar:0.94:compile
[INFO] |  |  +- org.apache.xmlgraphics:xmlgraphics-commons:jar:1.2:compile
[INFO] |  |  +- commons-logging:commons-logging:jar:1.1.1:compile
(version managed from 1.0.4)
[INFO] |  |  +- commons-io:commons-io:jar:1.2:compile
[INFO] |  |  +-
org.apache.avalon.framework:avalon-framework-api:jar:4.3.1:compile
[INFO] |  |  \-
org.apache.avalon.framework:avalon-framework-impl:jar:4.3.1:compile
[INFO] |  +- org.apache.xmlgraphics:batik-awt-util:jar:1.7:compile
[INFO] |  +- org.apache.xmlgraphics:batik-bridge:jar:1.7:compile
[INFO] |  |  +- org.apache.xmlgraphics:batik-anim:jar:1.7:compile
[INFO] |  |  +- org.apache.xmlgraphics:batik-css:jar:1.7:compile
[INFO] |  |  +- org.apache.xmlgraphics:batik-ext:jar:1.7:compile
[INFO] |  |  +- org.apache.xmlgraphics:batik-parser:jar:1.7:compile
[INFO] |  |  +- org.apache.xmlgraphics:batik-script:jar:1.7:compile
[INFO] |  |  \- xalan:xalan:jar:2.6.0:compile
[INFO] |  +- org.apache.xmlgraphics:batik-dom:jar:1.7:compile
[INFO] |  +- org.apache.xmlgraphics:batik-gvt:jar:1.7:compile
[INFO] |  +- org.apache.xmlgraphics:batik-svg-dom:jar:1.7:compile
[INFO] |  +- org.apache.xmlgraphics:batik-svggen:jar:1.7:compile
[INFO] |  +- org.apache.xmlgraphics:batik-util:jar:1.7:compile
[INFO] |  +- org.apache.xmlgraphics:batik-xml:jar:1.7:compile
[INFO] |  +- xml-apis:xml-apis:jar:1.3.04:compile
[INFO] |  \- xml-apis:xml-apis-ext:jar:1.3.04:compile
[INFO] +- org.geotools:gt-epsg-hsql:jar:8-SNAPSHOT:test
[INFO] |  \- hsqldb:hsqldb:jar:1.8.0.7:test
[INFO] +- org.geotools:gt-sample-data:jar:8-SNAPSHOT:test
[INFO] +- org.geotools:gt-property:jar:8-SNAPSHOT:test
[INFO] +- org.geotools:gt-render:jar:tests:8-SNAPSHOT:test
[INFO] +- javax.media:jai_core:jar:1.1.3:provided (scope not updated to compile)
[INFO] \- junit:junit:jar:4.4:test

Batik 1.7 is also the latest release. I have no idea if Batik is going to
work fine with a more recent version of xmlgraphics-common, it may
indeed cause problems as Batik and the fop version needed
by it were not built against it

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to