Commit Graph
9 Commits
Author SHA1 Message Date
Marek Safar a6e236b2d6 [system.xml] Support more primitive types in XmlReader::ReadContentAs 2014-02-10 23:10:58 +01:00
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 854f0d1cdb 2007-09-28 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : it is now documented that WriteNode(XPathNavigator)
	  ignores attributes and namespace decls, so do that.
	* XQueryConvert.cs : removed extra stuff that are not in use.

	* XmlWriterTests.cs : added WriteNodeXPathNavigatorAttribute().


svn path=/trunk/mcs/; revision=86546
2007-09-28 05:27:11 +00:00
Atsushi Eno d783b2366c 2007-05-25 Atsushi Enomoto <[email protected]>
* XQueryConvert.cs : removed unused methods. They will prevent
	  System.Xml.Core.dll implementation.


svn path=/trunk/mcs/; revision=77960
2007-05-25 18:06:13 +00:00
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 459db72717 2005-05-09 Atsushi Enomoto <[email protected]>
* XmlReader.cs : added ReadElementContentAsLong().
	* XmlWriter.cs : removed some obsolete WriteValue() overloads.
	* XmlResolver.cs,
	  IXmlNamespaceResolver.cs : removed deprecated 2.0 bits.
	* XQueryConvert.cs : obsolete (yeah, now XQuery should be hidden).


svn path=/trunk/mcs/; revision=44239
2005-05-09 05:26:33 +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
Atsushi Eno 96e205f1b3 2004-12-26 Atsushi Enomoto <[email protected]>
* XmlReader.cs : ReadElementContentAsBinHex() was calling ..AsBase64().
	* XmlValidatingReader.cs : In set_EntityHandling(), set that property
	  of DTDValidatingReader.
	* XmlNodeReader2.cs,
	  XmlNodeReaderImpl.cs : added simplified implementation that splits
	  entity handling and anything else.
	* XQueryConvert.cs : implemented ShouldCheckValueFacets().
	  Use Convert class instead of simple casts (check range).
	* XmlReaderSettings.cs : added SetSchemas() for XPathNavigator.



svn path=/trunk/mcs/; revision=38088
2004-12-26 16:39:07 +00:00
Atsushi Eno 1d3cbfe8b8 2004-11-17 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources, System.Xml.Query/XQueryConvert.cs,
	  System.Xml/XQueryConvert.cs : moved XQueryConvert.cs.


svn path=/trunk/mcs/; revision=36213
2004-11-17 13:01:36 +00:00