[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [relax-ng-comment] Element Content Dependent on Attribute *Value*?(fwd)
Another bounced comment from a non-subscriber. ---------- Forwarded Message ---------- Date: 18 June 2002 16:51 -0400 From: Joseph Reagle <reagle@w3.org> To: James Clark <jjc@jclark.com> Subject: Element Content Dependent on Attribute *Value*? Is it possible to make element content dependent on the attribute value? http://www.w3.org/Encryption/2001/Drafts/xmlenc-core/Overview.html#sec-Encr yptionMethod ... The permitted child elements of the EncryptionMethod are determined by the specific value of the Algorithm attribute URI, and the KeySize child element is always permitted. For example, the RSA-OAEP algorithm (section 5.4.2) uses the ds:DigestMethod and OAEPparams elements. (We rely upon the ANY schema construct because it is not possible to specify element content based on the value of an attribute.) -- Joseph Reagle Jr. http://www.w3.org/People/Reagle/ W3C Policy Analyst mailto:reagle@w3.org IETF/W3C XML-Signature Co-Chair http://www.w3.org/Signature/ W3C XML Encryption Chair http://www.w3.org/Encryption/2001/ ---------- End Forwarded Message ----------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC