Skip to Content.
Sympa Menu

shibboleth-dev - RE: documenting endorsement for shib 1.3

Subject: Shibboleth Developers

List archive

RE: documenting endorsement for shib 1.3


Chronological Thread 
  • From: "Scott Cantor" <>
  • To: "'Howard Gilbert'" <>, "'Shibboleth Developers'" <>
  • Subject: RE: documenting endorsement for shib 1.3
  • Date: Thu, 21 Jul 2005 13:45:59 -0400
  • Organization: The Ohio State University

> 2) If you are running JDK 1.5, then the built-in XML class names are
> different from the Apache names, so both can coexist within the same
> Classpath. In this configuration, you can put the new Xerces libraries
just
> in the /WEB-INF/lib directory. However, you must configure the JAXP
factory
> interface to use the Apache Xerces implementation classes and not its own
> built-in implementation. This is most commonly done by setting the
> javax.xml.parsers.DocumentBuilderFactory property to the value
> "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl" (there is also a
> parameter for transform that may or may not need to be changed; it would
be
> worth testing first).

This is not needed. Xerces inserts itself using the third method Sun
specified, which is to have a MANIFEST/ file inside its jar file. If it's in
the path, it gets found and used.

> This now produces a documentation dilemma. One could have two entirely
> different installation procedures using "endorsed" for JDK 1.4 but not for
> 1.5. Then it would be necessary to add code or change the configuration to
> override the system property(s).

No, it's not. There is nothing you need to do on 1.5 to use Xerces 2.7, but
since we don't need to use it at the moment, it's a moot point.

-- Scott




Archive powered by MHonArc 2.6.16.

Top of Page