dmarston    01/03/01 12:08:59

  Modified:    test/tests/conf/namespace namespace46.xsl namespace45.xsl
                        namespace44.xsl
  Log:
  Improve comments and layout.
  
  Revision  Changes    Path
  1.2       +10 -10    xml-xalan/test/tests/conf/namespace/namespace46.xsl
  
  Index: namespace46.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace46.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namespace46.xsl   2001/02/12 20:19:03     1.1
  +++ namespace46.xsl   2001/03/01 20:08:55     1.2
  @@ -6,22 +6,22 @@
     <!-- DocVersion: 19991116 -->
     <!-- Section: 7.1.3 Creating Attributes -->
     <!-- Creator: Philip Strube -->
  -  <!-- Purpose: Test for resetting of a specified default namespace. -->
  +  <!-- Purpose: Create attribute with NCName and newly-introduced namespace. 
-->
  +  <!-- Processor will have to invent a prefix because none has been 
established for that namespace. -->
   
  +<xsl:output method="xml"/>
   
  -<xsl:output method="xml"/> 
  -
   <xsl:template match="/">
  -   <xsl:apply-templates/>
  +  <xsl:apply-templates/>
   </xsl:template>
   
   <xsl:template match="*">
  -   <xsl:copy>
  -       <xsl:attribute name="objectID" namespace="http://www.fiscus.de";>
  -        <xsl:number level="any" count="*"/>
  -      </xsl:attribute>            
  -      <xsl:apply-templates 
select="@*|node()|comment()|processing-instruction()"/>
  -   </xsl:copy>
  +  <xsl:copy>
  +    <xsl:attribute name="objectID" namespace="http://www.fiscus.de";>
  +      <xsl:number level="any" count="*"/>
  +    </xsl:attribute>
  +    <xsl:apply-templates 
select="@*|node()|comment()|processing-instruction()"/>
  +  </xsl:copy>
   </xsl:template>
   
   </xsl:stylesheet>
  
  
  
  1.2       +6 -6      xml-xalan/test/tests/conf/namespace/namespace45.xsl
  
  Index: namespace45.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace45.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namespace45.xsl   2001/02/12 20:19:03     1.1
  +++ namespace45.xsl   2001/03/01 20:08:56     1.2
  @@ -1,5 +1,5 @@
   <?xml version='1.0' encoding="ISO-8859-1"?>
  -<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' 
version='1.0'                 
  +<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' 
version='1.0'
                   xmlns:fiscus="http://www.fiscus.de";>
   
     <!-- FileName: namespace45 -->
  @@ -7,9 +7,9 @@
     <!-- DocVersion: 19991116 -->
     <!-- Section: 7.1.3 Creating Attributes -->
     <!-- Creator: Philip Strube -->
  -  <!-- Purpose: Test for resetting of a specified default namespace. -->
  +  <!-- Purpose: Create attribute with QName whose prefix is known. -->
   
  -<xsl:output method="xml"/> 
  +<xsl:output method="xml"/>
   
   <xsl:template match="/">
     <xsl:apply-templates/>
  @@ -17,9 +17,9 @@
   
   <xsl:template match="*">
     <xsl:copy>
  -     <xsl:attribute name="fiscus:objectID">
  -       <xsl:number level="any" count="*"/>
  -     </xsl:attribute>            
  +    <xsl:attribute name="fiscus:objectID">
  +      <xsl:number level="any" count="*"/>
  +    </xsl:attribute>
       <xsl:apply-templates 
select="@*|node()|comment()|processing-instruction()"/>
     </xsl:copy>
   </xsl:template>
  
  
  
  1.2       +7 -10     xml-xalan/test/tests/conf/namespace/namespace44.xsl
  
  Index: namespace44.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace44.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namespace44.xsl   2001/02/12 20:19:03     1.1
  +++ namespace44.xsl   2001/03/01 20:08:56     1.2
  @@ -1,5 +1,5 @@
   <?xml version='1.0' encoding="ISO-8859-1"?>
  -<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' 
version='1.0' 
  +<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' 
version='1.0'
                   xmlns:fiscus="http://www.fiscus.de";>
   
     <!-- FileName: namespace44 -->
  @@ -7,22 +7,19 @@
     <!-- DocVersion: 19991116 -->
     <!-- Section: 7.1.3 Creating Attributes -->
     <!-- Creator: Philip Strube -->
  -  <!-- Purpose: Test for resetting of a specified default namespace. -->
  +  <!-- Purpose: Create attribute with QName and namespace which restates 
same URI. -->
   
  +<xsl:output method="xml"/>
   
  -<xsl:output method="xml"/> 
  -
   <xsl:template match="/">
  -   <xsl:apply-templates/>
  +  <xsl:apply-templates/>
   </xsl:template>
   
   <xsl:template match="*">
     <xsl:copy>
  -     <xsl:attribute name="fiscus:objectID" namespace="http://www.fiscus.de";>
  -<!--      <xsl:attribute name="fiscus:objectID"> -->
  -<!--      <xsl:attribute name="objectID" namespace="http://www.fiscus.de";> 
-->
  -     <xsl:number level="any" count="*"/>
  -    </xsl:attribute>            
  +    <xsl:attribute name="fiscus:objectID" namespace="http://www.fiscus.de";>
  +      <xsl:number level="any" count="*"/>
  +    </xsl:attribute>
       <xsl:apply-templates 
select="@*|node()|comment()|processing-instruction()"/>
     </xsl:copy>
   </xsl:template>
  
  
  

Reply via email to