Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 14674 invoked from network); 23 Oct 2005 23:19:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Oct 2005 23:19:28 -0000 Received: (qmail 4678 invoked by uid 500); 23 Oct 2005 23:19:26 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 4632 invoked by uid 500); 23 Oct 2005 23:19:26 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 4621 invoked by uid 99); 23 Oct 2005 23:19:26 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Oct 2005 16:19:24 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B4C0B220 for ; Mon, 24 Oct 2005 01:19:03 +0200 (CEST) Message-ID: <630205034.1130109543621.JavaMail.jira@ajax.apache.org> Date: Mon, 24 Oct 2005 01:19:03 +0200 (CEST) From: "Pier Fumagalli (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Moved: (COCOON-1657) a crash in the name() function of the xslt, when using SQL transformer Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1657?page=all ] Pier Fumagalli moved CTEMP-740 to COCOON-1657: ---------------------------------------------- Project: Cocoon (was: Cocoon 2) Key: COCOON-1657 (was: CTEMP-740) Workflow: Cocoon Workflow (was: jira) Bugzilla Id: (was: 21177) Component: - Sitemap Components (was: sitemap components) Version: 2.1m2 (was: 2.1m2) > a crash in the name() function of the xslt, when using SQL transformer > ---------------------------------------------------------------------- > > Key: COCOON-1657 > URL: http://issues.apache.org/jira/browse/COCOON-1657 > Project: Cocoon > Type: Bug > Components: - Sitemap Components > Versions: 2.1m2 > Environment: Operating System: Linux > Platform: PC > Reporter: Jose de Zarate > Assignee: Cocoon Developers Team > > - when using sqltransformer, if on the pipeline the next transformer is standard > xslt, you can not use name() or local-name() functions for guessing the names of > the attributes of SQL namespaced elements. (rowset, by example). it throws al > ava.lang.indexOutofBounds exception. It only happens when you use it on > attributes: > > blabla > > but > sdfsdf > > works fine. > I think it only happes the firts time you "enter" a sql-namespaced element in > applying the templates. > In cocoon2.0.4 this used to work fine. > the stacktrace: > java.lang.ArrayIndexOutOfBoundsException: 7 >= 1 > at java.util.Vector.elementAt(Vector.java:427) > at org.apache.xml.dtm.ref.DTMStringPool.indexToString(DTMStringPool.java:137) > at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.getNodeName(SAX2DTM2.java:2770) > at org.apache.xalan.xsltc.dom.SAXImpl.getNodeName(SAXImpl.java:1016) > at org.apache.xalan.xsltc.dom.DOMAdapter.getNodeName(DOMAdapter.java:282) > at cleanc.applyTemplates() > at cleanc.applyTemplates() > at cleanc.applyTemplates() > at cleanc.transform() > at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet. > java:533) > the stylesheet: > > > > > > > > > > > > > > > > > > > > > this stylesheet is applied after a standard SQLTransformation. > and it crashes on "local-name()". -- 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