Commit Graph
23 Commits
Author SHA1 Message Date
Paolo Molaro 4056a14ba1 Wed Jul 24 13:16:19 CEST 2002 Paolo Molaro <[email protected]>
* XmlTextReader.cs: rough line/column support.

svn path=/trunk/mcs/; revision=6126
2002-07-24 11:18:06 +00:00
Gonzalo Paniagua Javier 86709d74f2 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* XmlTextReader.cs: implemented .ctor (Stream).

svn path=/trunk/mcs/; revision=5600
2002-07-05 14:00:34 +00:00
Ajay kumar Dwivedi 64b053b6aa 2002-06-18 Ajay kumar Dwivedi <[email protected]>
* XmlTextReader.cs: HasLineInfo returns false instead of throwing an
	Exception.

2002-06-14  Duncan Mak  <[email protected]>

svn path=/trunk/mcs/; revision=5328
2002-06-18 12:22:41 +00:00
Adam Treat 77766f3b35 * MoveToAttribute should stop on the requested attribute and return true,
otherwise return false.

svn path=/trunk/mcs/; revision=5168
2002-06-08 02:00:46 +00:00
Jason Diamond 4d82c52aeb In System.Xml:
* XmlDocumentNavigator.cs: Added file to directory.

* XmlNode.cs (CreateNavigator): Implemented.
(InnerText): Implemented.

* XmlDocument.cs (NamespaceURI, Prefix): Return String.Empty instead of
throwing exception.
(Load(XmlReader)): Allow for namespace qualified attributes.

* XmlElement.cs: Implemented GetAttribute(string, string) and both
GetAttributeNode overloads.
(SetAttributeNode(XmlAttribute)): Implemented.

* XmlNamedNodeMap.cs: Fixed copy/paste bugs in GetNamedItem(string, string)
and RemoveNamedItem(string, string).

* XmlLinkedNode.cs (PreviousSibling): Implemented.

* XmlTextReader.cs: Added code to maintain the order of attributes as
they're parsed. XML doesn't require this but Microsoft's parser does it and
matching them makes testing easier so now we have it, too.

In Test:

* XPathNavigatorTests.cs: Added file to directory.

* AllTests.cs: Added XPathNavigatorTests to suite.

* XmlTextReaderTests.cs: Added test to make sure attributes are ordered
like Microsoft's parser does it.

svn path=/trunk/mcs/; revision=4971
2002-05-27 19:17:13 +00:00
Adam Treat 1503838060 * Implemented ctor (string xmlFragment).
svn path=/trunk/mcs/; revision=3814
2002-04-14 21:20:16 +00:00
Adam Treat eb67401dcb * Implemented ReadInnerXml and ReadOuterXml. We still need to validate for
'well-formed' xml though.  I'll wait for Validating reader before adding that
bit ;-)

svn path=/trunk/mcs/; revision=3811
2002-04-14 20:46:49 +00:00
Adam Treat c07e5769bb MoveToAttribute* Fix 'if' brackets.
svn path=/trunk/mcs/; revision=3620
2002-04-05 03:13:38 +00:00
Adam Treat f582bf684b * Make sure we begin the search with the first attribute.
svn path=/trunk/mcs/; revision=3619
2002-04-05 01:11:09 +00:00
Adam Treat 09c6c9c962 * Implement MoveToAttribute(string name) method.
svn path=/trunk/mcs/; revision=3618
2002-04-05 01:06:36 +00:00
Adam Treat a421e3f8dd * Added 'XmlTextReader (string url)' constructor
svn path=/trunk/mcs/; revision=3617
2002-04-04 21:28:09 +00:00
Jason Diamond 4a4d210198 MoveToElement after reading attributes instead of restoring the element properties early.
svn path=/trunk/mcs/; revision=3196
2002-03-18 23:59:30 +00:00
Kral Ferch f1be9d4e45 fix for Mike Kestner.
svn path=/trunk/mcs/; revision=3194
2002-03-18 21:47:37 +00:00
Jason Diamond f9bb1602bd Added missing members to XmlParserContext and started using it from XmlTextReader.
svn path=/trunk/mcs/; revision=3023
2002-03-09 15:36:08 +00:00
Jason Diamond 7a842df3c6 Implemented MoveToElement and MoveToFirstAttribute.
svn path=/trunk/mcs/; revision=3010
2002-03-09 00:14:13 +00:00
Jason Diamond b85325090c Got attributes and text nodes working while loading a document.
svn path=/trunk/mcs/; revision=2848
2002-03-03 00:35:09 +00:00
Jason Diamond d3942f4a7c More reformatting to Mono standards. Added MonoTODO attributes. XmlTextReader now throws XmlException instead of System.Exception.
svn path=/trunk/mcs/; revision=2791
2002-03-01 03:34:58 +00:00
Jason Diamond 6808258fa8 Namespace declarations are now treated like attributes. Fixed bug in XmlNamespaceManager.HasNamespace. All tests now pass for both Mono and Microsoft.
svn path=/trunk/mcs/; revision=2661
2002-02-26 03:56:17 +00:00
Jason Diamond 71434b89d0 Added support for namespaces on attributes.
svn path=/trunk/mcs/; revision=2610
2002-02-23 19:32:22 +00:00
Jason Diamond bd18d5985e Initial implementation of XmlNamespaceManager. Added support for NamespaceURI property to XmlTextReader for elements.
svn path=/trunk/mcs/; revision=2609
2002-02-23 15:14:14 +00:00
Jason Diamond daa65c9207 Fixed build to test our XML classes and not Microsoft's. Added initial namespace support.
svn path=/trunk/mcs/; revision=2333
2002-02-11 21:08:55 +00:00
Miguel de Icaza f9731130a0 More XML work
svn path=/trunk/mcs/; revision=238
2001-07-19 19:21:59 +00:00
Miguel de Icaza 405dc3ea6c Add System.XML
svn path=/trunk/mcs/; revision=170
2001-07-16 01:07:36 +00:00