* IXmlDataEvidence.cs : disappeared.
* XmlConvertDateTimeSerializationMode.cs : incorrect filename. removed.
* XmlDateTimeSerializationMode.cs : added
* NewLineHandling.cs : added
* IXmlNamespaceResolver.cs, XmlNamespaceManager.cs :
now 'atomizedNames' is obsolete.
* XmlReaderSettings.cs, XmlWriterSettings.cs :
Should not be sealed. Should not be ICloneable.
svn path=/trunk/mcs/; revision=35377
+2004-10-28 Atsushi Enomoto <atsushi@ximian.com>
+
+ * IXmlDataEvidence.cs : disappeared.
+ * XmlConvertDateTimeSerializationMode.cs : incorrect filename. removed.
+ * XmlDateTimeSerializationMode.cs : added
+ * NewLineHandling.cs : added
+ * IXmlNamespaceResolver.cs, XmlNamespaceManager.cs :
+ now 'atomizedNames' is obsolete.
+ * XmlReaderSettings.cs, XmlWriterSettings.cs :
+ Should not be sealed. Should not be ICloneable.
+
2004-10-28 Atsushi Enomoto <atsushi@ximian.com>
* XmlDocument.cs : XPathEditableDocument looks broken. Just reverted
+++ /dev/null
-//
-// IXmlDataEvidence.cs
-//
-// Author:
-// Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
-//
-
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-#if NET_2_0
-
-using System;
-using System.Security.Policy;
-
-namespace System.Xml
-{
-
- public interface IXmlDataEvidence
- {
- Evidence Evidence { get; }
- }
-}
-#endif
internal interface IXmlNamespaceResolver
#endif
{
+ [Obsolete]
XmlNameTable NameTable { get; }
IDictionary GetNamespacesInScope (XmlNamespaceScope scope);
string LookupNamespace (string prefix);
+ [Obsolete]
string LookupNamespace (string prefix, bool atomizedName);
string LookupPrefix (string ns);
+ [Obsolete]
string LookupPrefix (string ns, bool atomizedName);
}
}
--- /dev/null
+//
+// NewLineHandling.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Xml
+{
+ public enum NewLineHandling
+ {
+ Replace,
+ Entitize,
+ None
+ }
+}
+#endif
+++ /dev/null
-//
-// XmlConvertDateTimeOption.cs
-//
-// Author:
-// Atsushi Enomoto <atsushi@ximian.com>
-//
-// Copyright (C) 2004 Novell Inc.
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-#if NET_2_0
-
-namespace System.Xml {
-
- public enum XmlConvertDateTimeOption {
-
- Local = 0,
-
- RoundTrip= 1,
- }
-
-}
-
-#endif
--- /dev/null
+//
+// XmlDateTimeSerializationMode.cs
+//
+// Author:
+// Atsushi Enomoto <atsushi@ximian.com>
+//
+// Copyright (C) 2004 Novell Inc.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Xml {
+
+ public enum XmlDateTimeSerializationMode {
+
+ Local = 0,
+
+ RoundTrip= 1,
+ }
+
+}
+
+#endif
}
#if NET_2_0
+ [Obsolete]
public virtual void AddNamespace (string prefix, string uri, bool atomizedNames)
#else
internal virtual void AddNamespace (string prefix, string uri, bool atomizedNames)
}
#if NET_2_0
+ [Obsolete]
public virtual bool HasNamespace (string prefix, bool atomizedNames)
#else
internal virtual bool HasNamespace (string prefix, bool atomizedNames)
}
#if NET_2_0
+ [Obsolete]
public virtual string LookupNamespace (string prefix, bool atomizedNames)
#else
string IXmlNamespaceResolver.LookupNamespace (string prefix, bool atomizedNames)
}
#if NET_2_0
+ [Obsolete]
public string LookupPrefix (string uri, bool atomizedName)
#else
string IXmlNamespaceResolver.LookupPrefix (string uri, bool atomizedName)
}
#if NET_2_0
+ [Obsolete]
public virtual void RemoveNamespace (string prefix, string uri, bool atomizedNames)
#else
internal virtual void RemoveNamespace (string prefix, string uri, bool atomizedNames)
\r
namespace System.Xml\r
{\r
- public sealed class XmlReaderSettings : ICloneable\r
+ public class XmlReaderSettings\r
{\r
private bool checkCharacters;\r
private bool closeInput;\r
return new XmlReaderSettings (this);\r
}\r
\r
- object ICloneable.Clone ()\r
- {\r
- return this.Clone ();\r
- }\r
-\r
public void Reset ()\r
{\r
checkCharacters = true;\r
\r
namespace System.Xml\r
{\r
- // FIXME: this class SHOULD have QuoteChar property\r
- // (feedback has done against Microsoft).\r
- public sealed class XmlWriterSettings : ICloneable\r
+ public class XmlWriterSettings\r
{\r
private bool checkCharacters;\r
private bool closeOutput;\r
return new XmlWriterSettings (this);\r
}\r
\r
- object ICloneable.Clone ()\r
- {\r
- return this.Clone ();\r
- }\r
-\r
public void Reset ()\r
{\r
checkCharacters = true;\r