avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@osm.net>
Subject RE: JDK 1.4beta and DefaultConfigurationBuilder
Date Thu, 26 Jul 2001 08:34:22 GMT

Berin:

Small correction/supplement to my earlier reply ...

Stephen McConnell wrote:
> 
> Berin Loritsch [mailto:bloritsch@apache.org]
> >
> > 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: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message