Hi all, I have a Windows product that uses signed XML files which I'm trying to get running under Mono on OSX, and I'm running into a verification failure at runtime. I'm pretty hazy about how the internals of this stuff works, but debugging through it, the issue seems to be occurring in System.Security.Cryptography.Xml.SignedXml.GetReferenceHash(), due to the call to FixupNamespaceNodes added @
https://github.com/mono/mono/commit/b2f49647aaa8a62b90c21db8211cbe15723dd132#diff-92a9806a06b3715be52b2894cb7546d6R326 Which takes the XML in the form <Object Id="LICENCES"> <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=""> <string>1234</string> ... </ArrayOfString> </Object> And copies the xmlns attributes on the ArrayOfString node onto the Object node. If I skip over the FixupNamespaceNodes call, it all appears to work. Anyone have any thoughts on how to proceed with this? The 'I haven't solved the puzzle on why it is needed though.' comment on the commit doesn't fill me with confidence :-( Thanks, Richard Webb -- View this message in context: http://mono.1490590.n4.nabble.com/Having-a-problem-with-signed-XML-files-tp4666719.html Sent from the Mono - Dev mailing list archive at Nabble.com. _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list