W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

[widgets] dig sig RelaxNG schema

From: Kai Hendry <hendry@aplix.co.jp>
Date: Thu, 25 Jun 2009 12:13:22 +0100
Message-ID: <b24851260906250413j6364d75fxe66e0f744b0a1aa2@mail.gmail.com>
To: public-webapps@w3.org
Using http://bondi.omtp.org/1.0/security/xmldsig-core-schema.rnc and
rnv [1] I've been trying to validate the example:

Firstly does widgets-digsig have it's own grammar.rnc? I have not been
able to find one.

Using xmldsig-core-schema.rnc I ran into a couple of problems. Firstly
I had to alter:

Object.ANY = (element * {Object.ANY}|attribute * {text}|text)*

To accept the new elements introduced by

Also the xmldsig-core-schema.rnc seems sensitive to element order. So
I made a change to the rnc to get the example signature1.xml to

 -    Signature.attlist, SignedInfo, SignatureValue, KeyInfo?, Object*
+    Signature.attlist, SignedInfo, Object*, SignatureValue, KeyInfo?

Or perhaps the order of the example is incorrect?

Be great to see more fully worked examples. An author-signature.xml
example would be good.

Kind regards,

[1] http://www.davidashen.net/rnv.html
Received on Thursday, 25 June 2009 11:14:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:12:54 UTC