http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2140 *** shadow/2140 Tue Jun 12 13:48:14 2001 --- shadow/2140.tmp.6921 Tue Jun 12 13:48:15 2001 *************** *** 0 **** --- 1,23 ---- + +============================================================================+ + | Expression of the form ":name" throws inappropriate error | + +----------------------------------------------------------------------------+ + | Bug #: 2140 Product: XalanJ2 | + | Status: NEW Version: 2.0.x | + | Resolution: Platform: All | + | Severity: Minor OS/Version: All | + | Priority: Other Component: Xalan | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Use the test case NamespaceErr09 in the tests\conf repository. + + The key to the test is this line + <xsl:for-each select=":foo"> + which should raise an error like "no prefix" but actually reports: + XSLT Error (javax.xml.transform.TransformerConfigurationException): String index + out of range: -1 \ No newline at end of file