Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: keyref with empty sets >Thread Next - information RE: keyref with empty setsTo: "Henry S. Thompson" <ht@---.--.--.--> Date: 6/3/2004 9:14:00 AM > 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 From suderman@c... Thu Jun 3 18: | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
