Commit Graph
19 Commits
Author SHA1 Message Date
atsushieno c7d49e94be Parse list type, and parse QName without prefix, as expected. 2010-08-09 17:43:40 +09:00
Atsushi Eno 2a26a5709a 2010-03-29 Atsushi Enomoto <[email protected]>
* XmlQualifiedName.cs : do not reject names in no namespace.


svn path=/trunk/mcs/; revision=154362
2010-03-29 11:19:23 +00:00
Atsushi Eno 5aed01b5aa 2010-03-26 Atsushi Enomoto <[email protected]>
* XmlReader.cs, XmlQualifiedName.cs : ReadElementContentAs() when
	  used for qname, treats non-prefixed name as in default namespace.

	* XmlReaderCommonTests.cs : added test for ReadElementContentAs() for
	  qname, with default namespace.


svn path=/trunk/mcs/; revision=154272
2010-03-26 13:56:39 +00:00
Atsushi Eno 0e439d038d 2009-04-22 Atsushi Enomoto <[email protected]>
* XmlQualifiedName.cs : added Parse() overload that is used for
	  xsd validation.

	* XmlSchemaValidator.cs, BuiltInDatatype.cs, XmlAtomicValue.cs:
	  use xsd-supported version of XmlQualifiedName.Parse().
	  Fixed bug #496205.


svn path=/trunk/mcs/; revision=132347
2009-04-22 05:43:28 +00:00
Atsushi Eno 2278c5c420 2005-12-12 Atsushi Enomoto <[email protected]>
* XmlException.cs : added another .ctor() overload that takes both
	  IXmlLineInfo and innerException.
	* XmlQualifiedName.cs : added Parse() overload that takes XmlReader
	  (since XmlReader is not IXmlNamespaceResolver anymore).
	* XmlReader.cs : made several fixes on 2.0 ReadContentAs(),
	  ReadElementContentAs() and all of its variants.

	* XmlReaderCommonTests.cs : added several tests for 2.0 methods.


svn path=/trunk/mcs/; revision=54230
2005-12-12 11:26:27 +00:00
Atsushi Eno 3adcf9dff4 2004-11-24 Atsushi Enomoto <[email protected]>
* XmlQualifiedName.cs : in 2.0 it is [Serializable].
	* XmlTextReader.cs : removed unused local variable.
	* XmlTextWriter.cs : Improved some exception messages.
	  moved some private fields into #if NET_2_0.
	* XmlValidatingReader.cs : rename specifiedResolver to
	  resolverSpecified and use it in internal get_Resolver().
	  Added [Obsolete] for ReadTypedValue() whose base is obsoleted.



svn path=/trunk/mcs/; revision=36465
2004-11-24 10:43:19 +00:00
Atsushi Eno 2d70b54516 2004-07-28 Atsushi Enomoto <[email protected]>
* XmlConvert.cs : Added 2.0 VerifyNMTOKEN() and internal WriteBinHex().
	* XmlQualifiedName.cs : Added internal static Parse().
	* XmlReader.cs : use XmlQualifiedName.Parse().
	* XmlTextWriter.cs : use new XmlWriter.WriteNameInternal() etc.
	* XmlWriter.cs : Added 2.0 Settings and WriteFromObject().
	  Implemented 2.0 virtual methods that used to be abstract in 1.x.

svn path=/trunk/mcs/; revision=31540
2004-07-28 09:10:34 +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 22bae8654d 2003-09-08 Atsushi Enomoto <[email protected]>
* XmlNamespaceManager.cs : GetEnumerator() should return all of the
	  available pairs (of prefix and namespace).
	* XmlQualifiedName.cs : Quick fix for NullReferenceException in case
	  of name (or ns) is null. (The description of the immediate previous
	  changes will be inserted below.)
	* XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
	* XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
	  will release resources it had allocated.

svn path=/trunk/mcs/; revision=17996
2003-09-08 16:36:38 +00:00
Ben Maurer 09ca3f3ac0 performance hacking
svn path=/trunk/mcs/; revision=17951
2003-09-06 20:29:44 +00:00
Piers Haken ce87ea0ec5 2003-07-27 Piers Haken <[email protected]>
* XmlQualifiedName.cs : fields should never be null

	* Expression.cs:
	* Tokenizer.cs:
		don't pass null to XmlQualifiedName constructor

	* XsltArgumentList.cs:
		fix type conversions in ValidateParam
		allow creating params with null namespaceUri

svn path=/trunk/mcs/; revision=16753
2003-07-27 21:49:26 +00:00
Lluis Sanchez 3defd1bb27 * XmlQualifiedName.cs : Fixed bug in equality operator.
svn path=/trunk/mcs/; revision=14669
2003-05-18 18:16:18 +00:00
Atsushi Eno beb936e904 2003-02-16 Atsushi Enomoto <[email protected]>
* XmlQualifiedName.cs : fixed GetHashCode() to avoid null reference
	* XmlTextReader.cs : fixed ReadAttributeValue() to handle
		entity reference, and some refactory.

svn path=/trunk/mcs/; revision=11621
2003-02-16 14:31:06 +00:00
Ville Palo 063c428a52 2002-12-05 Ville Palo <[email protected]>
* XmlQualifiedName.cs: Little fix to ToString () -method

svn path=/trunk/mcs/; revision=9400
2002-12-05 20:27:59 +00:00
Ajay kumar Dwivedi 21689da521 2002-06-21 Ajay kumar Dwivedi <[email protected]>
* XmlQualifiedName: Name and Namespaces are never null. If null is passed
		to the constructor, set them to empty strings.
		Fixed the Operators.

svn path=/trunk/mcs/; revision=5392
2002-06-21 12:58:58 +00:00
Duncan Mak ed0e45d9ae 2002-02-24 Duncan Mak <[email protected]>
* XmlQualifiedName.cs: Fixed a warning from Equals ().

svn path=/trunk/mcs/; revision=2619
2002-02-24 21:05:59 +00:00
Duncan Mak 3e0bd7c691 2002-02-24 Duncan Mak <[email protected]>
* XmlTokenizedType.cs: Added to CVS.

	* XmlUrlResolver.cs: Added to CVS with one TODO task.

2002-02-23  Duncan Mak  <[email protected]>

	* XmlQualifiedName.cs: Fixed ToString () and added the
	operators (== and !=).

svn path=/trunk/mcs/; revision=2616
2002-02-24 18:50:34 +00:00
Nick Drochak 5b03b8ce20 2002-02-23 Nick Drochak <[email protected]>
* ChangeLog: Add the change log to this directory

	* XmlQualifiedName.cs: Fixed compile errors so it would build. Still has
	MonoTODO's

svn path=/trunk/mcs/; revision=2604
2002-02-23 10:20:08 +00:00
Duncan Mak bb9dd14220 2002-02-22 Duncan Mak <[email protected]>
* System.Xml/XmlQualifiedName.cs: Implemented, but WTF is the
	      Empty field? LameSpec?

svn path=/trunk/mcs/; revision=2603
2002-02-22 21:56:35 +00:00