#67 xsl:strip-space uses default namespace

v6.5.1
closed
Michael Kay
5
2012-10-08
2002-03-12
Michael Kay
No

Element names listed in the "elements" attribute of
xsl:strip-space and xsl:preserve-space are interpreted
as being in the default namespace (as declared in the
stylesheet) if they have no namespace prefix. This is
incorrect according to the specification.

(Note: this is different from the list of element
names in the cdata-section-elements attribute of
xsl:output, where the default namespace IS used).

Present in 6.5.1, in 7.0, and in all known previous
releases.

Source code fixed in both branches (in
XSLPreserveSpace, change the second argument in the
call of makeNameCode() from true to false).

Reported by Torsten Bronger [bronger@physik.rwth-
aachen.de]

Discussion

  • Michael Kay
    Michael Kay
    2002-03-12

    Logged In: YES
    user_id=251681

    Test case added: whte18

     
  • Michael Kay
    Michael Kay
    2002-04-12

    Logged In: YES
    user_id=251681

    Fixed in 6.5.2

     
  • Michael Kay
    Michael Kay
    2002-04-30

    Logged In: YES
    user_id=251681

    Fixed in 7.1

     
  • Logged In: NO

    status_id Open ?Currently?? Thx//cully