[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlAttribute.cs,1.5,1.6 Xm
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlAttribute.cs,1.5,1.6 XmlCDataSection.cs,1.1,1.2 XmlCharacterData.cs,1.2,1.3 XmlComment.cs,1.1,1.2 XmlDeclaration.cs,1.3,1.4 XmlDocumentType.cs,1.4,1.5 XmlElement.cs,1.8,1.9 XmlEntityReference.cs,1.2,1.3 XmlProcessingInstruction.cs,1.3,1.4 XmlSignificantWhitespace.cs,1.1,1.2 XmlText.cs,1.2,1.3 XmlWhitespace.cs,1.1,1.2 |
Date: |
Sat, 01 Feb 2003 05:51:20 -0500 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv24155/System.Xml
Modified Files:
XmlAttribute.cs XmlCDataSection.cs XmlCharacterData.cs
XmlComment.cs XmlDeclaration.cs XmlDocumentType.cs
XmlElement.cs XmlEntityReference.cs
XmlProcessingInstruction.cs XmlSignificantWhitespace.cs
XmlText.cs XmlWhitespace.cs
Log Message:
Add extra "protected internal" constructors to the Xml node
types that are required for .NET SDK compatibility.
Index: XmlAttribute.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlAttribute.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** XmlAttribute.cs 6 Dec 2002 04:58:32 -0000 1.5
--- XmlAttribute.cs 1 Feb 2003 10:51:18 -0000 1.6
***************
*** 35,43 ****
private NameCache.NameInfo name;
! // Constructor.
internal XmlAttribute(XmlNode parent, NameCache.NameInfo name)
: base(parent)
{
this.name = name;
}
--- 35,49 ----
private NameCache.NameInfo name;
! // Constructors.
internal XmlAttribute(XmlNode parent, NameCache.NameInfo name)
: base(parent)
{
this.name = name;
+ }
+ protected internal XmlAttribute(String prefix, String localName,
+ String
namespaceURI, XmlDocument doc)
+ : base(doc)
+ {
+ this.name = doc.nameCache.Add(localName,
prefix, namespaceURI);
}
Index: XmlCDataSection.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlCDataSection.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlCDataSection.cs 4 Dec 2002 04:46:35 -0000 1.1
--- XmlCDataSection.cs 1 Feb 2003 10:51:18 -0000 1.2
***************
*** 39,42 ****
--- 39,47 ----
// Nothing to do here.
}
+ protected internal XmlCDataSection(String data, XmlDocument doc)
+ : base(data, doc)
+ {
+ // Nothing to do here.
+ }
// Get the local name of this node.
Index: XmlCharacterData.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlCharacterData.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** XmlCharacterData.cs 6 Dec 2002 04:58:32 -0000 1.2
--- XmlCharacterData.cs 1 Feb 2003 10:51:18 -0000 1.3
***************
*** 36,42 ****
private Object data;
! // Constructor.
internal XmlCharacterData(XmlNode parent, String data)
: base(parent)
{
this.data = data;
--- 36,47 ----
private Object data;
! // Constructors.
internal XmlCharacterData(XmlNode parent, String data)
: base(parent)
+ {
+ this.data = data;
+ }
+ protected internal XmlCharacterData(String data, XmlDocument doc)
+ : base(doc)
{
this.data = data;
Index: XmlComment.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlComment.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlComment.cs 4 Dec 2002 04:46:35 -0000 1.1
--- XmlComment.cs 1 Feb 2003 10:51:18 -0000 1.2
***************
*** 38,41 ****
--- 38,46 ----
// Nothing to do here.
}
+ protected internal XmlComment(String data, XmlDocument doc)
+ : base(data, doc)
+ {
+ // Nothing to do here.
+ }
// Get the local name of this node.
Index: XmlDeclaration.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlDeclaration.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** XmlDeclaration.cs 6 Dec 2002 04:58:32 -0000 1.3
--- XmlDeclaration.cs 1 Feb 2003 10:51:18 -0000 1.4
***************
*** 54,57 ****
--- 54,63 ----
this.attributes = null;
}
+ protected internal XmlDeclaration(String version, String encoding,
+
String standalone, XmlDocument doc)
+ : this(doc, version, encoding, standalone)
+ {
+ // Nothing to do here.
+ }
// Get or set the document encoding.
Index: XmlDocumentType.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlDocumentType.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** XmlDocumentType.cs 7 Dec 2002 07:34:14 -0000 1.4
--- XmlDocumentType.cs 1 Feb 2003 10:51:18 -0000 1.5
***************
*** 55,58 ****
--- 55,65 ----
attributes = null;
}
+ protected internal XmlDocumentType(String name, String publicId,
+
String systemId, String internalSubset,
+
XmlDocument doc)
+ : this(doc, name, publicId, systemId, internalSubset)
+ {
+ // Nothing to do here.
+ }
// Get the entity list for this document type.
Index: XmlElement.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlElement.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** XmlElement.cs 12 Jan 2003 08:57:07 -0000 1.8
--- XmlElement.cs 1 Feb 2003 10:51:18 -0000 1.9
***************
*** 44,47 ****
--- 44,53 ----
this.isEmpty = true;
}
+ protected internal XmlElement(String prefix, String localName,
+ String
namespaceURI, XmlDocument doc)
+ : base(doc)
+ {
+ this.name = doc.nameCache.Add(localName,
prefix, namespaceURI);
+ }
// Get a collection that contains all of the attributes for this node.
Index: XmlEntityReference.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlEntityReference.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** XmlEntityReference.cs 5 Dec 2002 22:19:53 -0000 1.2
--- XmlEntityReference.cs 1 Feb 2003 10:51:18 -0000 1.3
***************
*** 41,44 ****
--- 41,49 ----
this.name = name;
}
+ protected internal XmlEntityReference(String name, XmlDocument doc)
+ : base(doc)
+ {
+ this.name = name;
+ }
// Get the base URI for this node.
Index: XmlProcessingInstruction.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlProcessingInstruction.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** XmlProcessingInstruction.cs 9 Dec 2002 04:04:04 -0000 1.3
--- XmlProcessingInstruction.cs 1 Feb 2003 10:51:18 -0000 1.4
***************
*** 44,47 ****
--- 44,53 ----
this.data = data;
}
+ protected internal XmlProcessingInstruction(String target, String data,
+
XmlDocument doc)
+ : this(doc, target, data)
+ {
+ // Nothing to do here.
+ }
// Get or set the data associated with a processing instruction.
Index: XmlSignificantWhitespace.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlSignificantWhitespace.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlSignificantWhitespace.cs 4 Dec 2002 04:46:35 -0000 1.1
--- XmlSignificantWhitespace.cs 1 Feb 2003 10:51:18 -0000 1.2
***************
*** 44,47 ****
--- 44,52 ----
}
}
+ protected internal XmlSignificantWhitespace(String data, XmlDocument
doc)
+ : this(doc, data)
+ {
+ // Nothing to do here.
+ }
// Get the local name of this node.
Index: XmlText.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlText.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** XmlText.cs 6 Dec 2002 04:58:32 -0000 1.2
--- XmlText.cs 1 Feb 2003 10:51:18 -0000 1.3
***************
*** 32,38 ****
class XmlText : XmlCharacterData
{
! // Constructor.
internal XmlText(XmlNode parent, String text)
: base(parent, text)
{
// Nothing to do here.
--- 32,43 ----
class XmlText : XmlCharacterData
{
! // Constructors.
internal XmlText(XmlNode parent, String text)
: base(parent, text)
+ {
+ // Nothing to do here.
+ }
+ protected internal XmlText(String data, XmlDocument doc)
+ : base(data, doc)
{
// Nothing to do here.
Index: XmlWhitespace.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlWhitespace.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** XmlWhitespace.cs 4 Dec 2002 04:46:35 -0000 1.1
--- XmlWhitespace.cs 1 Feb 2003 10:51:18 -0000 1.2
***************
*** 43,46 ****
--- 43,51 ----
}
}
+ protected internal XmlWhitespace(String data, XmlDocument doc)
+ : this(doc, data)
+ {
+ // Nothing to do here.
+ }
// Get the local name of this node.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlAttribute.cs,1.5,1.6 XmlCDataSection.cs,1.1,1.2 XmlCharacterData.cs,1.2,1.3 XmlComment.cs,1.1,1.2 XmlDeclaration.cs,1.3,1.4 XmlDocumentType.cs,1.4,1.5 XmlElement.cs,1.8,1.9 XmlEntityReference.cs,1.2,1.3 XmlProcessingInstruction.cs,1.3,1.4 XmlSignificantWhitespace.cs,1.1,1.2 XmlText.cs,1.2,1.3 XmlWhitespace.cs,1.1,1.2,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System/Configuration ConfigXmlDocument.cs,1.1,1.2 ConfigurationException.cs,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.664,1.665
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System/Configuration ConfigXmlDocument.cs,1.1,1.2 ConfigurationException.cs,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.664,1.665
- Index(es):