W3C home > Mailing lists > Public > public-xmlsec@w3.org > January 2010

Re: RNG schema plans

From: MURATA Makoto (FAMILY Given) <eb2m-mrt@asahi-net.or.jp>
Date: Tue, 26 Jan 2010 00:52:37 +0900
To: "'XMLSec WG Public List'" <public-xmlsec@w3.org>
Cc: Murata <eb2m-mrt@asahi-net.or.jp>
Message-Id: <20100126005236.8F71.B794FC04@asahi-net.or.jp>

Why isn't processContents="lax" specified for <xsd:any> 
within the dcl of CanonicalizationMethodType and that of SignatureMethodType?

Why 

     <sequence>
       <element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
       <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
       <!-- (0,unbounded) elements from (1,1) external namespace -->
      </sequence>

rather than 

     <choice>
       <element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
       <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
       <!-- (0,unbounded) elements from (1,1) external namespace -->
      </choice>

in the definition of SignatureMethodType?  Even when 
Algorithm = "http://www.w3.org/2000/09/xmldsig#hmac-sha1", 
are foreign elements intentionally allowed to follow 
the HMACOutputLength element?  Or, as in the other cases, 
the prose wins here and the <any> is ignored when 
Algorithm = "http://www.w3.org/2000/09/xmldsig#hmac-sha1"?

Even when @Algorithm != "http://www.w3.org/2000/09/xmldsig#hmac-sha1",
can a SignatureMethod element have an HMACOutputLength element 
as a child?

Cheers,
Makoto
Received on Monday, 25 January 2010 15:53:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 25 January 2010 15:53:11 GMT