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

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:
  http://www.w3.org/Bugs/Public/show_bug.cgi?id=6283


2. The same thing occurs whenever the declared encoding in the XML 
declaration is unknown. See bug 6284:
  http://www.w3.org/Bugs/Public/show_bug.cgi?id=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:
  http://dev.w3.org/cvsweb/2007/mobileok-ref/
... contains the fix for 1.

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

Francois.


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