Return-Path: Delivered-To: apmail-xml-xalan-dev-archive@www.apache.org Received: (qmail 19766 invoked from network); 31 Oct 2006 03:30:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2006 03:30:39 -0000 Received: (qmail 35611 invoked by uid 500); 31 Oct 2006 03:30:50 -0000 Delivered-To: apmail-xml-xalan-dev-archive@xml.apache.org Received: (qmail 35373 invoked by uid 500); 31 Oct 2006 03:30:50 -0000 Mailing-List: contact xalan-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: xalan-dev@xml.apache.org List-Id: Delivered-To: mailing list xalan-dev@xml.apache.org Received: (qmail 35362 invoked by uid 99); 31 Oct 2006 03:30:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 19:30:50 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2006 19:30:37 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AEA3D7142E7 for ; Mon, 30 Oct 2006 19:30:17 -0800 (PST) Message-ID: <28916968.1162265417713.JavaMail.root@brutus> Date: Mon, 30 Oct 2006 19:30:17 -0800 (PST) From: "Brian Minchau (JIRA)" To: xalan-dev@xml.apache.org Subject: [jira] Assigned: (XALANJ-2311) Wrong error about missing template In-Reply-To: <30184183.1154532673826.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/XALANJ-2311?page=all ] Brian Minchau reassigned XALANJ-2311: ------------------------------------- Assignee: Henry Zongaro Assigning to Henry Zongaro. > Wrong error about missing template > ---------------------------------- > > Key: XALANJ-2311 > URL: http://issues.apache.org/jira/browse/XALANJ-2311 > Project: XalanJ2 > Issue Type: Bug > Components: Xalan > Affects Versions: 2.7 > Environment: Xalan 2.7.0, Bundled Xerces, J2SE 1.5.0 and 1.6beta > Reporter: Sergey Vladimirov > Assigned To: Henry Zongaro > Priority: Critical > Attachments: bigtemplate.xsl, BigTemplateTest.java, BigTemplateTest.java > > > xalan wrongly reports about missing template: > ru.arptek.arpsite.templates.TemplateProcessException: Detected error in stylesheets: > C:\DOCUME~1\VLADIM~1.AVD\LOCALS~1\Temp\bigtemplate7628.xsl > javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: ?????? ElemTemplateElement: Footer > ========================================================================================== > > > > > > ========================================================================================== > at ru.arptek.arpsite.xslt.DefaultErrorHandler.wrap(DefaultErrorHandler.java:147) > at ru.arptek.arpsite.xslt.bigtemplatetest.BigTemplateTest.test(BigTemplateTest.java:31) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:589) > at junit.framework.TestCase.runTest(TestCase.java:154) > at junit.framework.TestCase.runBare(TestCase.java:127) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:118) > at junit.framework.TestSuite.runTest(TestSuite.java:208) > at junit.framework.TestSuite.run(TestSuite.java:203) > at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) > at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) > Caused by: javax.xml.transform.TransformerException: ?????? ElemTemplateElement: Footer > at org.apache.xalan.templates.ElemCallTemplate.compose(ElemCallTemplate.java:134) > at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:357) > at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:362) > at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:362) > at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:362) > at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:362) > at org.apache.xalan.templates.StylesheetRoot.composeTemplates(StylesheetRoot.java:362) > at org.apache.xalan.templates.StylesheetRoot.recompose(StylesheetRoot.java:337) > at org.apache.xalan.processor.StylesheetHandler.endDocument(StylesheetHandler.java:468) > 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 Source) > 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) > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) > at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:920) > at ru.arptek.arpsite.xslt.bigtemplatetest.BigTemplateTest.test(BigTemplateTest.java:29) > ... 18 more > (Wrapping error to output additional information by our code :) ) > This template ("Footer") present in stylesheet. Once. > Why I'm sure that it is a bug? Because workaround is - to move this template UP, more closely to caller. > But I can't do it with every template. So it is critical to me. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org For additional commands, e-mail: xalan-dev-help@xml.apache.org