Commit Graph
13 Commits
Author SHA1 Message Date
Raja R Harinath 5942f52d09 Standardize line-endings in files (if most of the file is CRLF,
convert the whole thing to CRLF).  Set svn:eol-style native for 
files with LF line-endings.  Remove svn:executable.


svn path=/trunk/mcs/; revision=46117
2005-06-17 06:39:43 +00:00
Atsushi Eno 72734a59d4 2005-02-16 Atsushi Enomoto <[email protected]>
* XmlAttribute.cs : just use InnerText for Value. Patch by Andrew
	  Skiba.
	* XmlConvert.cs : Handle null and empty strings for EncodeName(),
	  EncodeLocalName() and EncodeNmToken(). Patch by Andrew Skiba.
	* NameTable.cs : usually tail of namespaces are rather different than
	  head of them. Patch by Andrew Skiba.
	* XmlUrlResolver.cs : missing %20 handling. Patch by Andrew Skiba.


svn path=/trunk/mcs/; revision=40757
2005-02-16 16:25:46 +00:00
Duncan Mak 8fa6e766dd Add MIT license to System.XML.DLL
svn path=/trunk/mcs/; revision=30055
2004-06-21 18:07:31 +00:00
Atsushi Eno fc44269092 2004-06-06 Atsushi Enomoto <[email protected]>
* NameTable.cs : Fixed incorrect hash computation. Thanks to Ben.
	* XmlTextWriter.cs : Fixed remaining LookupNamespace() atom problem
	  shown in xslt standalone tests.

svn path=/trunk/mcs/; revision=28908
2004-06-06 14:47:11 +00:00
Atsushi Eno 8256002451 2004-02-08 Atsushi Enomoto <[email protected]>
* DTDObjectModel.cs : Limit external entity reference from DTD by 256.
	  foreach elimination.  DTDParameterEntityDeclaration should set Root.
	  Compute attribute default value without raising an error.
	  (for non-error reporting reader)
	* DTDReader.cs : Fixes for the above fixes. foreach elimination.
	* DTDValidatingReader.cs, NameTable.cs, XmlAttribute.cs,
	  XmlAttributeCollection.cs, XmlChar.cs, XmlConstruct.cs,
	  XmlDocumentFragment.cs, XmlDocumentNavigator.cs, XmlElement.cs,
	  XmlEntityReference.cs, XmlNamedNodeMap.cs, XmlNode.cs,
	  XmlText.cs : foreach elimination.
	* XmlDocument.cs, XmlSignificantWhitespace.cs, XmlWhitespace.cs :
	  foreach elimination. Removed unnecesary methods.
	* XmlTextReader.cs : code format refactory. Optimized some methods.
	  foreach elimination. Replaced Stack with string array.
	  Replaced StringBuilder with char array. Removed unnecessary methods.

svn path=/trunk/mcs/; revision=22891
2004-02-08 20:27:04 +00:00
Ben Maurer 09ca3f3ac0 performance hacking
svn path=/trunk/mcs/; revision=17951
2003-09-06 20:29:44 +00:00
Ben Maurer 8b0dafca9e 2003-06-20 Ben Maurer <[email protected]>
* NameTable.cs: Now uses a custom hashtable to implement. As a
	result, when Get (char[], int, int) is called, a string is only
	allocated if it is actually a new entry.
	(StrEqArray) Compares a string and a char[]
	(AddEntry) Adds a new entry to the hashtable
	(Entry) Represents a hashtable entry.

svn path=/trunk/mcs/; revision=15551
2003-06-22 18:32:39 +00:00
Atsushi Eno 5ca10162aa 2003-05-27 Atsushi Enomoto <[email protected]>
* NameTable.cs : Add() sets the given name string interned.
	* XmlParserContext.cs : added internal PushScope() and PopScope() to
	  hold stacks of xml:base, xml:lang and xml:space.
	* XmlTextReader.cs : implemented XmlLang and XmlSpace (only as a
	  property for stacked attributes). Renamed Initialize() to Initialize-
	  Context(). Modified to use XmlParserContext.PushScope()/PopScope().

svn path=/trunk/mcs/; revision=14891
2003-05-26 17:59:08 +00:00
Duncan Mak c6fbc77fe6 2002-03-12 Duncan Mak <[email protected]>
* XmlCharacterData.cs: Reformatted the properties for better readability.

	* XmlLinkedNode.cs: Removed the awful boxy comments.

	* XmlNamedNodeMap.cs (Count):
	(Item): Implemented. Tests will be coming.

	* XmlEntityReference.cs:
	* XmlSignificantWhitespace.cs: Implemented these classes except for
	the Clone, WriteContentTo and WriteTo methods. Will have to
	investigate into these later.

svn path=/trunk/mcs/; revision=3081
2002-03-13 00:04:40 +00:00
Duncan Mak 461d8356b6 * XmlCDataSection.cs: Initial implementation.
* NameTable.cs: Fixed the whole thing. Wrote a NUnit test to test
it out. This should (hopefully) be correct.

svn path=/trunk/mcs/; revision=2699
2002-02-26 22:04:02 +00:00
Duncan Mak 295b6f7ba2 Forgot about this....
svn path=/trunk/mcs/; revision=2688
2002-02-26 19:07:48 +00:00
Duncan Mak 34697ba0fb 2002-02-26 Duncan Mak <[email protected]>
* NameTable.cs: Fix the Add (string) method.

svn path=/trunk/mcs/; revision=2687
2002-02-26 18:49:43 +00:00
Duncan Mak 1124c3ca3a 2002-02-25 Duncan Mak <[email protected]>
* NameTable.cs: Implemented.

svn path=/trunk/mcs/; revision=2647
2002-02-25 21:10:55 +00:00