Berin:
Small correction/supplement to my earlier reply ...
Stephen McConnell wrote:
>
> Berin Loritsch [mailto:[EMAIL PROTECTED]]
> >
> > Stephen McConnell wrote:
> > >
> > > I think you need something like two alternative
> > > implementation classes - for example, the current
> > > DefaultConfigurationBuilder (for compatibility)
> > > and a new JAXPConfigurationBuilder. The JAXPConfigurationBuilder
> > > compilation could be excluded with a few lines in the ant
> > > build file if the javax.xml classes are unavailable. At runtime
> > > we can test the vm version (or available classes) in order to
> > > select the actual builder class to use.
> >
> > It will always test TRUE. The reason is that Avalon is build
> > with Xerces which have the JAXP parsers available.
Xerces will be available at build time but the javax.xml.parser.SAXParser
will only be present under 1.4. However, runtime behaviour is different
as detailed in the following comment.
> Launching Phoenix under 1.4 resulted in a class not found error thrown by
> DefaultConfigurationBuilder. The same configuration runs under
> 1.3 without problem. The missing class was the default parser
> org.apache.xerces.parsers.SAXParser.
>
> Steve.
Steve.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]