On 4/11/07, Martin Bryan <martin@is-thought.co.uk> wrote:
> Mohamed
>
>
> >* Validation process : how do we define the stages needed for
> validation (for all the languages à-la-EARL, only for DSDL's
> à-la-SVRL) ? do we need to have a simple construct for conditionnal
> validation (on presence/absence of PI/attributes/elements/doctype) ?
> Validation of *set* of documents ? Validation of sequence of documents?
>
> Our validation processes should be able to handle any validation language,
> including DTDs, W3C Schema and any yet to be proposed language, as well as
> our own. We have not allowed for conditional validation so far, and I have
> seen no use case for doing so. (Do you have one?).
Yes, indeed :
1) There is a doctype declaration in the XML file
2) There is an xsi:schemaLocation or xsi:noNamespaceSchemaLocation
defined in the document
3) There is a PI <?oxygen RNGSchema="example.rnc" type="compact"?> in
the document
> Validation of sets of
> documents is a requirement, as is the ability to output a single document in
> response to the validation of a number of inputs, and the creation of a
> number of separate streams from a single source document. Whether there
> should be some mechanism for defining the sequence in which such a set is
> processed is moot. I would prefer to let the application decide which order
> it should process set members as this could well be an optimization issue
> where parallel processing is required to create a single output stream.
I fully agree on this. Anyone seeing a use case of having a sequence
instead of a set ?
Mohamed
-- Innovimax SARL Consulting, Training & XML Development 9, impasse des Orteaux 75020 Paris Tel : +33 8 72 475787 Fax : +33 1 4356 1746 http://www.innovimax.fr RCS Paris 488.018.631 SARL au capital de 10.000 € -- DSDL members discussion list To unsubscribe, please send a message with the command "unsubscribe" to dsdl-discuss-request@dsdl.org (mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)Received on Thu Apr 12 09:10:36 2007
This archive was generated by hypermail 2.1.8 : Thu Apr 12 2007 - 10:38:10 UTC