You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by il...@apache.org on 2002/09/20 17:17:14 UTC

cvs commit: xml-xalan/test/tests/conf/numbering numbering95.xml numbering95.xsl numbering94.xml numbering94.xsl

ilene       2002/09/20 08:17:14

  Added:       test/tests/conf/numbering numbering95.xml numbering95.xsl
                        numbering94.xml numbering94.xsl
  Log:
  New positive testcases for bugzilla #6268.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/numbering/numbering95.xml
  
  Index: numbering95.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <chapter>
      <note>aaa</note>
      <note>bbb</note>
      <note>ccc</note>
    </chapter>
    <chapter>
      <note>aaa</note>
      <note>bbb</note>
      <note>ccc</note>
      <note>ddd</note>
      <note>eee</note>
      <note>fff</note>
      <note>ggg</note>
      <note>hhh</note>
      <note>iii</note>
      <note>jjj</note>
      <note>kkk</note>
      <note>lll</note>
      <note>mmm</note>
      <note>nnn</note>
      <note>ooo</note>
      <note>ppp</note>
      <note>qqq</note>
      <note>rrr</note>
      <note>sss</note>
      <note>ttt</note>
      <note>uuu</note>
      <note>vvv</note>
      <note>www</note>
      <note>xxx</note>
      <note>yyy</note>
      <note>aab</note>
      <note>bbb</note>
      <note>ccb</note>
      <note>ddb</note>
      <note>eeb</note>
      <note>ffb</note>
      <note>ggb</note>
      <note>hhb</note>
      <note>iib</note>
      <note>jjb</note>
      <note>kkb</note>
      <note>llb</note>
      <note>mmb</note>
      <note>nnb</note>
      <note>oob</note>
      <note>ppb</note>
      <note>qqb</note>
      <note>rrb</note>
      <note>ssb</note>
      <note>ttb</note>
      <note>uub</note>
      <note>vvb</note>
      <note>wwb</note>
      <note>xxb</note>
      <note>yyb</note>
      <note>aac</note>
      <note>bbc</note>
      <note>ccc</note>
      <note>ddc</note>
      <note>eec</note>
      <note>ffc</note>
      <note>ggc</note>
      <note>hhc</note>
      <note>iic</note>
      <note>jjc</note>
      <note>kkc</note>
      <note>llc</note>
      <note>mmc</note>
      <note>nnc</note>
      <note>ooc</note>
      <note>ppc</note>
      <note>qqc</note>
      <note>rrc</note>
      <note>ssc</note>
      <note>ttc</note>
      <note>uuc</note>
      <note>vvc</note>
      <note>wwc</note>
      <note>xxc</note>
      <note>yyc</note>
      <note>aad</note>
      <note>bbd</note>
      <note>ccd</note>
      <note>ddd</note>
      <note>eed</note>
      <note>ffd</note>
      <note>ggd</note>
      <note>hhd</note>
      <note>iid</note>
      <note>jjd</note>
      <note>kkd</note>
      <note>lld</note>
      <note>mmd</note>
      <note>nnd</note>
      <note>ood</note>
      <note>ppd</note>
      <note>qqd</note>
      <note>rrd</note>
      <note>ssd</note>
      <note>ttd</note>
      <note>uud</note>
      <note>vvd</note>
      <note>wwd</note>
      <note>xxd</note>
      <note>yyd</note>
      <note>aae</note>
      <note>bbe</note>
      <note>cce</note>
      <note>dde</note>
      <note>eee</note>
      <note>ffe</note>
      <note>gge</note>
      <note>hhe</note>
      <note>iie</note>
      <note>jje</note>
      <note>kke</note>
      <note>lle</note>
      <note>mme</note>
      <note>nne</note>
      <note>ooe</note>
      <note>ppe</note>
      <note>qqe</note>
      <note>rre</note>
      <note>sse</note>
      <note>tte</note>
      <note>uue</note>
      <note>vve</note>
      <note>wwe</note>
      <note>xxe</note>
      <note>yye</note>
      <note>aaf</note>
      <note>bbf</note>
      <note>ccf</note>
      <note>ddf</note>
      <note>eef</note>
      <note>fff</note>
      <note>ggf</note>
      <note>hhf</note>
      <note>iif</note>
      <note>jjf</note>
      <note>kkf</note>
      <note>llf</note>
      <note>mmf</note>
      <note>nnf</note>
      <note>oof</note>
      <note>ppf</note>
      <note>qqf</note>
      <note>rrf</note>
      <note>ssf</note>
      <note>ttf</note>
      <note>uuf</note>
      <note>vvf</note>
      <note>wwf</note>
      <note>xxf</note>
      <note>yyf</note>
      <note>aag</note>
      <note>bbg</note>
      <note>ccg</note>
      <note>ddg</note>
      <note>eeg</note>
      <note>ffg</note>
      <note>ggg</note>
      <note>hhg</note>
      <note>iig</note>
      <note>jjg</note>
      <note>kkg</note>
      <note>llg</note>
      <note>mmg</note>
      <note>nng</note>
      <note>oog</note>
      <note>ppg</note>
      <note>qqg</note>
      <note>rrg</note>
      <note>ssg</note>
      <note>ttg</note>
      <note>uug</note>
      <note>vvg</note>
      <note>wwg</note>
      <note>xxg</note>
      <note>yyg</note>
      <note>aah</note>
      <note>bbh</note>
      <note>cch</note>
      <note>ddh</note>
      <note>eeh</note>
      <note>ffh</note>
      <note>ggh</note>
      <note>hhh</note>
      <note>iih</note>
      <note>jjh</note>
      <note>kkh</note>
      <note>llh</note>
      <note>mmh</note>
      <note>nnh</note>
      <note>ooh</note>
      <note>pph</note>
      <note>qqh</note>
      <note>rrh</note>
      <note>ssh</note>
      <note>tth</note>
      <note>uuh</note>
      <note>vvh</note>
      <note>wwh</note>
      <note>xxh</note>
      <note>yyh</note>
      <note>aai</note>
      <note>bbi</note>
      <note>cci</note>
      <note>ddi</note>
      <note>eei</note>
      <note>ffi</note>
      <note>ggi</note>
      <note>hhi</note>
      <note>iii</note>
      <note>jji</note>
      <note>kki</note>
      <note>lli</note>
      <note>mmi</note>
      <note>nni</note>
      <note>ooi</note>
      <note>ppi</note>
      <note>qqi</note>
      <note>rri</note>
      <note>ssi</note>
      <note>tti</note>
      <note>uui</note>
      <note>vvi</note>
      <note>wwi</note>
      <note>xxi</note>
      <note>yyi</note>
      <note>aaj</note>
      <note>bbj</note>
      <note>ccj</note>
      <note>ddj</note>
      <note>eej</note>
      <note>ffj</note>
      <note>ggj</note>
      <note>hhj</note>
      <note>iij</note>
      <note>jjj</note>
      <note>kkj</note>
      <note>llj</note>
      <note>mmj</note>
      <note>nnj</note>
      <note>ooj</note>
      <note>ppj</note>
      <note>qqj</note>
      <note>rrj</note>
      <note>ssj</note>
      <note>ttj</note>
      <note>uuj</note>
      <note>vvj</note>
      <note>wwj</note>
      <note>xxj</note>
      <note>yyj</note>
      <note>aak</note>
      <note>bbk</note>
      <note>cck</note>
      <note>ddk</note>
      <note>eek</note>
      <note>ffk</note>
      <note>ggk</note>
      <note>hhk</note>
      <note>iik</note>
      <note>jjk</note>
      <note>kkk</note>
      <note>llk</note>
      <note>mmk</note>
      <note>nnk</note>
      <note>ook</note>
      <note>ppk</note>
      <note>qqk</note>
      <note>rrk</note>
      <note>ssk</note>
      <note>ttk</note>
      <note>uuk</note>
      <note>vvk</note>
      <note>wwk</note>
      <note>xxk</note>
      <note>yyk</note>
      <note>aal</note>
      <note>bbl</note>
      <note>ccl</note>
      <note>ddl</note>
      <note>eel</note>
      <note>ffl</note>
      <note>ggl</note>
      <note>hhl</note>
      <note>iil</note>
      <note>jjl</note>
      <note>kkl</note>
      <note>lll</note>
      <note>mml</note>
      <note>nnl</note>
      <note>ool</note>
      <note>ppl</note>
      <note>qql</note>
      <note>rrl</note>
      <note>ssl</note>
      <note>ttl</note>
      <note>uul</note>
      <note>vvl</note>
      <note>wwl</note>
      <note>xxl</note>
      <note>yyl</note>
      <note>aam</note>
      <note>bbm</note>
      <note>ccm</note>
      <note>ddm</note>
      <note>eem</note>
      <note>ffm</note>
      <note>ggm</note>
      <note>hhm</note>
      <note>iim</note>
      <note>jjm</note>
      <note>kkm</note>
      <note>llm</note>
      <note>mmm</note>
      <note>nnm</note>
      <note>oom</note>
      <note>ppm</note>
      <note>qqm</note>
      <note>rrm</note>
      <note>ssm</note>
      <note>ttm</note>
      <note>uum</note>
      <note>vvm</note>
      <note>wwm</note>
      <note>xxm</note>
      <note>yym</note>
    </chapter>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/numbering/numbering95.xsl
  
  Index: numbering95.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- CaseName: numbering95 -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test of grouping attributes. Ensure that grouping-separator can be a space. -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[2]/item[3]/p[1]/text()[6]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[3]/p[1]/text()[1]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/p[2]/text()[5]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/ulist[1]/item[1]/p[1]/text()[1]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/p[6]/text()[1]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/p[6]/text()[2]" -->
    <!-- Scenario: operation="standard-XML" -->
  
  <xsl:output method="xml" indent="no" encoding="UTF-8"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
  
  <xsl:template match="note">
    <xsl:number level="any" from="chapter" format="(1) " grouping-size="2" grouping-separator=" " />
    <xsl:apply-templates/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/numbering/numbering94.xml
  
  Index: numbering94.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <chapter>
      <note>aaa</note>
      <note>bbb</note>
      <note>ccc</note>
    </chapter>
    <chapter>
      <note>aaa</note>
      <note>bbb</note>
      <note>ccc</note>
      <note>ddd</note>
      <note>eee</note>
      <note>fff</note>
      <note>ggg</note>
      <note>hhh</note>
      <note>iii</note>
      <note>jjj</note>
      <note>kkk</note>
      <note>lll</note>
      <note>mmm</note>
      <note>nnn</note>
      <note>ooo</note>
      <note>ppp</note>
      <note>qqq</note>
      <note>rrr</note>
      <note>sss</note>
      <note>ttt</note>
      <note>uuu</note>
      <note>vvv</note>
      <note>www</note>
      <note>xxx</note>
      <note>yyy</note>
      <note>aab</note>
      <note>bbb</note>
      <note>ccb</note>
      <note>ddb</note>
      <note>eeb</note>
      <note>ffb</note>
      <note>ggb</note>
      <note>hhb</note>
      <note>iib</note>
      <note>jjb</note>
      <note>kkb</note>
      <note>llb</note>
      <note>mmb</note>
      <note>nnb</note>
      <note>oob</note>
      <note>ppb</note>
      <note>qqb</note>
      <note>rrb</note>
      <note>ssb</note>
      <note>ttb</note>
      <note>uub</note>
      <note>vvb</note>
      <note>wwb</note>
      <note>xxb</note>
      <note>yyb</note>
      <note>aac</note>
      <note>bbc</note>
      <note>ccc</note>
      <note>ddc</note>
      <note>eec</note>
      <note>ffc</note>
      <note>ggc</note>
      <note>hhc</note>
      <note>iic</note>
      <note>jjc</note>
      <note>kkc</note>
      <note>llc</note>
      <note>mmc</note>
      <note>nnc</note>
      <note>ooc</note>
      <note>ppc</note>
      <note>qqc</note>
      <note>rrc</note>
      <note>ssc</note>
      <note>ttc</note>
      <note>uuc</note>
      <note>vvc</note>
      <note>wwc</note>
      <note>xxc</note>
      <note>yyc</note>
      <note>aad</note>
      <note>bbd</note>
      <note>ccd</note>
      <note>ddd</note>
      <note>eed</note>
      <note>ffd</note>
      <note>ggd</note>
      <note>hhd</note>
      <note>iid</note>
      <note>jjd</note>
      <note>kkd</note>
      <note>lld</note>
      <note>mmd</note>
      <note>nnd</note>
      <note>ood</note>
      <note>ppd</note>
      <note>qqd</note>
      <note>rrd</note>
      <note>ssd</note>
      <note>ttd</note>
      <note>uud</note>
      <note>vvd</note>
      <note>wwd</note>
      <note>xxd</note>
      <note>yyd</note>
      <note>aae</note>
      <note>bbe</note>
      <note>cce</note>
      <note>dde</note>
      <note>eee</note>
      <note>ffe</note>
      <note>gge</note>
      <note>hhe</note>
      <note>iie</note>
      <note>jje</note>
      <note>kke</note>
      <note>lle</note>
      <note>mme</note>
      <note>nne</note>
      <note>ooe</note>
      <note>ppe</note>
      <note>qqe</note>
      <note>rre</note>
      <note>sse</note>
      <note>tte</note>
      <note>uue</note>
      <note>vve</note>
      <note>wwe</note>
      <note>xxe</note>
      <note>yye</note>
      <note>aaf</note>
      <note>bbf</note>
      <note>ccf</note>
      <note>ddf</note>
      <note>eef</note>
      <note>fff</note>
      <note>ggf</note>
      <note>hhf</note>
      <note>iif</note>
      <note>jjf</note>
      <note>kkf</note>
      <note>llf</note>
      <note>mmf</note>
      <note>nnf</note>
      <note>oof</note>
      <note>ppf</note>
      <note>qqf</note>
      <note>rrf</note>
      <note>ssf</note>
      <note>ttf</note>
      <note>uuf</note>
      <note>vvf</note>
      <note>wwf</note>
      <note>xxf</note>
      <note>yyf</note>
      <note>aag</note>
      <note>bbg</note>
      <note>ccg</note>
      <note>ddg</note>
      <note>eeg</note>
      <note>ffg</note>
      <note>ggg</note>
      <note>hhg</note>
      <note>iig</note>
      <note>jjg</note>
      <note>kkg</note>
      <note>llg</note>
      <note>mmg</note>
      <note>nng</note>
      <note>oog</note>
      <note>ppg</note>
      <note>qqg</note>
      <note>rrg</note>
      <note>ssg</note>
      <note>ttg</note>
      <note>uug</note>
      <note>vvg</note>
      <note>wwg</note>
      <note>xxg</note>
      <note>yyg</note>
      <note>aah</note>
      <note>bbh</note>
      <note>cch</note>
      <note>ddh</note>
      <note>eeh</note>
      <note>ffh</note>
      <note>ggh</note>
      <note>hhh</note>
      <note>iih</note>
      <note>jjh</note>
      <note>kkh</note>
      <note>llh</note>
      <note>mmh</note>
      <note>nnh</note>
      <note>ooh</note>
      <note>pph</note>
      <note>qqh</note>
      <note>rrh</note>
      <note>ssh</note>
      <note>tth</note>
      <note>uuh</note>
      <note>vvh</note>
      <note>wwh</note>
      <note>xxh</note>
      <note>yyh</note>
      <note>aai</note>
      <note>bbi</note>
      <note>cci</note>
      <note>ddi</note>
      <note>eei</note>
      <note>ffi</note>
      <note>ggi</note>
      <note>hhi</note>
      <note>iii</note>
      <note>jji</note>
      <note>kki</note>
      <note>lli</note>
      <note>mmi</note>
      <note>nni</note>
      <note>ooi</note>
      <note>ppi</note>
      <note>qqi</note>
      <note>rri</note>
      <note>ssi</note>
      <note>tti</note>
      <note>uui</note>
      <note>vvi</note>
      <note>wwi</note>
      <note>xxi</note>
      <note>yyi</note>
      <note>aaj</note>
      <note>bbj</note>
      <note>ccj</note>
      <note>ddj</note>
      <note>eej</note>
      <note>ffj</note>
      <note>ggj</note>
      <note>hhj</note>
      <note>iij</note>
      <note>jjj</note>
      <note>kkj</note>
      <note>llj</note>
      <note>mmj</note>
      <note>nnj</note>
      <note>ooj</note>
      <note>ppj</note>
      <note>qqj</note>
      <note>rrj</note>
      <note>ssj</note>
      <note>ttj</note>
      <note>uuj</note>
      <note>vvj</note>
      <note>wwj</note>
      <note>xxj</note>
      <note>yyj</note>
      <note>aak</note>
      <note>bbk</note>
      <note>cck</note>
      <note>ddk</note>
      <note>eek</note>
      <note>ffk</note>
      <note>ggk</note>
      <note>hhk</note>
      <note>iik</note>
      <note>jjk</note>
      <note>kkk</note>
      <note>llk</note>
      <note>mmk</note>
      <note>nnk</note>
      <note>ook</note>
      <note>ppk</note>
      <note>qqk</note>
      <note>rrk</note>
      <note>ssk</note>
      <note>ttk</note>
      <note>uuk</note>
      <note>vvk</note>
      <note>wwk</note>
      <note>xxk</note>
      <note>yyk</note>
      <note>aal</note>
      <note>bbl</note>
      <note>ccl</note>
      <note>ddl</note>
      <note>eel</note>
      <note>ffl</note>
      <note>ggl</note>
      <note>hhl</note>
      <note>iil</note>
      <note>jjl</note>
      <note>kkl</note>
      <note>lll</note>
      <note>mml</note>
      <note>nnl</note>
      <note>ool</note>
      <note>ppl</note>
      <note>qql</note>
      <note>rrl</note>
      <note>ssl</note>
      <note>ttl</note>
      <note>uul</note>
      <note>vvl</note>
      <note>wwl</note>
      <note>xxl</note>
      <note>yyl</note>
      <note>aam</note>
      <note>bbm</note>
      <note>ccm</note>
      <note>ddm</note>
      <note>eem</note>
      <note>ffm</note>
      <note>ggm</note>
      <note>hhm</note>
      <note>iim</note>
      <note>jjm</note>
      <note>kkm</note>
      <note>llm</note>
      <note>mmm</note>
      <note>nnm</note>
      <note>oom</note>
      <note>ppm</note>
      <note>qqm</note>
      <note>rrm</note>
      <note>ssm</note>
      <note>ttm</note>
      <note>uum</note>
      <note>vvm</note>
      <note>wwm</note>
      <note>xxm</note>
      <note>yym</note>
    </chapter>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/numbering/numbering94.xsl
  
  Index: numbering94.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- CaseName: numbering94 -->
    <!-- Creator: Ilene Seelemann -->
    <!-- Purpose: Test of grouping attributes. Use a grouping-separator that is not likely to be in the environment's locale settings. -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[2]/item[3]/p[1]/text()[6]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(number)/ulist[1]/item[3]/p[1]/text()[1]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/p[2]/text()[5]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/ulist[1]/item[1]/p[1]/text()[1]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/p[6]/text()[1]" -->
    <!-- SpecCitation: Rec="XSLT" Version="1.0" type="OASISptr1" place="id(convert)/p[6]/text()[2]" -->
    <!-- Scenario: operation="standard-XML" -->
  
  <xsl:output method="xml" indent="no" encoding="UTF-8"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
  
  <xsl:template match="note">
    <xsl:number level="any" from="chapter" format="(1) " grouping-size="2" grouping-separator=":" />
    <xsl:apply-templates/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  

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