~gagern/xalan/test-bugfixes

Viewing all changes in revision 1448.

  • Committer: Martin von Gagern
  • Date: 2009-07-28 14:12:13 UTC
  • Revision ID: martin.vgagern@gmx.net-20090728141213-0yktvjzzd24se52f
XALANJ-2458: implement erratum 23 of the XSLT recommendation

Fixes https://issues.apache.org/jira/browse/XALANJ-2458 :
Xalan-J does not implement erratum 23 of the XSLT recommendation

For xsl:number, with level="any", if there are no matching nodes, Xalan-J
generates a text node with "0".  The erratum states that, if there are no
matching nodes, there will be no text node in the result tree.

See the erratum for more details:
http://www.w3.org/1999/11/REC-xslt-19991116-errata/

The test cases have to be updated accordingly.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: