Hi Henry,
 
Thanks again for replying al my queries.
 
> Did you really intend to specify the value "#default"?
Yes. I intend to do so. To be honest I am very much a newbie to Xalan/Xerces. I am trying to port an existing application which was using Xalan/Xerces2.3 to latest version Xalan/Xerces2.7. I am approaching all the problems faced during upgradation from that perspective.
 
Thanks and Regards,
Hari


 
On 12/22/05, Henry Zongaro <[EMAIL PROTECTED]> wrote:
Hi, Hari.

Hariprasath Manivannan <[EMAIL PROTECTED] > wrote on 2005-12-20
06:24:13 PM:
> I am also getting the following error when using Xalan2.7. Again,
> this was working fine with Xalan 2.3
>
> <xsl:namespace-alias stylesheet-prefix="oso" result-prefix=""/>
> javax.xml.transform.TransformerException: The result-prefix
> attribute of an xsl:namespace-alias element has the value '', but
> there is no namespace declaration for the prefix '' in scope for
> the element.

    My reading of the syntax for xsl:namespace-alias in section 7.1.1 of
XSLT 1.0 [1] is that an empty value is not permitted for either the
stylesheet-prefix or the result-prefix of xsl:namespace-alias.  Did you
really intend to specify the value "#default"?

    I tried running this with all versions of Xalan-J from 2.3.1 to 2.7,
and with 2.2.0 - I'm missing 2.3.0 itself.  Version 2.7 correctly produces
the error; all the other versions produced a NullPointerException.

Thanks,

Henry
[1] http://www.w3.org/TR/xslt#element-namespace-alias
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:[EMAIL PROTECTED]


Reply via email to