* XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
authorLluis Sanchez <lluis@novell.com>
Thu, 1 Apr 2004 22:48:52 +0000 (22:48 -0000)
committerLluis Sanchez <lluis@novell.com>
Thu, 1 Apr 2004 22:48:52 +0000 (22:48 -0000)
XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.

svn path=/trunk/mcs/; revision=24932

mcs/class/System.Security/System.Security.Cryptography.Xml/ChangeLog
mcs/class/System.Security/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransform.cs
mcs/class/System.Security/System.Security.Cryptography.Xml/XmlDsigXPathTransform.cs
mcs/class/System.Security/System.Security.Cryptography.Xml/XmlDsigXsltTransform.cs

index 24973a9fe42419211bf05e6cc69bf7425caeca83..087bfd992b9c10af66a98a319473750280088f1c 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-02  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
+       XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.
+
 2004-03-30  Sebastien Pouliot  <sebastien@ximian.com>
 
        * Reference.cs: Changed code to use CryptoConfig to create transforms.
index 2a18a8b9de20eca1624a17dc7ec13b5170b52253..c7bf8f58516bf80ae4ce7a8dfb6a0d2d05522445 100644 (file)
@@ -81,7 +81,9 @@ namespace System.Security.Cryptography.Xml {
                        if (inputObj is Stream) {
                                doc = new XmlDocument ();
                                doc.PreserveWhitespace = true;
+#if ! NET_1_0
                                doc.XmlResolver = GetResolver ();
+#endif
                                doc.Load (inputObj as Stream);
                                return GetOutputFromNode (doc, GetNamespaceManager (doc), true);
                        }
index 5abe5e8dc2a9d3850b58c3fc0c56cb1dfa89ef11..a988161468fdc4bd8d9934e96bb8ae6a4896fd2c 100644 (file)
@@ -171,7 +171,9 @@ namespace System.Security.Cryptography.Xml
                        // possible input: Stream, XmlDocument, and XmlNodeList
                        if (obj is Stream) {
                                doc = new XmlDocument ();
+#if ! NET_1_0
                                doc.XmlResolver = GetResolver ();
+#endif
                                doc.Load (obj as Stream);
                        }
                        else if (obj is XmlDocument) {
@@ -179,7 +181,9 @@ namespace System.Security.Cryptography.Xml
                        }
                        else if (obj is XmlNodeList) {
                                doc = new XmlDocument ();
+#if ! NET_1_0
                                doc.XmlResolver = GetResolver ();
+#endif
                                foreach (XmlNode xn in (obj as XmlNodeList))  {
                                        XmlNode importedNode = doc.ImportNode (xn, true);
                                        doc.AppendChild (importedNode);
index f6b97495fa855f632e6724f1465b0b0ec9dfd905..6ffa65cf4410f14661491815442c1247a6146370 100644 (file)
@@ -74,7 +74,9 @@ namespace System.Security.Cryptography.Xml
                {
                        XslTransform xsl = new XslTransform ();
                        XmlDocument doc = new XmlDocument ();
+#if ! NET_1_0
                        doc.XmlResolver = GetResolver ();
+#endif
                        foreach (XmlNode n in xnl)
                                doc.AppendChild (doc.ImportNode (n, true));
                        xsl.Load (doc);