+2004-11-30 Atsushi Enomoto <atsushi@ximian.com>
+
+ * DTMXPathDocumentWriter.cs,
+ DTMXPathDocumentBuilder.cs,
+ DTMXPathNode.cs : SchemaType on attribute is not used.
+
2004-11-26 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs,
// (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);
ns,
prefix != null ? prefix : String.Empty,
value,
- null,
lineInfo != null ? lineInfo.LineNumber : 0,
lineInfo != null ? lineInfo.LinePosition : 0);
if (firstAttributeIndex == 0)
}
// 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;
attributes [attributeIndex].NamespaceURI = ns;
attributes [attributeIndex].Prefix = prefix;
attributes [attributeIndex].Value = value;
- attributes [attributeIndex].SchemaType = schemaType;
attributes [attributeIndex].LineNumber = lineNumber;
attributes [attributeIndex].LinePosition = linePosition;
}
// (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);
}
// 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;
attributes [attributeIndex].NamespaceURI = ns;
attributes [attributeIndex].Prefix = prefix;
attributes [attributeIndex].Value = value;
- attributes [attributeIndex].SchemaType = schemaType;
attributes [attributeIndex].LineNumber = lineNumber;
attributes [attributeIndex].LinePosition = linePosition;
}
ns,
prefix != null ? prefix : String.Empty,
value,
- null,
0,
0);
if (firstAttributeIndex == 0)
public string NamespaceURI;
public string Prefix;
public string Value;
- public object SchemaType;
public int LineNumber;
public int LinePosition;
}