Commit Graph
12 Commits
Author SHA1 Message Date
Atsushi Eno 72d14cca36 Fix bug #12469 - add more conversion methods to XmlAtomicValue.
Since XmlAtomicValue is pretty much hidden in the implementation, there is
almost no way to verify how it should work. So the changes are all based on
assumption. Yet I added a test based on bug #12469.

There is still problem on processing *invalid* inputs. They have to be
rejected, but they pass.
2013-08-07 18:54:03 +09:00
Atsushi Eno 627c31320f Fixed xsd derived simpleType cast failures on uint. Fixed bug #676993. 2011-03-07 13:56:37 +09:00
Atsushi Eno d0f2492f2b Handle more type conversion. 2010-11-30 00:08:40 +09:00
Atsushi Eno eede1f63d3 2010-01-27 Atsushi Enomoto <[email protected]>
* XmlAtomicValue.cs: handle Decimal here to process xs:decimal as
	  a valid base type for simple types. patch by Luke Ravitch,
	  Fixed bug #557452.

	* XmlSchemaValidatorTests.cs : added test for bug #557452, by
	  Luke Ravitch.


svn path=/trunk/mcs/; revision=150280
2010-01-27 06:32:59 +00:00
Atsushi Eno 8db721b50f 2009-05-07 Jonas Larsson <[email protected]>
* XmlAtomicValue.cs : support more type conversion. fixed bug #501666.

	* XmlSchemaValidatorTests.cs : added test for bug #501666.


svn path=/trunk/mcs/; revision=133903
2009-05-11 16:59:42 +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
Marek Safar 95a6e77b85 Warnings cleanup
svn path=/trunk/mcs/; revision=111839
2008-08-28 16:53:31 +00:00
Atsushi Eno 64499b7d35 2007-09-27 Atsushi Enomoto <[email protected]>
* XmlAtomicValue.cs :
	  Added ToString(). Public API metadata completion.


svn path=/trunk/mcs/; revision=86508
2007-09-27 15:40:06 +00:00
Atsushi Eno 1d3440fc5d sanitizing MonoTODOs.
svn path=/trunk/mcs/; revision=67899
2006-11-15 11:31:25 +00:00
Atsushi Eno 4231ac16e6 2006-01-10 Atsushi Enomoto <[email protected]>
* XmlAtomicValue.cs : it won't be implemented since there is no way
	  to test it inside sys.xml. Thus remarked MonoTODO.
	* XmlSchemaDatatype.cs : implemented IsDerivedFrom(), which is however
	  mostly useless.

	* XmlSchemaDatatypeTests.cs : added test for 2.0 IsDerivedFrom().


svn path=/trunk/mcs/; revision=55290
2006-01-10 12:54:26 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Atsushi Eno 59f1697a06 2004-05-05 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : XPathAtomicValue.cs -> XmlAtomicValue.cs.

	* XmlAtomicValue.cs : moved from XPathAtomicValue, removed some stuff.

	* SubtreeXmlReader.cs :
	  removed atomizedName related 2.0 member (deprecated).

	* XPathAtomicValue.cs :
	  it is now XmlAtomicValue and in sys.xml.schema.
	* XPathNavigator.cs, Expression.cs :
	  removed atomizedName related 2.0 members (deprecated).

	* XsdValidatingReader.cs :
	  removed atomicName related 2.0 members (deprecated in beta2).

	* XmlNodeReader2.cs, XmlTextReader2.cs, XmlValidatingReader.cs,
	  XmlNamespaceManager.cs, IXmlNamespaceResolver.cs,
	  DTDValidatingReader.cs : Removed most of "atomizedName" related
	  stuff that are obsoleted in 2.0 beta2.
	* XQueryConvert.cs : XPathAtomicValue -> XmlAtomicValue.

	* XmlNamespaceManagerTests.cs : removed atomizedName related tests.


svn path=/trunk/mcs/; revision=44083
2005-05-05 14:14:57 +00:00