[Bug 14398] RE: FOTS Test Suite - Bug fixes to test cases in test-set fn-matches.re

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14398

Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tim@cbcl.co.uk

--- Comment #2 from Tim Mills <tim@cbcl.co.uk> 2011-11-22 13:41:49 UTC ---
I think that the tests re00127, re00129 and re00130 are dodgy.

e.g. re00129

When extracted from the test suite XML file, the XML parser will present:

<test>matches('a&#xD;&#xA;b', '^(?:a\r\nb)$'), matches('ab',
'^(?:a\r\nb)$')</test>

as

matches('a { the two-character sequence #xD #xA }
b', '^(?:a\r\nb)$'), matches('ab', '^(?:a\r\nb)$')

which is then further normalized according to

"The XPath 3.0 processor must behave as if it normalized all line breaks on
input, before parsing. The normalization should be done according to the choice
to support either [XML 1.0] or [XML 1.1] lexical processing."

to give

matches('a { the one-character sequence #xA }
b', '^(?:a\r\nb)$'), matches('ab', '^(?:a\r\nb)$')

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 22 November 2011 13:42:25 UTC