[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Identity-constraints, attributes and lax/skip wildcards

From: Kasimier Buchcik <kbuchcik@4commerce.de>
Date: Thu, 28 Apr 2005 11:39:03 +0200
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: XML-SCHEMA <xmlschema-dev@w3.org>
Message-Id: <1114681143.1908.59.camel@librax>
Re: Identity-constraints

On Thu, 2005-04-28 at 10:34 +0100, Henry S. Thompson wrote:
> Kasimier Buchcik writes:
> 
> > As I currently read the spec, evaluation of IDCs to attributes is not
> > allowed, if such attributes fall under "skip" wildcards or "lax"
> > wildcards with no existent attribute declaration.
> 
> Disagree slightly -- the latter case (lax but not decl found) is
> precisely when the fallback to anySimpleType makes sense.

Yes, and it would reflect the behaviour of elements; but there's
no fallback defines as for elements:

"If the item cannot be ·strictly assessed·, because neither clause 1.1
nor clause 1.2 above are satisfied, [Definition:]  an element
information item's schema validity may be laxly assessed if its
·context-determined declaration· is not skip by ·validating· with
respect to the ·ur-type definition· as per Element Locally Valid (Type)
(§3.3.4)."

As by now, lax assessment is not allowed by the spec.

Kasimier
Received on Thursday, 28 April 2005 09:39:11 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.