cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject RE: [C2] Moving to Xalan2.
Date Thu, 12 Oct 2000 21:56:12 GMT
Scott,

Here's the stack Trace where my startPrefixMapping is being called before startDocument is
called.
And i get startDocument only once(I think!). Got the Xalan2J Code from CVS just now...

Thanks,
dims


        at org.apache.cocoon.components.language.markup.Logicsheet$RestoreNamepa
ceFilter.startPrefixMapping(Logicsheet.java:237)
        at org.apache.xalan.transformer.ResultTreeHandler.startPrefixMapping(Res
ultTreeHandler.java:988)
        at org.apache.xalan.templates.ElemTemplateElement.executeNSDecls(ElemTem
plateElement.java:766)
        at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResul
t.java:418)
        at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:1397)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1314)
        at org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:660)
        at org.apache.xalan.stree.SourceTreeHandler.endDocument(SourceTreeHandle
r.java:205)
        at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)

        at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)

        at org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1225)
        at org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLV
alidator.java:743)
        at org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.d
ispatch(XMLDocumentScanner.java:1545)
        at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java:380)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
        at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
        at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
        at org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.
generateCode(LogicsheetCodeGenerator.java:118)
        at org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.g
enerateCode(AbstractMarkupLanguage.java:296)
        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.
load(ProgramGeneratorImpl.java:187)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:147)
        at java.lang.Thread.run(Thread.java:484)

--- Scott_Boag@lotus.com wrote:
> How are you diagnosing the multiple startDocument events?  I thought I saw
> a problem with this, but it turned out to be bogus.
> 
> -scott



=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message