Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2006-05-08 10:18:31 +0400
committerAtsushi Eno <atsushieno@gmail.com>2006-05-08 10:18:31 +0400
commit5bdbb16452a2bd6387e02f99272051124ad0a4fb (patch)
tree34cfa10da5e17ce0d1ed69da06770057039e7cc3 /mcs/class/System.XML/System.Xml.Xsl
parente83a8ae7eea26825964da788b78d96e412d39520 (diff)
2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
* XslTransform.cs : fixed ObsoleteAttributes. It won't be harmful as we have working XslCompiledTransform stubs. svn path=/trunk/mcs/; revision=60395
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Xsl')
-rw-r--r--mcs/class/System.XML/System.Xml.Xsl/ChangeLog5
-rw-r--r--mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs48
2 files changed, 37 insertions, 16 deletions
diff --git a/mcs/class/System.XML/System.Xml.Xsl/ChangeLog b/mcs/class/System.XML/System.Xml.Xsl/ChangeLog
index e0af596e56c..c0ba70a793c 100644
--- a/mcs/class/System.XML/System.Xml.Xsl/ChangeLog
+++ b/mcs/class/System.XML/System.Xml.Xsl/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-08 Atsushi Enomoto <atsushi@ximian.com>
+
+ * XslTransform.cs : fixed ObsoleteAttributes. It won't be harmful
+ as we have working XslCompiledTransform stubs.
+
2006-02-22 Atsushi Enomoto <atsushi@ximian.com>
* XsltContext.cs : don't expect that it is always XsltCompiledContext
diff --git a/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs b/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs
index d0412c01850..97a40b06396 100644
--- a/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs
+++ b/mcs/class/System.XML/System.Xml.Xsl/XslTransform.cs
@@ -46,7 +46,8 @@ namespace System.Xml.Xsl {
XmlResolver xmlResolver = new XmlUrlResolver ();
[MonoTODO ("Security check.")]
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public XmlResolver XmlResolver {
@@ -56,7 +57,8 @@ namespace System.Xml.Xsl {
}
#region Transform
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public XmlReader Transform (IXPathNavigable input, XsltArgumentList args)
@@ -73,7 +75,8 @@ namespace System.Xml.Xsl {
return Transform (input.CreateNavigator (), args, resolver);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public XmlReader Transform (XPathNavigator input, XsltArgumentList args)
@@ -93,7 +96,8 @@ namespace System.Xml.Xsl {
return new XmlTextReader (stream, XmlNodeType.Element, null);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public void Transform (IXPathNavigable input, XsltArgumentList args, TextWriter output)
@@ -109,7 +113,8 @@ namespace System.Xml.Xsl {
Transform (input.CreateNavigator (), args, output, resolver);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public void Transform (IXPathNavigable input, XsltArgumentList args, Stream output)
@@ -125,7 +130,8 @@ namespace System.Xml.Xsl {
Transform (input.CreateNavigator (), args, output, resolver);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public void Transform (IXPathNavigable input, XsltArgumentList args, XmlWriter output)
@@ -141,7 +147,8 @@ namespace System.Xml.Xsl {
Transform (input.CreateNavigator (), args, output, resolver);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public void Transform (XPathNavigator input, XsltArgumentList args, XmlWriter output)
@@ -162,7 +169,8 @@ namespace System.Xml.Xsl {
output.Flush ();
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public void Transform (XPathNavigator input, XsltArgumentList args, Stream output)
@@ -179,7 +187,8 @@ namespace System.Xml.Xsl {
Transform (input, args, new StreamWriter (output, xslOutput.Encoding), resolver);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public void Transform (XPathNavigator input, XsltArgumentList args, TextWriter output)
@@ -201,7 +210,8 @@ namespace System.Xml.Xsl {
output.Flush ();
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete ("You should pass XmlResolver to Transform() method", false)]
#endif
public void Transform (string inputfile, string outputfile)
@@ -243,7 +253,8 @@ namespace System.Xml.Xsl {
}
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete("You should pass evidence.", false)]
#endif
public void Load (XmlReader stylesheet)
@@ -251,7 +262,8 @@ namespace System.Xml.Xsl {
Load (stylesheet, null, null);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete("You should pass evidence.", false)]
#endif
public void Load (XmlReader stylesheet, XmlResolver resolver)
@@ -259,7 +271,8 @@ namespace System.Xml.Xsl {
Load (stylesheet, resolver, null);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete("You should pass evidence.", false)]
#endif
public void Load (XPathNavigator stylesheet)
@@ -267,7 +280,8 @@ namespace System.Xml.Xsl {
Load (stylesheet, null, null);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete("You should pass evidence.", false)]
#endif
public void Load (XPathNavigator stylesheet, XmlResolver resolver)
@@ -275,7 +289,8 @@ namespace System.Xml.Xsl {
Load (stylesheet, resolver, null);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete("You should pass evidence.", false)]
#endif
public void Load (IXPathNavigable stylesheet)
@@ -283,7 +298,8 @@ namespace System.Xml.Xsl {
Load (stylesheet.CreateNavigator(), null);
}
-#if NET_1_1
+#if NET_2_0
+#elif NET_1_1
[Obsolete("You should pass evidence.", false)]
#endif
public void Load (IXPathNavigable stylesheet, XmlResolver resolver)