W3C home > Mailing lists > Public > www-validator@w3.org > September 2005

Re: Relaxed - new HTML validation service based on RELAX NG + Schematron

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 03 Sep 2005 02:29:47 +0200
To: Henri Sivonen <hsivonen@iki.fi>
Cc: www-validator@w3.org
Message-ID: <p0qhh1lakmt55gdsrhqhfmcj6p7sa3h4ht@hive.bjoern.hoehrmann.de>

* Henri Sivonen wrote:
>I suppose there is merit to asking "What does this look like?" and then 
>asking immediately if it is valid according to the answer to the 
>previous question if the validator tells the user what schema it is 
>validating against is and the schema is still provided by the user or 
>the validation service and the document cannot covertly inject rules of 
>its own.

Every time you feed a application/xml or similar resource to an XML
processor you do exactly that. It's more a matter of determining the
rules that apply to a specific data object and checking for each
rule whether the data object meets it. In theory a very simple process
though in practise quite complicated, typically due to poor specs.

>> You would likely be able to use the Validator as a general purpose
>> RELAX NG Validator but it's unlikely you will be required to select
>> the schema for each validation. It's not just the authors who want
>> to check a document, it's also customers of web design companies
>> who want to check whether their produce proper code, and not all
>> customers are aware of all the technical details relevant here.
>So valid FooML is good enough if valid SVG 1.2 was ordered?

The main requirement here is that the Validator is very clear about
how to read the result for any request. Another requirement is that
the Validator should do what we want and what the users want. I am
not sure whether "is x y?" is actually a good question to ask the
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Saturday, 3 September 2005 00:29:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:53 UTC