This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15371 - [QT3TS] Tests using www.example.com
Summary: [QT3TS] Tests using www.example.com
Status: RESOLVED DUPLICATE of bug 14557
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Benjamin Nguyen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-30 23:46 UTC by Michael Kay
Modified: 2012-05-18 09:49 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Kay 2011-12-30 23:46:59 UTC
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.
Comment 1 O'Neil Delpratt 2012-05-18 09:49:46 UTC

*** This bug has been marked as a duplicate of bug 14557 ***