From c0a6dbcbdd0af2506e092b626bef32f4b02f296a Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Tue, 30 Nov 2004 14:44:28 +0000 Subject: [PATCH] 2004-11-30 Atsushi Enomoto * DTMXPathDocumentWriter.cs, DTMXPathDocumentBuilder.cs, DTMXPathNode.cs : SchemaType on attribute is not used. svn path=/trunk/mcs/; revision=36846 --- mcs/class/System.XML/Mono.Xml.XPath/ChangeLog | 6 ++++++ .../System.XML/Mono.Xml.XPath/DTMXPathDocumentBuilder.cs | 6 ++---- .../System.XML/Mono.Xml.XPath/DTMXPathDocumentWriter.cs | 6 ++---- mcs/class/System.XML/Mono.Xml.XPath/DTMXPathNode.cs | 1 - 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog b/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog index c3ec6f8c8aa..ee22e538f25 100644 --- a/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog +++ b/mcs/class/System.XML/Mono.Xml.XPath/ChangeLog @@ -1,3 +1,9 @@ +2004-11-30 Atsushi Enomoto + + * DTMXPathDocumentWriter.cs, + DTMXPathDocumentBuilder.cs, + DTMXPathNode.cs : SchemaType on attribute is not used. + 2004-11-26 Atsushi Enomoto * XPathNavigatorReader.cs, diff --git a/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathDocumentBuilder.cs b/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathDocumentBuilder.cs index 953bd58ac04..65bb3c35aae 100644 --- a/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathDocumentBuilder.cs +++ b/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathDocumentBuilder.cs @@ -153,7 +153,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); @@ -359,7 +359,6 @@ namespace Mono.Xml.XPath ns, prefix != null ? prefix : String.Empty, value, - null, lineInfo != null ? lineInfo.LineNumber : 0, lineInfo != null ? lineInfo.LinePosition : 0); if (firstAttributeIndex == 0) @@ -434,7 +433,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; @@ -449,7 +448,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; } diff --git a/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathDocumentWriter.cs b/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathDocumentWriter.cs index 0dd7c7849ad..177b335778d 100755 --- a/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathDocumentWriter.cs +++ b/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathDocumentWriter.cs @@ -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) diff --git a/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathNode.cs b/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathNode.cs index 11d22e29477..9fdcf9e95a6 100644 --- a/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathNode.cs +++ b/mcs/class/System.XML/Mono.Xml.XPath/DTMXPathNode.cs @@ -83,7 +83,6 @@ namespace Mono.Xml.XPath public string NamespaceURI; public string Prefix; public string Value; - public object SchemaType; public int LineNumber; public int LinePosition; } -- 2.25.1