[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [stellation-res] Eclipse no longer ships org.apache.xerces plugin
|
Hi Rafal,
Thanks!
I will get your patch and incorporate it into a new version of the plugin.
(I'm also working on #60853) TClient feature is not visible in About
eclipse > Feature details dialog .
Regards,
Jim
At 11:50 AM 6/8/2004, Rafal Krzewski wrote:
Rafal Krzewski wrote:
Mark C Chu-Carroll wrote:
Re: Xerces. Unfortunately, Xerces is *not* part of the Java API. Sun has
defined the w3c DOM classes as part of the standard API, and requires
all JDKs and JREs the include *an* implementation of the DOM. In the
IBM JVMs, that's Xerces; in the Sun JDKs, it's not.
I know they've included DOM & SAX APIs, and I thought that the
implementation in Sun JDKs also Xerces. I was mistaken. Anyway I don't
see an obvious reason why Stellation would depend on any proprietary
interfacs of Xerces. I suspect that the only thing needed to switch to
platform's DOM/SAX would be doing instantiation of parsers through JAXP.
So, to get the client working for the interim, there are really only two
choices: switch to the generic Java DOM support, or switch to JDOM.
>
>
> Platform DOM/JAXP would probably be faster. I'll take look at that
> tomorrow.
Unfortunately I wasn't able to get to it until now.
There were two distinct issues:
- xml serialization in DialogPropertyBag class, I was able to get
around it with some basic java.xml.parsers/java.xml.transform stuff.
- Base64 encoding decoding using a class from Xerces implementation. After
tweaking this to one side and another I ended up with copying the file
from platform sources to org.stellation.util. I don't know if it's
apropriate WRT licensing policies. If not - another suitable
implementation must be found.
The patch is available at:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=64013
Rafal
_______________________________________________
stellation-res mailing list
stellation-res@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/stellation-res
--
Jim Wright, IBM T.J. Watson Research Center
*** The Stellation project: Advanced SCM for Collaboration
*** http://www.eclipse.org/stellation
*** Work Email: jwright@xxxxxxxxxxxxxx ------- Personal Email:
jim.wright@xxxxxxx