W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2008

[Bug 6091] New: Using the 'accept=' url append option returns invalid reusable link.

From: <bugzilla@wiggum.w3.org>
Date: Wed, 17 Sep 2008 22:32:28 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-6091-169@http.www.w3.org/Bugs/Public/>


           Summary: Using the 'accept=' url append option returns invalid
                    reusable link.
           Product: Validator
           Version: HEAD
          Platform: PC
               URL: http://wolflinux.homelinux.org/bug/
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Website
        AssignedTo: dave.null@w3.org
        ReportedBy: taylor.gresser@gmail.com
         QAContact: www-validator-cvs@w3.org

In short, the "Linking to this result" for my php/xhtml code should return:
but instead returns:
(missing an '&' before "accept=")

Long version:
I use the following code at the top of each page on my site:

        header("Content-Type: application/xhtml+xml; charset=UTF-8");
        echo('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
} else {
        header("Content-Type: text/html; charset=UTF-8");
        echo ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

This requires me to append "&accept=application%2Fxhtml%2Bxml" to the end of
the normal validation string when I want to test xhtml 1.1 validation, and I
can leave it off to test xhtml 1.0 strict.

When the validation completes, it returns a link in the "Linking to this
result" section to allow easy re-validation. This link leaves out the '&'
character, resulting in it attempting to validate the page
"http://wolflinux.homelinux.org/bug/accept=application%2Fxhtml%2Bxml", which
does not exist.

I'm filing this report on the assumption that this is not the desired behavior.
If it is, my apologies.

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 Wednesday, 17 September 2008 22:33:03 UTC

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