Hi Michael
I was trying to produce a sinple repro for the multi-namespaces but
hit:
[java] java.util.EmptyStackException
[java] at java.util.Stack.peek(Stack.java:79)
[java] at java.util.Stack.pop(Stack.java:61)
[java] at
net.sf.saxon.event.XMLEmitter.endElement(XMLEmitter.java:402)
[java] at
net.sf.saxon.event.UncommittedEmitter.endElement(UncommittedEmitter.java:179
)
[java] at
net.sf.saxon.event.ProxyReceiver.endElement(ProxyReceiver.java:161)
[java] at
net.sf.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java:184)
[java] at
net.sf.saxon.event.ComplexContentOutputter.endElement(ComplexContentOutputte
r.java:325)
[java] at
net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:
186)
[java] at
net.sf.saxon.instruct.Instruction.processChildrenLeavingTail(Instruction.jav
a:269)
[java] at
net.sf.saxon.instruct.Sequence.processLeavingTail(Sequence.java:147)
[java] at net.sf.saxon.instruct.Template.expand(Template.java:105)
[java] at
net.sf.saxon.instruct.Template.processLeavingTail(Template.java:74)
[java] at
net.sf.saxon.Controller.applyTemplates(Controller.java:302)
[java] at net.sf.saxon.Controller.run(Controller.java:187)
[java] at
net.sf.saxon.Controller.transformDocument(Controller.java:1536)
[java] at net.sf.saxon.Controller.transform(Controller.java:1342)
[java] at net.sf.saxon.Transform.processFile(Transform.java:731)
[java] at net.sf.saxon.Transform.doMain(Transform.java:435)
[java] at net.sf.saxon.Transform.main(Transform.java:67)
[java] Fatal error during transformation: null
[java] Java Result: 2
from:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generated by NiceXSL 2.0.4 at Fri Apr 23 15:11:09 BST 2004 -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="2.0">
<xsl:template match="/">
<root>
<xsl:variable name="a-doc">
<a-root/>
</xsl:variable>
<xsl:copy-of select="$a-doc"/>
<xsl:apply-templates select="$a-doc" mode="test"/>
</root>
</xsl:template>
<xsl:template match="/ | node()" mode="test">
<xsl:copy/>
</xsl:template>
</xsl:stylesheet>
Regards
Ed Willink
------------------------------------------------------------------------
E.D.Willink, Email:
mailto:EdWillink-7KbaBNvhQFM@xxxxxxxxxxxxxxxx
Thales Research and Technology (UK) Ltd, Tel: +44 118 923 8278 (direct)
Worton Drive, or +44 118 986 8601 (ext 8278)
Worton Grange Business Park, Fax: +44 118 923 8399
Reading, RG2 0SB
ENGLAND http://www.computing.surrey.ac.uk/personal/pg/E.Willink
------------------------------------------------------------------------
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
|