More on: ResultTreeFragment and XT extension mechanism

Subject: More on: ResultTreeFragment and XT extension mechanism
From: Denys Duchier <Denys.Duchier@xxxxxxxxxxxx>
Date: 08 Aug 1999 00:04:58 +0200
The problem is that endDocument is actually called twice.  I set
buf=null to cause an exception to be raised on the first call and here
is the backtrace:

Exception in thread "main" java.lang.NullPointerException
	at Method)
	at Code)
	at com.jclark.xsl.sax.XMLOutputHandler.flushBuf(Compiled Code)
	at com.jclark.xsl.sax.XMLOutputHandler.endDocument(Compiled Code)
	at com.jclark.xsl.sax.ResultBase.end(Compiled Code)
	at com.jclark.xsl.sax.ExtensionHandlerImpl$2.emit(Compiled Code)
	at com.jclark.xsl.sax.MultiNamespaceResult.resultTreeFragment(Compiled Code)
	at com.jclark.xsl.sax.ExtensionHandlerImpl$1.append(Compiled Code)
	at Code)
	at Code)
	at Code)
	at Code)
	at$ProcessContextImpl.processSafe(Compiled Code)
	at Code)
	at com.jclark.xsl.sax.XSLProcessorImpl.parse(Compiled Code)
	at com.jclark.xsl.sax.Driver.transform(Compiled Code)
	at com.jclark.xsl.sax.Driver.transformFile(Compiled Code)
	at com.jclark.xsl.sax.Driver.main(Compiled Code)

I definitely don't understand the implementation well enough yet to
attempt a fix :-)


Dr. Denys Duchier			Denys.Duchier@xxxxxxxxxxxx
Forschungsbereich Programmiersysteme	(Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45
Postfach 15 11 50			Phone: +49 681 302 5618
66041 Saarbruecken, Germany		Fax:   +49 681 302 5615

 XSL-List info and archive:

Current Thread