Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 5097 invoked from network); 30 Jun 2004 05:09:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Jun 2004 05:09:05 -0000 Received: (qmail 98854 invoked by uid 500); 30 Jun 2004 05:09:15 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 98757 invoked by uid 500); 30 Jun 2004 05:09:13 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 98638 invoked by uid 99); 30 Jun 2004 05:09:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [194.217.242.89] (HELO anchor-post-31.mail.demon.net) (194.217.242.89) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 29 Jun 2004 22:09:09 -0700 Received: from colina.demon.co.uk ([80.177.30.27]) by anchor-post-31.mail.demon.net with esmtp (Exim 3.35 #1) id 1BfXKi-0004vv-0V for dev@cocoon.apache.org; Wed, 30 Jun 2004 06:08:32 +0100 Received: from colina.demon.co.uk (localhost.localdomain [127.0.0.1]) by colina.demon.co.uk (8.12.11/8.12.11) with ESMTP id i5U56ZYq009060 for ; Wed, 30 Jun 2004 06:06:35 +0100 Received: (from colin@localhost) by colina.demon.co.uk (8.12.11/8.12.11/Submit) id i5U56Zjb009055; Wed, 30 Jun 2004 06:06:35 +0100 To: dev@cocoon.apache.org Subject: Re: CForms stylesheets - use of xsl:param and xhtml References: <40E18FB5.9080908@cbim.it> <40E1A292.6000501@cbim.it> <1088531801.18847.74.camel@yum> <40E1D488.6020000@gmx.de> From: Colin Paul Adams Date: 30 Jun 2004 06:06:35 +0100 In-Reply-To: <40E1D488.6020000@gmx.de> Message-ID: Lines: 50 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >>>>> "Joerg" == Joerg Heinicke writes: Joerg> On 29.06.2004 22:03, Colin Paul Adams wrote: >> Tomorrow, I'll revert to the HTML serializer, and see how the >> output validates as HTML (it won't completely, because of the >> presence of xmlns attributes for the xhtml namespace). Joerg> Exactly. This is what I did and I fixed some issues: Joerg> http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=108853827329381&w=4 Joerg> http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=108853882419530&w=4 After applying your changes to my own changes, I get an NPE: Original Exception: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3418) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:389) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:549) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:56) at org.apache.cocoon.forms.transformation.EffectPipe$Output.copy(EffectPipe.java:257) at org.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe$DocHandler.process(EffectWidgetReplacingPipe.java:266) at org.apache.cocoon.forms.transformation.EffectPipe.endDocument(EffectPipe.java:391) at org.apache.cocoon.components.sax.XMLTeePipe.endDocument(XMLTeePipe.java:67) at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) The stylesheets are still all well-formed, so i don't know what is going on. I guess I shall have to wait until bug #29854 is fixed, then I can test on my own forms, and get that working first? Joerg> empty select for the double-listbox. There are no more Joerg> errors for transitional 4.01 html - expect the whole form Joerg> model gui sample :) Why code for the transitional DTD at all? Surely all coding should be for the strict DTD these days? -- Colin Paul Adams Preston Lancashire