W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2011

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 01 Feb 2011 23:49:12 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-11950-523@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:45 UTC