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: Thu, 21 Jan 2010 12:06:04 +0900
To: "'XMLSec WG Public List'" <public-xmlsec@w3.org>
Cc: Murata <eb2m-mrt@asahi-net.or.jp>
Message-Id: <20100121120604.8023.B794FC04@asahi-net.or.jp>
> MURATA Makoto (FAMILY Given) wrote on 2010-01-20:
> > Note that elements of the ds namespace are not allowed, when the
> > value of the Algorithm attribute is not one of the four specific ones
> > shown in the first definition.
> Specific to the example you gave, you do know that exclusive c14n has an
> optional child element in a separate schema, the InclusivePrefixes element?

No, I did not.  I should probably create another schema for capturing 
the constraint shown in "4. Use in XML Security" in exclusive c14n.  

> ... there's nothing in the spec that says that an
> extension Transform algorithm couldn't reuse that XPath element if it wanted
> to.

Ouch!  Then, I have to replace anyForeignElement in allowAnyForeign.rnc
by anyElement.  But that change would nullify tight constraints imposed 
by the first definition.  I should probably use the except pattern of 
RELAX NG for specifying non-built-in values of @Algorithm, but schemas 
will become a bit more complicated.

Received on Thursday, 21 January 2010 03:06:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:13 UTC