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

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 UTC