W3C home > Mailing lists > Public > public-qa-dev@w3.org > August 2006

Re: relaxed and w3c validation service

From: olivier Thereaux <ot@w3.org>
Date: Thu, 3 Aug 2006 10:55:37 +0900
To: Jirka Kosek <jirka@kosek.cz>
Message-Id: <324F7030-4C65-45DD-BF26-5C4BC533E8E6@w3.org>
Cc: petr@nalevka.com
Hello Jirka,

Thanks for your quick reply. As discussed earlier, I am copying the  
qa-dev list in my reply, in order to include the developer(s) of  
unicorn in the discussion.

On Jul 29, 2006, at 00:37 , Jirka Kosek wrote:
> OK, it should be fairly easy to map our current XML output format  
> to this one. Is there any interface specification for request? (I  
> was not able to find it on UniCORN pages.)
> Or is it expected that our response will be sent back after normal  
> HTTP GET request with several parameters which can be different for  
> each observer? Of course, we are preferring simple GET request over  
> full SOAP-based web-service.

It's the latter. Each observer can define its own request parameters,  
but they need to be documented in a specific format, consisting of a  
wadl (Web Application Description Language) file and an rdf file. The  
format is rather simple, and I am attaching a sample to this mail.  
The documentation for these files is at:

> I think that it will be useful if location of error can be  
> specified not only by line/column but also by XPath expression (if  
> document being validated is SGML or XML instance). Currently  
> Relaxed doesn't support this, but we probably will implement this  
> in a future because line/column paradigm is not very robust for  
> compound documents that have to be separated before validation.

That's a good point, I think this is something we had been discussing  
internally too. (yes, found it, see e.g [1] for a writeup on the  
question) If I am not mistaken however, XPath may be pretty useless  
if the tested document is very broken (not well formed, etc), so even  
if XPAth is a good idea, it can't be used in every situation either,  
can it?

[1] http://esw.w3.org/topic/MarkupValidator/M12N


Received on Tuesday, 8 August 2006 07:12:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:54:51 UTC