[dsdl-discuss] Re: Selection criteira

From: Martin Bryan <martin@is-thought.co.uk>
Date: Tue Apr 06 2004 - 09:41:21 UTC

Eric

> Being streamable is what enables applications such as schema guided
> editing as demonstrated by James in Philadelphia and I think we should
> keep that requirement for most of the parts (including part 4).

Whilst editing is a classic case of why you want partial/streamable
validation, it clashes with the need to do "overall validation" prior to
archiving results. We need to keep both applications in mind. For example, I
may need to be able to check that at least four items have been ordered in
the complete order, or whether a charge has been made for transportation
costs iff the total order value does not exceed a particular value. These
sort of checks require completion of the order prior to validation and are
not necessarily streamable.

> > And
> > yes, DSDL not only needs to set the bar high, it needs to provide the
> > springs to help people jump the bar. If users can't clear the hurdles
they
> > already face then we have failed. If this means we need ot support the
full
> > functionality of XML Schemas (if not their diabolical syntax) in some
future
> > part of the standard so be it.
>
> I am really confused here. If you needed to provide a WXS schema for a
> document to support XPath 2.0 features, why would you still need part 4
> to validate that document?

It should not be essential to use WXS Schemas to define documents whose
candidates could usefully be selected using XPath 2.0 features. Our
validation selection criteria should work as well on documents whose
strucutre is controlled by WXS as they do with those created by RELAX-NG or
plain DTDs.

> I think that if we define subsets of XPath 2.0, we should limit
> ourselves to those that do not rely on a PSVI.

Selection criteria should not be model dependent, but should be tailorable
to any infoset definition. I suspect that we will end up defining an
extended infoset for DSDL, but its far too early to think about this at
present.

Martin

--
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 Tue Apr 6 11:41:31 2004

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:28 UTC