cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject RE: I18n Samples don't work
Date Mon, 25 Mar 2002 14:03:16 GMT
> From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de] 
> > From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> > > From: Carsten Ziegeler [mailto:cziegeler@s-und-n.de] 
> > > Piroumian, Konstantin wrote:
> > > >
> > > It has nothing to do with source resolving. The stacktrace 
> > > reveals this:
> > > java.lang.NullPointerException
> > > at org.xml.sax.helpers.AttributesImpl.getIndex(Unknown Source)
> > > at
> > > org.apache.cocoon.transformation.I18nTransformer.translateAttr
> > > ibutes(I18nTra
> > > nsformer.java:1154)
> > > at
> > > org.apache.cocoon.transformation.I18nTransformer.startElement(
> > > I18nTransforme
> > > r.java:871)
> > 
> > Where did you find that message? I have nothing except a Processing
> > Exception in logs.
> > 
> > Anyway, this must be a Xerces bug. There was an old bug in 
> > removeAttribute()
> > (See: 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1552). 
> Maybe it
> > appeared again?
> > 
> > 
> > > 
> > > Anyone able to fix this?
> > 
> > I would do it, but at least I need to see the error to start fixing.
> 
> Just click on the "stacktrace" link on the error page 
> generated by cocoon.

After CVS update (only AbstractPipelineEvent has changed since then) I could
get the correct error.

So, yes it is a bug in xml-apis. Maybe it's time to update them? Xerces-J
2.0.1 has at least 1.5 times bigger AttributesImpl.java and this one can be
a little better.

Why not update to Xerces 2.0.1 at all?

Konstantin

> 
> Carsten
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message