W3C home > Mailing lists > Public > public-xmlsec@w3.org > October 2009

Re: Another tentative version of the RELAX NG schemas for XML Signature Syntax and Processing (Second Edition)

From: MURATA Makoto (FAMILY Given) <eb2m-mrt@asahi-net.or.jp>
Date: Tue, 20 Oct 2009 07:06:02 +0900
To: public-xmlsec@w3.org
Message-Id: <20091020070601.584F.B794FC04@asahi-net.or.jp>
Dear colleagues,

Attached please find my rewrite of the OOXML OPC schema so that
it references to the updated RELAX NG schemas for XML digital signature.

The interaction between digital signature and OPC is discribed by the 
first 10 lines:

include "xmldsig-core-schema.rnc" {
  ds_SignaturePropertyChild = SignatureTime
  ds_Xslt = notAllowed
}
ds_TransformType |= 
  attribute Algorithm { 
      xsd:anyURI "http://schemas.openxmlformats.org/package/2005/06/RelationshipTransform" },
  (RelationshipReference | RelationshipsGroupReference)+

start = ds_Signature

The last line means that the root is a signature element.

The lines beginning with "ds_TransformType |= " is to add a new value of
@Algorithm and parameters.  Note that "|=" adds an alternative.

Children of the include statement overwrites definitions in the included 
schema.  In this case, children of SignatureProperty are SignatureTime
elements, which are defined by OPC, and the use of XSLT is prohibited.

Cheers,
Makoto


Received on Monday, 19 October 2009 22:06:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:44:00 GMT