[ http://nagoya.apache.org/jira/browse/XALANJ-1536?page=history ]

Henry Zongaro updated XALANJ-1536:
----------------------------------

    Priority: Major

> matching on comments produces xmlns
> -----------------------------------
>
>          Key: XALANJ-1536
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1536
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-interpretive, transformation
>     Versions: 2.5Dx
>  Environment: Operating System: Windows NT/2K
> Platform: PC
>     Reporter: Jan F�ssel
>     Assignee: Brian Minchau
>  Attachments: bug20055.xml, bug20055.xsl, bug20055b.xsl, input.tld
>
> I wrote a little template which filters out some tags of a special namespace 
> and the hole comments. It looks like this:
> <xsl:template match="@*|node()[not(comment())]">
>  
> <xsl:if test="namespace-uri() !
> =  'http://xmlns.cit.de/assistants/dreamweaver/6.1'">
>       <xsl:copy>
>         <xsl:apply-templates select="@*|node()"/>
>       </xsl:copy>
>    </xsl:if>
> </xsl:template>
> The called namespaces in the stylesheet are:
>    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>    xmlns:tld="http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd";
>    xmlns:dw="http://xmlns.cit.de/assistants/dreamweaver/6.1";
> The XML-Doc is an TLD.
> I tested it and i was puzzled:
> In the output-doc every top-level-tag looks like this:
> <tlibversion xmlns="http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"; 
> xmlns:dw="http://xmlns.cit.de/assistants/dreamweaver/6.1";>1.1</tlibversion>
> thx

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to