cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject [C2]: Patch for bug in XercesParser
Date Mon, 06 Nov 2000 14:55:26 GMT
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.

Regards
Carsten Ziegeler

Open Source Group              sunShine - Lighting up e:Business
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                           mailto:cziegeler@sundn.de 
================================================================




Mime
View raw message