You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by bu...@apache.org on 2008/09/11 15:37:59 UTC

DO NOT REPLY [Bug 45779] New: batik transcoder requires crimson?

https://issues.apache.org/bugzilla/show_bug.cgi?id=45779

           Summary: batik transcoder requires crimson?
           Product: Batik
           Version: 1.7
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SVG Rasterizer
        AssignedTo: batik-dev@xmlgraphics.apache.org
        ReportedBy: jeffheigl@gmail.com


Why does the batik transcoder explicitly require the crimson xml parser?  Why
is it not using the JAXP APIs?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 45779] batik transcoder requires crimson?

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45779





--- Comment #3 from Matt Fisher <ma...@gmail.com>  2009-04-03 11:13:49 PST ---
Thanks for your response and references.  My apologies for commenting at the
wrong place.

It seems that FOP was referencing Crimson, and being loaded first, before the
transcoder referenced it.  I resolved the classpath error by excluding FOP in
the project POM.

Obviously, my knowledge of the architecture of Batik and FOP requiring Crimson
is minimal, so I suppose it is possible that this issue may in fact be a defect
related to my issue, or may not.

Thanks again!

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 45779] batik transcoder requires crimson?

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45779


Helder Magalhães <he...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #2 from Helder Magalhães <he...@gmail.com>  2009-04-03 09:09:50 PST ---
First of all, I'd generally suggest placing questions into the mailing lists
[1] first (searching for related threads prior to the post, of course)... One
may prefer using an alternative interface, such as Nabble [2], a bit more user
friendly (specially for searches and such).



(In reply to comment #0)
> Why does the batik transcoder explicitly require the crimson xml parser?  Why
> is it not using the JAXP APIs?

As far as I know (please correct me if I'm wrong), this is due to the fact that
Batik targeted Java 1.3 as of Batik release version 1.7. Currently, Java 1.4 is
the target for the trunk version [3].

Apparently, Java 1.3 didn't contain the JAXP features and Java 1.4 had them
with few bugs [4] so I'd say that, until Batik targets Java 1.5, this may be a
requirement...



(In reply to comment #1)
> I am having a problem with Batik in Tomcat on Windows XP and CentOS, but not in
> Jetty, or Tomcat on Mac.
> Any insight?  Is this a bug?

(Read above first.)

I'd say that this is just a coincidence. Probably, in the environments that
work as expected, either:
 * Are using Java 1.4 (which apparently uses the same namespaces for the
embedded JAXP functionality [4] as crimson);
 * Crimson is available in the default classpath.



@Matt Fisher
The "need info" status for bug reports is more targeted at when more
information is required from the reporter [5], which doesn't seem to be the
case here (I understand the underlying idea, though). ;-)



Hope this helps,
 Helder Magalhães



[1] http://xmlgraphics.apache.org/batik/mailing-lists.html
[2] http://www.nabble.com/Batik-f308.html
[3] http://xmlgraphics.apache.org/batik/download.cgi#Subversion+repository
[4]
http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/JAXP-Compatibility_150.html#packageNamesWhy
[5] https://issues.apache.org/bugzilla/page.cgi?id=fields.html#status

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 45779] batik transcoder requires crimson?

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45779


Matt Fisher <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Matt Fisher <ma...@gmail.com>  2009-04-03 08:02:47 PST ---
I am having a problem with Batik in Tomcat on Windows XP and CentOS, but not in
Jetty, or Tomcat on Mac.

Issue is here:
http://stackoverflow.com/questions/714243/sax2-driver-class-org-apache-crimson-parser-xmlreaderimpl-not-found-when-using-ba

The error "SAX2 driver class org.apache.crimson.parser.XMLReaderImpl not found"
seems odd to me, because of your question.

Any insight?  Is this a bug?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


DO NOT REPLY [Bug 45779] batik transcoder requires crimson?

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45779


Helder Magalhães <he...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #4 from Helder Magalhães <he...@gmail.com>  2009-05-31 02:18:46 PST ---
(In reply to comment #3)
> Obviously, my knowledge of the architecture of Batik and FOP requiring Crimson
> is minimal, so I suppose it is possible that this issue may in fact be a defect
> related to my issue, or may not.

I'm marking this fixed (invalid) as the cause and underlying "issue" seem to
have little to do with Batik itself. Please comment and/or reopen if you feel
like there's something missing/wrong about this. ;-)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org