You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2002/04/26 16:50:45 UTC

cvs commit: xml-xalan/test/tests/conf/namespace namespace137.xsl namespace137.xml

dmarston    02/04/26 07:50:45

  Added:       test/tests/conf/namespace namespace137.xsl namespace137.xml
  Log:
  Test case like namespace47 but with copy-of.
  Exposes a bug, see #8473.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/namespace/namespace137.xsl
  
  Index: namespace137.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: namespace137 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.1.2 Creating Elements -->
    <!-- Creator: Santiago Pericas-Geertsen -->
    <!-- Purpose: Test for resetting of an unspecified default namespace by copy-of. -->
  
  <xsl:output method="xml" indent="no" encoding="UTF-8"/>
  
  <xsl:template match = "/">
    <!-- create an RTF with no namespace nodes -->
    <xsl:variable name="x"><hello/></xsl:variable>
    <out>
      <xsl:element name="literalName" namespace="http://literalURI">
        <xsl:copy-of select="$x"/>
      </xsl:element>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/namespace/namespace137.xml
  
  Index: namespace137.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>x</doc>
  
  

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


Re: cvs commit: xml-xalan/test/tests/conf/namespace namespace137.xsl namespace137.xml

Posted by Tom Amiro <To...@Sun.COM>.
Thanks Dave!

tom


dmarston@apache.org wrote:
> 
> dmarston    02/04/26 07:50:45
> 
>   Added:       test/tests/conf/namespace namespace137.xsl namespace137.xml
>   Log:
>   Test case like namespace47 but with copy-of.
>   Exposes a bug, see #8473.
> 
>   Revision  Changes    Path
>   1.1                  xml-xalan/test/tests/conf/namespace/namespace137.xsl
> 
>   Index: namespace137.xsl
>   ===================================================================
>   <?xml version="1.0"?>
>   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
> 
>     <!-- FileName: namespace137 -->
>     <!-- Document: http://www.w3.org/TR/xslt -->
>     <!-- DocVersion: 19991116 -->
>     <!-- Section: 7.1.2 Creating Elements -->
>     <!-- Creator: Santiago Pericas-Geertsen -->
>     <!-- Purpose: Test for resetting of an unspecified default namespace by copy-of. -->
> 
>   <xsl:output method="xml" indent="no" encoding="UTF-8"/>
> 
>   <xsl:template match = "/">
>     <!-- create an RTF with no namespace nodes -->
>     <xsl:variable name="x"><hello/></xsl:variable>
>     <out>
>       <xsl:element name="literalName" namespace="http://literalURI">
>         <xsl:copy-of select="$x"/>
>       </xsl:element>
>     </out>
>   </xsl:template>
> 
>   </xsl:stylesheet>
> 
> 
>   1.1                  xml-xalan/test/tests/conf/namespace/namespace137.xml
> 
>   Index: namespace137.xml
>   ===================================================================
>   <?xml version="1.0"?>
>   <doc>x</doc>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: xalan-cvs-help@xml.apache.org

-- 
 Tom Amiro -- SQA Engineer
 Sun XML Technology Development
 voice: 781-442-0589 Fax: 781-442-1437
 eMail: tom.amiro@.sun.com