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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15371

           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 

http://www.example.com/example.com/example.org/does/not/exist/doesNotExist/works-mod.xml

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