2004-11-30 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / Mono.Xml.XPath / DTMXPathDocumentWriter.cs
index 0dd7c7849ad0f2684f4f65c88c55705a639419a8..177b335778de9a31801bbacfef6f471ff4ccdbd9 100755 (executable)
@@ -110,7 +110,7 @@ namespace Mono.Xml.XPath
                        // (Difference between jnz or jbe in 80x86.)
                        AddNode (0, 0, 0, 0, XPathNodeType.All, "", false, "", "", "", "", "", 0, 0, 0);
                        nodeIndex++;
-                       AddAttribute (0, null, null, null, null, null, 0, 0);
+                       AddAttribute (0, null, null, null, null, 0, 0);
                        AddNsNode (0, null, null, 0);
                        nsIndex++;
                        AddNsNode (1, "xml", XmlNamespaces.XML, 0);
@@ -236,7 +236,7 @@ namespace Mono.Xml.XPath
                }
 
                // Followings are skipped: nextAttribute,
-               public void AddAttribute (int ownerElement, string localName, string ns, string prefix, string value, object schemaType, int lineNumber, int linePosition)
+               public void AddAttribute (int ownerElement, string localName, string ns, string prefix, string value, int lineNumber, int linePosition)
                {
                        if (attributes.Length < attributeIndex + 1) {
                                attributeCapacity *= 4;
@@ -251,7 +251,6 @@ namespace Mono.Xml.XPath
                        attributes [attributeIndex].NamespaceURI = ns;
                        attributes [attributeIndex].Prefix = prefix;
                        attributes [attributeIndex].Value = value;
-                       attributes [attributeIndex].SchemaType = schemaType;
                        attributes [attributeIndex].LineNumber = lineNumber;
                        attributes [attributeIndex].LinePosition = linePosition;
                }
@@ -577,7 +576,6 @@ namespace Mono.Xml.XPath
                                ns, 
                                prefix != null ? prefix : String.Empty, 
                                value,
-                               null,
                                0,
                                0);
                        if (firstAttributeIndex == 0)