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

http://issues.apache.org/bugzilla/show_bug.cgi?id=30681

<xsl:namespace-alias stylesheet-prefix="foo" result-prefix="#default" />





------- Additional Comments From [EMAIL PROTECTED]  2004-08-27 16:32 -------
Dave,
one of the problems here is that this element:
   <xsl:namespace-alias stylesheet-prefix="html" result-prefix="#default" />
is causing difficulty because there is no default namespace, and no URI 
associated with it.  

Yash is independantly working on a related bug where a null pointer exception 
is hit due to there being no default namespace.  In Galen's bug there is no 
null pointer exception, but there is incorrect output (the html prefix is used 
in the output, but never mapped to a URI).

The XSLT 2.0 draft is more explicit about this situation and says that it is a 
static error if the result-prefix doesn't exist.  So with Yash's fix it won't 
be possible to create an alias to "#default" if there is no default namespace. 
This would be detected as a dynamic error, not a static error, but we are 
dealing with XSLT 1.0 here.
- Brian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to