[dsdl-discuss] Re: Semantic framework for namespace processing and MNS2

From: James Clark <jjc@jclark.com>
Date: Wed May 14 2003 - 09:42:51 UTC

I had an idea for a small improvement just after posting (why does that
always happen?). I think it would be better for the Validate action to
return an empty list. The Validate and Pass actions would then become
orthogonal.

The prune attribute would be unnecessary. If you don't want to prune,
then you explicitly say:

<sequence>
   <validate schema="..."/>
   <pass/>
</sequence>

I think this will be easier to understand because

- there will always be an explicit <pass/> when you are passing an
element up to be handled as part of a higher level validation subject

- there will always be an explicit <sequence> when you have two
validations happening in parallel

James

--
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 Wed May 14 11:43:01 2003

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