cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colin Paul Adams <>
Subject Re: CForms stylesheets - use of xsl:param and xhtml
Date Wed, 30 Jun 2004 05:06:35 GMT
>>>>> "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:

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.TransformerHandlerImpl.endDocument(
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(
	at org.apache.cocoon.transformation.TraxTransformer.endDocument(
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(
	at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(
	at org.apache.cocoon.forms.transformation.EffectPipe$Output.copy(
	at org.apache.cocoon.forms.transformation.EffectWidgetReplacingPipe$DocHandler.process(
	at org.apache.cocoon.forms.transformation.EffectPipe.endDocument(
	at org.apache.cocoon.components.sax.XMLTeePipe.endDocument(
	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
	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

View raw message