- From: Xan Gregg <Xan.Gregg@jmp.com>
- Date: Thu, 3 Jun 2004 13:14:12 -0400
- To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
- Cc: <xmlschema-dev@w3.org>
> So, no keyref selections, no key selections, no problem. Hmmm. Then identity constraints could be used to enforce the HTML requirement that <A> elements not be nested. Just define a key constraint for <A> with select=".//A" and field="@SomeInvalidAttributeName". If there's no nested <A>, then there's no error. If there is a nested <A>, there's an error whether it does or doesn't have the invalid attribute. Just an idea. xan
Received on Thursday, 3 June 2004 13:14:29 UTC