You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Ashley Zinyk (JIRA)" <xa...@xml.apache.org> on 2006/03/21 01:41:58 UTC

[jira] Commented: (XALANC-609) Template with built-in template rules for namespaces gives and assert

    [ http://issues.apache.org/jira/browse/XALANC-609?page=comments#action_12371168 ] 

Ashley Zinyk commented on XALANC-609:
-------------------------------------

Dmitry's patch looks good to me.

> Template with built-in template rules for namespaces gives and assert
> ---------------------------------------------------------------------
>
>          Key: XALANC-609
>          URL: http://issues.apache.org/jira/browse/XALANC-609
>      Project: XalanC
>         Type: Bug
>   Components: XalanC
>     Versions: CurrentCVS
>  Environment: all
>     Reporter: Dmitry Hayes
>     Assignee: Dmitry Hayes
>      Fix For: CurrentCVS
>  Attachments: patch.diff
>
> Stylesheet:
> <xsl:template match="/">
>   <out>
>     <xsl:apply-templates select="//namespace::*"/>
>   </out>
> </xsl:template>
> and an input document:
> <?xml version="1.0"?>
> <doc xmlns="default.uri">
> <!--Comment 1-->
> <item xmlns:one="http://one.org" xmlns:two="http://two.org">
> 	<inner>Some text <!--Comment 3-->
> 		<sub-inner xmlns:one="http://example.org"/>
> 	</inner>
> </item>
> <item/>
> <item></item>
> </doc>
> Gives : 
> Assertion failed: DOMServices::isNamespaceDeclaration(static_cast<const XalanAtt
> r&>(theNode)) == false, file \src\xalanc\Xslt\Stylesheet.cpp, line 1093 

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org