xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajiv Mordani <Rajiv.Mord...@Sun.COM>
Subject Re: Volunteers: First Cut
Date Tue, 06 Mar 2001 19:36:54 GMT
On Tue, 6 Mar 2001, Stephane Hillion wrote:

> On Tuesday 06 March 2001 12:52, Sam Ruby wrote:
> > Stephane Hillion wrote:
> > > All the references to crimson we have are constant string references
> > > to the parser class name. These strings are in the source code because
> > > we are in beta version and all the resource files have not been created
> > > yet.
> >
> > org\apache\batik\apps\regsvggen\Main.java:import org.apache.crimson.tree.*;
> > org\apache\batik\apps\regsvggen\Main.java:import org.apache.crimson.parser.
> > *;
> 
> Sorry to reference crimson in testing tools ;)
> 
> >
> > I also don't happen to believe that components should be specifying the
> > parser to use.  JAXP will default nicely, otherwise it should be up to
> > either the main program (or web appliction), or the person who starts or
> > configures the server.
> 
> Yes jaxp is great, except that it use System.getProperty(), so that the 
> libraries which create parsers with it are not usable in secure 
> environments...

With JAXP 1.1 it there are more ways than just the System.getProperty to
specify which parser is to be instantiated. Maybe you should look at that.

- Rajiv

> --
>   Stephane Hillion.
> 
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
> 


Mime
View raw message