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/10/08 21:53:25 UTC

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

dmarston    2002/10/08 12:53:25

  Added:       test/tests/conf/namespace namespace112.xsl namespace111.xsl
                        namespace112.xml namespace111.xml
  Log:
  Test cases supporting Bugzilla #13414.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/namespace/namespace112.xsl
  
  Index: namespace112.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: namespace112 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.1.2 Creating Elements -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Set default namespace at two levels, no prefixes involved. -->
  
  <xsl:template match = "/">
    <out xmlns="abc">
      <xsl:element namespace="abc" name="foo" xmlns="other.com">
        <xsl:element name="yyy"/>
      </xsl:element>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  
  
  1.1                  xml-xalan/test/tests/conf/namespace/namespace111.xsl
  
  Index: namespace111.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: namespace111 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 7.1.2 Creating Elements -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Set and reset default namespace, no prefixes involved. -->
  
  <xsl:template match = "/">
    <out xmlns="abc">
      <xsl:element namespace="abc" name="foo" xmlns="">
        <xsl:element name="yyy"/>
      </xsl:element>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  
  
  1.1                  xml-xalan/test/tests/conf/namespace/namespace112.xml
  
  Index: namespace112.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>x</doc>
  
  
  1.1                  xml-xalan/test/tests/conf/namespace/namespace111.xml
  
  Index: namespace111.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