[
https://issues.apache.org/jira/browse/BATIK-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Dergunov updated BATIK-1051:
-----------------------------------
Description:
We do export svg files to PDF.
It seems that Batik cannot operate svg files with tags <pattern> without
children.
There are two svg-files:
http://pastebin.com/Wd47nhCu - this one works fine
http://pastebin.com/6yseBWmQ - and this one causes an exception
According to W3C site (http://www.w3.org/TR/SVG/pservers.html#Patterns), "If
this element has no children, and the referenced element does (possibly due to
its own 'xlink:href' attribute), then this element inherits the children from
the referenced element."
Browsers (Chrome, Firefox, IE) show both svg files correctly, but Batik throws
this exception while processing the second file.
was:
It seems that Batik cannot operate svg files with tags <pattern> without
children.
There are two svg-files:
http://pastebin.com/Wd47nhCu - this one works fine
http://pastebin.com/6yseBWmQ - and this one causes an exception
According to W3C site (http://www.w3.org/TR/SVG/pservers.html#Patterns), "If
this element has no children, and the referenced element does (possibly due to
its own 'xlink:href' attribute), then this element inherits the children from
the referenced element."
Browsers (Chrome, Firefox, IE) show both svg files correctly, but Batik throws
this exception while processing the second file.
Summary: org.apache.batik.transcoder.TranscoderException then the
element <pattern> has no children while exporting to PDF (was:
org.apache.batik.transcoder.TranscoderException then the element <pattern> has
no children)
> org.apache.batik.transcoder.TranscoderException then the element <pattern>
> has no children while exporting to PDF
> -----------------------------------------------------------------------------------------------------------------
>
> Key: BATIK-1051
> URL: https://issues.apache.org/jira/browse/BATIK-1051
> Project: Batik
> Issue Type: Bug
> Reporter: Alexey Dergunov
> Priority: Critical
>
> We do export svg files to PDF.
> It seems that Batik cannot operate svg files with tags <pattern> without
> children.
> There are two svg-files:
> http://pastebin.com/Wd47nhCu - this one works fine
> http://pastebin.com/6yseBWmQ - and this one causes an exception
> According to W3C site (http://www.w3.org/TR/SVG/pservers.html#Patterns), "If
> this element has no children, and the referenced element does (possibly due
> to its own 'xlink:href' attribute), then this element inherits the children
> from the referenced element."
> Browsers (Chrome, Firefox, IE) show both svg files correctly, but Batik
> throws this exception while processing the second file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]