Santiago Gala wrote:

> [EMAIL PROTECTED] wrote:
> 
>> David Sean Taylor wrote:
>>
>>> Santiago -- Im failing to get your recent xalan mods to work.
>>> (cvs commit: jakarta-jetspeed/lib xalan-2.0.1.jar xalan.jar)
>>>
>>>
>>
>> I tried with a Tomcat 3.2 on Windows and set the property in 
>> TOMCAT_OPTS, this solves a few problems but not all since
>> I now have "Unable to display for this browsers" for all 
>> SimpleTransform based portlets.
>>
> 
> 
> Can you be more specific? I have never seen this error before.
> 
> WRT the -D, it is specified in JAXP. But I don't know anything about the 
> other error your mention. Please, give me the stack trace complete. It 
> could be an interaction between un-commited mods in my machine or yours.
> 


I have seen your mail. But still that leaves us with the problem of the 
definition of the property.


For instance, Cocoon2 code contains the following function:

    /** Sets required system properties . */
    protected void setSystemProperties() {
        java.util.Properties props = new java.util.Properties();
        // FIXME We shouldn't have to specify the SAXParser...
        // This is needed by Xalan2, it is used by org.xml.sax.helpers.XMLReaderFactory
        // to locate the SAX2 driver.
        props.put("org.xml.sax.driver", "org.apache.xerces.parsers.SAXParser");
        java.util.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);
    }

and it is called in the Cocoon constructor. Maybe we should do something 
similar in a place where we centralize all XML parsing in Jetspeed.


> 
>> Santiago, can you fix it ASAP please ? It makes testing
>> new features quite difficult...
>>
>> -- 
>> Rapha�l Luta - [EMAIL PROTECTED]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to