[Webkit-unassigned] [Bug 25185] XSLT Text Transform: contains(TAB) matches SPACE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 01:22:15 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25185


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Platform|Macintosh                   |All




------- Comment #2 from ap at webkit.org  2009-04-15 01:22 PDT -------
This is a difference in what steps are taken for XSLT processing.

When the HTML code is parsed, 	 is replaced with 	. DOMParser
replaces that with a tab character. These steps work identically in WebKit and
in Gecko.

However, WebKit's XSLTProcessor serializes both documents to strings to pass
them to libxslt. When libxml2/lixslt parse the string containing a tab
character, they correctly convert it to a space (see section 3.3.3
"Attribute-Value Normalization" of XML 1.0). On the other hand, Gecko operates
on the existing DOM tree.

In contrast with bug 14530 comment 3, I think that Gecko is correct here.

See also: bug 14101.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list