W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > December 2008

Standalone attribute in XML declaration [Was: Re: mobileOK Checker v1.0 release - tag v1-0 created]

From: Francois Daoust <fd@w3.org>
Date: Mon, 08 Dec 2008 09:36:21 +0100
Message-ID: <493CDC85.9070006@w3.org>
To: Jens Noritzsch <b+do@jens.noritzsch.de>
CC: public-mobileok-checker@w3.org

Hi Jens,

It indeed fell through the cracks. Thanks for the reminder!

There are two bugs in one here:

1. The presence of a "standalone" attribute, no matter what its value 
is, makes the Checker stop and return a weird OK message, as you 
reported. I just fixed this one. See bug 6283:

2. The same thing occurs whenever the declared encoding in the XML 
declaration is unknown. See bug 6284:
It is not a major bug (i.e. does not occur much in practice), but still 
needs to be fixed.

Both bugs seem unrelated, but in the case of 1., the error occurred 
because the regular expression used to extract the encoding value did 
not work properly when a standalone attribute was defined, and thus 
extracted an unknown encoding value.

Latest JAR and source code in:
... contains the fix for 1.

Many thanks for the report, my apologies for having missed it at first!


Jens Noritzsch wrote:
> Hi,
> the checker fails if there is an XML declaration with
> 'standalone="yes"', cf.
> http://lists.w3.org/Archives/Public/public-mobileok-checker/2008Oct/0006.html
> I did not get any response on this one yet.  Should I file a bug report?
> Importance?
> Cheers, Jens
Received on Monday, 8 December 2008 08:36:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:20 UTC