Re: mobileOK validation logic - jar file?

Hi Abel,

I have been using the org.w3c.mwi.mobileok.basic.Tester (URI) method  
and the updated jar file works great. However, for some tests I have  
to use the org.w3c.mwi.mobileok.basic.Tester(File) method to make  
sure that the same DOM object is parsed with MobileOK tester and the  
aDesigner visualizer (aDesigner has a feature to highlight the DOM  
objects that have errors). However, I have some problems with this  
method. I think the problem is again the difference between platforms.

I get a NullPointerException for HTTPResource.parseURI(null,  
"file://" + file.getAbsolutePath()) in fileToURI method of Tester class.

As far as I can tell from the HTTPResource code, the problem is again  
because of the different characters used in Windows and Linux (In  
windows, '\' is used for a file separator and also the way space  
characters are used).

Can you please check this and let me know what you think?

Regards,
Yeliz.
On 27 Nov 2008, at 12:10, Abel Rionda wrote:

>
> Hi Yeliz,
>
> We think we have resolved this bug. At least in windows systems,
> whitespace characters in some DTD system paths were encoded as %20 and
> thus they were not resolved properly.
>
> Please try the new version from repository and report us if everything
> is working now.
>
> Regards,
> Abel.
>
> -----Mensaje original-----
> De: Yeliz Yesilada [mailto:yesilady@cs.man.ac.uk]
> Enviado el: lunes, 24 de noviembre de 2008 13:28
> Para: Abel Rionda
> CC: public-mobileok-checker@w3.org; Kentarou Fukuda; Yeliz Yesilada
> Asunto: Re: mobileOK validation logic - jar file?
>
> Hi Abel,
>
> On 24 Nov 2008, at 11:44, Abel Rionda wrote:
>
>> This seems very odd. In fact, We don't know the reason for this  
>> and we
>> have
>> to examine it carefully. We think that it is an incompatibility
>> problem
>> between Linux and Windows. Could you please confirm us if you are
>> using
>> a Windows system?
>
> Yes, I use Windows. To be more precise I use Mac but run aDesigner
> and eclipse on Windows Virtual Machine as some assistive technologies
> only work on Windows. Therefore, unfortunately, we have to use
> Windows :(. As far as I know  Kentarou has also tried it with Windows
> OS.
>
> Thanks,
> Yeliz.

Received on Friday, 5 December 2008 11:01:14 UTC