DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24007

<xsl:attribute name="a:b" namespace=""> gives error





------- Additional Comments From [EMAIL PROTECTED]  2003-10-22 20:31 -------
I did some further investigation after discussion with Henry Zongaro and found
that with the 2003-10-22 GUMP build, the testcase attached by David Marston
(namespace118) runs to completion. The outputs are as follows:

Interpretive:
<?xml version="1.0" encoding="UTF-8"?>
<out/>

XSLTC:
<?xml version="1.0" encoding="UTF-8"?>
<out zoo:monkey="crazy"/>

However, the testcase I attached fails with errors in both cases:

Interpretive:
file:///C:/cygwin/home/richcao/run_xalan/foo.xsl; Line #4; Column #50; XSLT Erro
r (javax.xml.transform.TransformerException): Attempting to generate a namespace
 prefix with a null URI

XSLTC:
ERROR:  'Namespace for prefix 'a' has not been declared.'

(Location of error unknown)XSLT Error (javax.xml.transform.TransformerException)
: java.lang.RuntimeException: Namespace for prefix 'a' has not been declared.


The difference between the two testcases is that in mine, the parent of
xsl:attribute is xsl:element, whereas in namespace118, the parent is a literal
result element.

Reply via email to