[Bug 11950] New: across-queries-results-q2b.xq test unreasonable

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

           Summary: across-queries-results-q2b.xq test unreasonable
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Full Text 1.0 Use Cases
        AssignedTo: pcase@crs.loc.gov
        ReportedBy: paul@lucasmail.org
         QAContact: public-qt-comments@w3.org


The aforementioned test (pasted here for convenience):

$input-context/books/book[content/part/introduction contains text "prototypes"]

according to the expected result in the XQFTTS, is supposed to match the text:

    <b>p</b>rototypes

Section 4.1.1 of the spec says:

Implementations may provide for the means to ignore or side-step certain
structural elements when performing tokenization. In the following example, the
implementation has decided to ignore the markup for <bold> and prune out the
entire subtree headed by <deleted>.

The fact that the test at hand exists means that every XQuery implementation
MUST ignore <b> markup (but not its content).  That's simply unreasonable.

Every XQuery implementation strives to pass 100% of the tests in the W3C test
suite.  (It's a nice marketing statement.)  Such a test makes this impossible
without hard-coding special knowledge about <b> markup.

-- 
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, 1 February 2011 23:49:13 UTC