W3C home > Mailing lists > Public > xmlschema-dev@w3.org > February 2009

the meaning of lax

From: Tobias Koenig <tobias.koenig@trolltech.com>
Date: Wed, 21 Jan 2009 17:36:36 +0100
To: xmlschema-dev@w3.org
Message-Id: <200901211736.36923.tobias.koenig@trolltech.com>


in schema spec 1.1 'lax' is defined as

	If the item has a uniquely determined declaration available, it must be ·valid· with respect to that definition,
        that is, ·validate· if you can, don't worry if you can't.

I don't know if it is just me as a non-native speaker, but somehow that sentence confuses me...
Let's say there is an element that matches a wildcard that has processContents 'lax'.

1) if I find a declaration for that element and

	a) can validate it successfully -> everything ok

	b) can not validate it successfully -> ?!?

2) if I cannot find a declaration for that element

	-> everything ok

What happens in case a 1b? Could the sentence in the spec maybe rephrased?

Received on Thursday, 5 February 2009 16:38:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:10 GMT