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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:15 UTC