[
https://issues.apache.org/jira/browse/BATIK-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247450#comment-17247450
]
Carte Project commented on BATIK-1289:
--------------------------------------
I created Pull Request 25 to deal with errors caused by {{xml-apis}}:
https://github.com/apache/xmlgraphics-batik/pull/25
The path to solve the {{xml-apis-ext}} issue is less clear. Perhaps creating
two new Jars containing the {{org.w3c.dom.svg}} and {{org.w3c.dom.smil}}
packages is the cleanest solution (SAC already has its own Jar).
An issue could be opened for XMLCOMMONS, but that should be done by a Batik
developer.
> batik, xml-apis-ext and java modules
> ------------------------------------
>
> Key: BATIK-1289
> URL: https://issues.apache.org/jira/browse/BATIK-1289
> Project: Batik
> Issue Type: Bug
> Affects Versions: 1.12
> Reporter: Tore Halset
> Priority: Major
>
> batik uses xml-apis-ext that include org.w3c-packages, but there are also
> some org.w3c-packages in java core modules.
>
> Typical error in Eclipse is The package org.w3c.dom is accessible from more
> than one module: {{<unnamed>}}, org.w3c.
>
>
>
> I have a workaround for this in my project now, but hope for a better more
> official solution.
> # Moved all of the org.w3c from xml-apis-ext to packages not used by other
> modules. [https://github.com/halset/xml-apis-ext]
> # Refactored batik to use the new package names.
> [https://github.com/halset/xmlgraphics-batik/tree/modulefix]
>
>
> Do others have the same issue or am I doing something wrong?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-h...@xmlgraphics.apache.org