dmarston    2002/10/03 10:22:27

  Modified:    test/tests/conf/namespace namespace141.xml namespace141.xsl
  Log:
  Revise to target the specific trouble spot; more readable output.
  
  Revision  Changes    Path
  1.2       +1 -1      xml-xalan/test/tests/conf/namespace/namespace141.xml
  
  Index: namespace141.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace141.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namespace141.xml  30 Sep 2002 20:43:27 -0000      1.1
  +++ namespace141.xml  3 Oct 2002 17:22:27 -0000       1.2
  @@ -1,2 +1,2 @@
   <?xml version="1.0"?>
  -<foo>bar</foo>
  +<doc/>
  \ No newline at end of file
  
  
  
  1.3       +15 -15    xml-xalan/test/tests/conf/namespace/namespace141.xsl
  
  Index: namespace141.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/namespace/namespace141.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- namespace141.xsl  1 Oct 2002 14:33:23 -0000       1.2
  +++ namespace141.xsl  3 Oct 2002 17:22:27 -0000       1.3
  @@ -7,33 +7,33 @@
     <!-- Section: 7.1.2 Creating Elements -->
     <!-- Creator: Gordon Chiu -->
     <!-- Purpose: Test for resetting of an unspecified default namespace by copy-of. 
-->
  +  <!-- extended variant of namespace137 to check special cases -->
   
   <xsl:output method="xml" indent="no" encoding="UTF-8"/>
   
   <xsl:template match = "/">
  -  <!-- create an RTF with no namespace nodes -->
  -  <!-- extended variant of namespace137 to check special cases -->
  +  <!-- create an RTF with a mix of namespaced and non-namespaced elements -->
     <xsl:variable name="x">
  -    <xsl:element name="hello"/>
  +    <xsl:element name="hello1"/>
       <xsl:element name="hello2" namespace="http://literalURI";>
  -      <xsl:element name="hello3" namespace=""/>
  +      <xsl:element name="hiya" namespace=""/>
       </xsl:element>
  -    <xsl:element name="hello2" namespace="http://literalURI2"/>
  -    <xsl:element name="hello2">
  -      <xsl:element name="hello3" namespace=""/>
  +    <xsl:text>&#10;</xsl:text>
  +    <xsl:element name="hello3" namespace="http://literalURI2";>
  +      <xsl:element name="yo1" namespace="http://literalURI"/>
  +      <xsl:element name="yo2" namespace=""/>
  +    </xsl:element>
  +    <xsl:text>&#10;</xsl:text>
  +    <xsl:element name="hello4">
  +      <xsl:element name="hey" namespace=""/>
       </xsl:element>
     </xsl:variable>
  -  <xsl:variable name="y">
  -    <xsl:element name="hello"/>
  -  </xsl:variable>
  +  <!-- Now start an output tree, with a namespace node, and copy in the RTF -->
     <out>
  +    <xsl:text>&#10;</xsl:text>
       <xsl:element name="literalName" namespace="http://literalURI";>
  +      <xsl:text>&#10;</xsl:text>
         <xsl:copy-of select="$x"/>
  -    </xsl:element>
  -  </out>
  -  <out>
  -    <xsl:element name="literalName">
  -      <xsl:copy-of select="$y"/>
       </xsl:element>
     </out>
   </xsl:template>
  
  
  

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

Reply via email to