Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 31880 invoked by uid 500); 16 Nov 2002 18:58:44 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 31862 invoked from network); 16 Nov 2002 18:58:43 -0000 Message-ID: <037101c28da2$395c16b0$0100a8c0@MAUCHI> From: "Ivelin Ivanov" To: Cc: "Tom Amiro" , , , , References: <1D487717-F7E4-11D6-B60E-0003935AD2EE@media.demon.co.uk> <3DD3D2C9.C8E3D979@wincor-nixdorf.com> <3DD4E043.7050305@imkenberg.net> Subject: Re: [XMLFORMS exception] was Re: Exception with current CVS of 2.1 Date: Sat, 16 Nov 2002 12:58:59 -0600 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_036E_01C28D6F.EE1E13B0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_036E_01C28D6F.EE1E13B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit The latest Cocoon CVS HEAD (2.1) is working again, but... Read details below: After I spent a few hours trying to debug the problem, I realized that there is an issue with Xerces 2.2.0 and 2.2.1 (or incompatibility between it and the new Xalan libs). I rolled back to Xerces 2.1.0 and things are looking good again. I kept the latest versions of Xalan. The combination appears to work well. As far as XSLTC is concerned, there appears to be a difference in the behaviour between its latest version and Xalan. I am attaching two html files, result from XSLTC and Xalan applied against the same xml source file. The stylesheet is also attached. Xalan produces the results that I would like to see, although it is possible that my stylesheet is buggy. Until now all XMLForm demo pages have been working equally good with both XSLTC and Xalan. I will now have to switch the demo to Xalan until this difference in the translators is resolved. If anybody has a better diagnostics of the problem, please notify the Xalan group of your findings. Cheers, Ivelin ----- Original Message ----- From: "Ramy Mamdouh" To: Sent: Friday, November 15, 2002 5:53 AM Subject: [XMLFORMS exception] was Re: Exception with current CVS of 2.1 > Hi > > using the latest xerces with xmlforms (either mine or the wizard sample) > resulted in : > > /org.apache.cocoon.ProcessingException: Failed to execute pipeline.: > java.util.EmptyStackException/ > Original exception : java.util.EmptyStackException > at java.util.Stack.peek(Stack.java:82) > at java.util.Stack.pop(Stack.java:64) > at org.apache.xml.utils.DOMBuilder.endElement(DOMBuilder.java:375) > at > org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerI dentityImpl.java:1050) > at > org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147) > at > org.apache.cocoon.xml.AbstractXMLPipe.endElement(AbstractXMLPipe.java:147) > at > org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(AbstractS AXTransformer.java:366) > at > org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:124) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown So > > and eveything else seems working properly in Cocoon with the new xerces > in the COMMON/endorsed. > > Anyway to get over this exception? > Thanks in advance. > > Enke, Michael wrote: > > >Tomcat looks into all WEB-INF/lib directorys and into $CATALINA_HOME/common/endorsed. > >To work properly you must have xerces, xml-apis, xalan and xslt in common/endorsed. > >Probably this one are old ones and in latest cocoon you have new one. > > > >But be careful with throwing away your old ones: xml-form doesn't work > >with the new xerces. Error was reported and is reproducable. With old libs it is working. > > > >Michael > > > > > >Jeremy Quinn wrote: > > > > > >>With the latest CVS of cocoon-dev 2.1, I am getting this exception > >>(below) from TomCat4.1.12 when I access anything in cocoon webapp. > >> > >>The problem seems to be : "java.lang.VerifyError: Cannot inherit from > >>final class", while setting up xerces: > >>"org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatcher > >>". > >> > >>Is someone in the middle of working on something that may be causing > >>this? > >> > >>Thanks for any help. > >> > >>regards Jeremy > >> > >> > > > >--------------------------------------------------------------------- > >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 > ------=_NextPart_000_036E_01C28D6F.EE1E13B0 Content-Type: text/html; name="XSLTC _XMLForm1.htm" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="XSLTC _XMLForm1.htm" =EF=BB=BF XMLForm - = Cocoon Feedback Wizard
=



[Donald] [Duck] [donald_duck@disneyland.com] [5]=20 = [true]=20 [1] [http://] [false] [] [p4] [512] [Tomcat] [1.3]=20 =

Confirm Input

Professional roles
=
Personal hobbies
[gym] =
[swim] =
[soccer] =
[ski]=20 =
Favorite web sites
[http://xml.apache.org/cocoon]=20
[http://jakarta.apache.org]=20
[http://www.google.com] = =
=20 =20


Visits Count : [14]=20
------=_NextPart_000_036E_01C28D6F.EE1E13B0 Content-Type: text/html; name="Xalan _XMLForm1.htm" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Xalan _XMLForm1.htm" =EF=BB=BF XMLForm - = Cocoon Feedback Wizard
=



Confirm Input

First Name

[Donald]

Last Name

[Duck]

Email

[donald_duck@disneyland.com]=20

Age

[5]
Professional roles
=
Personal hobbies

[gym]=20 =

[swim]=20 =

[soccer]=20 =

[ski]=20 =

Hidden attribute

[true]

Number of installations

[1]

Live URL

[http://] =

Publish URL

[false]

OS

[]

Processor

[p4]

RAM

[512]

Servlet Engine

[Tomcat]

Java Version

[1.3]
Favorite web sites

URL:

[http://xml.apache.org/cocoon]=20 =

URL:

[http://jakarta.apache.org] = =

URL:

[http://www.google.com]=20 =
=20 =20


Visits Count : [4]=20
------=_NextPart_000_036E_01C28D6F.EE1E13B0 Content-Type: text/xml; name="xmlform2html.xsl" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xmlform2html.xsl" =20 =20
=20 =20
[] =20
=20 =20 =20
=20 =20 =20
------=_NextPart_000_036E_01C28D6F.EE1E13B0 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org ------=_NextPart_000_036E_01C28D6F.EE1E13B0--