logo       

EmptyStackException from Saxon 7.9.1: msg#00128

Subject: EmptyStackException from Saxon 7.9.1
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe