# System.Xml.Schema

``` diff
 namespace System.Xml.Schema {
-    [ObsoleteAttribute("XmlSchemaCollection has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation.")]
-    public sealed class XmlSchemaCollection : ICollection, IEnumerable {
+    [ObsoleteAttribute("XmlSchemaCollection has been deprecated. Use System.Xml.Schema.XmlSchemaSet for schema compilation and validation instead.")]
+    public sealed class XmlSchemaCollection : ICollection, IEnumerable {
-        public XmlSchema? Add(string? ns, string uri);
+        public XmlSchema? Add(string? ns, [StringSyntaxAttribute("Uri")] string uri);
     }
 }
```

