[Yanel-dev] Multiple xml-apis libs version
Michael Wechner
michael.wechner at wyona.com
Fri Sep 4 12:19:53 CEST 2009
Guillaume Déflache schrieb:
> Hi!
>
> Michael Wechner schrieb:
>> Hi
>>
>> I just noticed that there are multiple xml-apis libs within WEB-INF/lib.
>
> I am actually not sure we even need one XML APIs library: AFAICS Java
> 5 provide everything it contains through its bundled JAXP 1.3 ( cf.
> http://java.sun.com/j2se/1.5.0/docs/guide/xml/jaxp/ReleaseNotes_150.html#identifying
> ): SAX 2.0.2, DOM 3, and the JAXP API (javax.**, which should only be
> loaded from the JDK unless you explicitely want a new JAXP, which you
> then should probably add as an endorsed library as it is part of the
> JDK).
>
> Of course if any XML-related library (Xerces, Xalan, Saxon, ...) needs
> a higher version of the API, then hopefully it is defined correctly as
> a Maven dependency, and if the dependency is superfluous because of
> Java 5 or wrong we may want to try the exclusion mechanism here as well.
>
> WDYT?
agreed, whereas I guess we need to do some testing and also should try
to find where these xml-apis libs are referenced from
>
>
> On an unrelated note, Java 5 seems to provide a XInclude
> implementation that we perhaps could use instead/in addition of our
> own (very incomplete) one.
can you send a pointer/URL re this?
Thanks
Michi
>
> Cheers,
> Guillaume
More information about the Yanel-development
mailing list