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

[Bug 15371] New: Tests using www.example.com

From: <bugzilla@jessica.w3.org>
Date: Fri, 30 Dec 2011 23:46:59 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-15371-523@http.www.w3.org/Bugs/Public/>

           Summary: Tests using www.example.com
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: mike@saxonica.com
         QAContact: public-qt-comments@w3.org

A number of tests attempt to dereference URLs in the www.example.com domain,
and expect this to fail. An example of such a test is K2-SeqDocFunc-5, which
fetches the URL 


and expects error FODC0002.

In fact the domain name www.example.com is owned by IANA, and the request for
this URL actually delivers a document, whose true URL is
http://www.iana.org/domains/example/. This document (at the time of writing)
claims to be XHTML, but is invalid (it contains an attribute value that is not
in quotes). So the test does in fact throw error FODC0002, but not for the
expected reasons, and it could stop working as expected if ever IANA fix their
XHTML validation problems.

I suggest we try and find a more reliable way to fetch non-existent documents.

Configure bugmail: https://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 Friday, 30 December 2011 23:47:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:37 UTC