Using http://bondi.omtp.org/1.0/security/xmldsig-core-schema.rnc and rnv [1] I've been trying to validate the example: http://www.w3.org/TR/widgets-digsig/#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 http://www.w3.org/TR/xmldsig-properties/ 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 validate: - 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.htmlReceived on Thursday, 25 June 2009 11:14:06 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:43:12 GMT