Ticket #83 (new defect)
Opened 21 months ago
Batik rendering fails in a restricted environment
| Reported by: | mrumpf | Owned by: | jCoderZ |
|---|---|---|---|
| Priority: | major | Milestone: | unscheduled |
| Component: | code-generators | Version: | trunk |
| Keywords: | Cc: |
Description
The SVGs generated by the dot tool have a HTTP URL in the DTD declaration. The Batik library tries to validate against this URL and thus wants to download the svg1.1.dtd. This fails in a restricted environment with a NoRouteToHostException?.
Instead a XML Catalog resolver should be used: http://www.rgagnon.com/javadetails/java-0085.html
Note: See
TracTickets for help on using
tickets.
