Re: Update -- bug fixes in

Hi Herwig,

Le mercredi 19 décembre 2007 à 09:21 +0100, Herwig Feichtinger a écrit :
> Hi,
> thanks for updating the Mobile OK checker.

(note that the set of bug fixes hadn't been brought to online version
yet - not that it would have changed anything to your specific problem,
though)

>  When I try to validate
> e.g. www.petershausen.de/pda at http://validator.w3.org/mobile/alpha , I
> get this response after a few seconds:
> 
>    The following errors were encountered when trying to parse
>    http://www.petershausen.de/pda:
> 
> And nothing follows. I am not sure if this is a bug or the effect of a
> CGI timeout. If a page validates, it might be nice to get an explicite
> confirmation that it's OK instead of an empty error list.

There are 2 problems that we need to fix:
 * the CGI script doesn't report correctly the errors from the
underlying library
 * the underlying library crashes on your site, with the following
trace:
Exception in thread "main" java.lang.IllegalStateException: unsupported protocol: 'tel'
        at org.apache.commons.httpclient.protocol.Protocol.lazyRegisterProtocol(Protocol.java:149)
        at org.apache.commons.httpclient.protocol.Protocol.getProtocol(Protocol.java:117)
        at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:107)
        at org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:280)
        at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:220)
        at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
        at org.w3c.mwi.mobileok.basic.HTTPResource.<init>(HTTPResource.java:69)
        at org.w3c.mwi.mobileok.basic.HTTPResource.<init>(HTTPResource.java:60)
        at org.w3c.mwi.mobileok.basic.HTTPTextResource.<init>(HTTPTextResource.java:37)
        at org.w3c.mwi.mobileok.basic.Preprocessor.preprocess(Preprocessor.java:108)
        at org.w3c.mwi.mobileok.basic.Tester.getPreprocessorResults(Tester.java:79)
        at org.w3c.mwi.mobileok.basic.Tester.main(Tester.java:134)

I'll look into fixing at least the first one, and possibly the second
one as well. Thanks for your report!

Dom

Received on Wednesday, 19 December 2007 08:32:38 UTC