You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Piroumian, Konstantin" <KP...@flagship.ru> on 2001/04/25 16:43:35 UTC

[C2] Cocoon 2 and Xerces 1.3.1

Hi!

It's me again, bothering you with Xerces :)

Xerces 1.3.1 was releazed, but in the latest CVS snapshot only the
xerces1_3_0.jar. Will the long waited beta version of C2 use version 1.3.1?
It seems that there were bugs in 1.3.0 (http://www.megginson.com/SAX/) and
one of them made me lose my sleep until the 3 am:

org.xml.sax.helpers.AttributesImpl
removeAttributes uses index rather than index*5 and erases the wrong
attribute (Andrew[at]instmak.com, js[at]pro-solutions.com)

Removing attributes is used in the i18nTransformer which I am trying to
improve and when the only attribute is present then everything works fine,
but if more than one then Cocoon stucks and give a Resource not found error,
because of ArrayIndexOutOfBoundsException.

Best regards,

Konstantin Piroumian
Software engineer

Protek Flagship LLC
Phone: + 7 095 795 0520 (add. 1288)
Fax: + 7 095 795 0525
E-mail: kpiroumian@flagship.ru
http://www.protek.com


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [C2] Cocoon 2 and Xerces 1.3.1

Posted by giacomo <gi...@apache.org>.

On Wed, 25 Apr 2001, Piroumian, Konstantin wrote:

> Hi!
>
> It's me again, bothering you with Xerces :)
>
> Xerces 1.3.1 was releazed, but in the latest CVS snapshot only the
> xerces1_3_0.jar. Will the long waited beta version of C2 use version 1.3.1?
> It seems that there were bugs in 1.3.0 (http://www.megginson.com/SAX/) and
> one of them made me lose my sleep until the 3 am:

Well, if Xerces 1.3.1 works well with C2 it should be included before
going beta.

>
> org.xml.sax.helpers.AttributesImpl
> removeAttributes uses index rather than index*5 and erases the wrong
> attribute (Andrew[at]instmak.com, js[at]pro-solutions.com)
>
> Removing attributes is used in the i18nTransformer which I am trying to
> improve and when the only attribute is present then everything works fine,
> but if more than one then Cocoon stucks and give a Resource not found error,
> because of ArrayIndexOutOfBoundsException.

Can you try nd test 1.3.1 with C2?

Giacomo

PS: Keep developments stuff on the cocoon-dev list.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>