cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: "org.xml.sax.driver" System Property and duplicate files.
Date Fri, 06 Oct 2000 21:34:32 GMT
Here's my 2 cents,

Cent #1: Please don't force the use of System Properties. Can you provide an entry point similar
to trax.Processor.setPlatformDefaultProcessor....

Cent #2: There should be no duplicate files Xalan.jar should not contain any files in Xerces.jar
or vice versa.

Thanks,
dims


--- Scott Boag/CAM/Lotus <Scott_Boag@lotus.com> wrote:
> 
> I need to work on cleaning up the properties stuff tomorrow.  Do you guys
> have any further thoughts on what you would like to see happen?
> 
> -scott
> 
> 
> 
> 
>                                                                                     
           
>                   
>                     Davanum                                                         
           
>                   
>                     Srinivas             To:     cocoon-dev@xml.apache.org          
           
>                   
>                     <dims@yahoo.c        cc:     xalan-dev@xml.apache.org, (bcc: Scott
> Boag/CAM/Lotus)             
>                     om>                  Subject:     "org.xml.sax.driver" System
Property and
> duplicate files.    
>                                                                                     
           
>                   
>                     10/04/2000                                                      
           
>                   
>                     08:17 PM                                                        
           
>                   
>                     Please                                                          
           
>                   
>                     respond to                                                      
           
>                   
>                     xalan-dev                                                       
           
>                   
>                                                                                     
           
>                   
>                                                                                     
           
>                   
> 
> 
> 
> 
> Issue #1: org.xml.sax.helpers.XMLReaderFactory relies on this System
> Property to be set. I don't
> see a way to set it from outside. For example if we need to do this in
> Cocoon2 then the only way
> is to set the environment variable CATALINA_OPTS which is picked up in
> catalina.bat or if we
> modify the System Properties as shown in Xalan. Is this desirable?
> 
>         protected void setSystemProperties()
>            {
>              Properties props = new Properties();
>           ....
>              props.put("org.xml.sax.driver",
> "org.apache.xerces.parsers.SAXParser");
>           ....
> 
>              Properties systemProps = System.getProperties();
>              Enumeration propEnum = props.propertyNames();
>              while(propEnum.hasMoreElements())
>              {
>                  String prop = (String)propEnum.nextElement();
>               if(!systemProps.containsKey(prop))
>                   systemProps.put(prop, props.getProperty(prop));
>           }
>           System.setProperties(systemProps);
>            }
> 
> 
> Issue #2: org.xml.sax.helpers.XMLReaderFactory.java is present in both
> Xalan and Xerces....
> 
> How can we resolve thes two issues?
> 
> Thanks,
> dims
> Thanks,
> dims
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/

Mime
View raw message