cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Burton <ross.bur...@mail.com>
Subject Re: [C2]: Patch for bug in XercesParser
Date Mon, 06 Nov 2000 20:22:17 GMT
Carsten Ziegeler wrote:
> 
> The org.apache.cocoon.components.parser.XercesParser does not set the lexical handler
correctly.
> The following line must be moved from the constructor to the parse() method:
> 
>    this.parser.setProperty("http://xml.org/sax/properties/lexical-handler",
>                       super.lexicalHandler);
> 
> During the constructor the (super.)lexicalHandler is not yet initialised, so the setting
of the property was too early.

Fixed. Thanks!

Ross

Mime
View raw message