Jason Diamond
afa895fbfd
Added implementation of and tests for GetElementsByTagName courtesy of Matt Hunter <[email protected] >.
...
svn path=/trunk/mcs/; revision=6788
2002-08-20 03:56:55 +00:00
Jason Diamond
5a5f87e557
2002-08-16 Jason Diamond <[email protected] >
...
* XmlElement.cs: Fixed writing out qualified elements courtesy of
Marcus B�rgel <[email protected] >.
svn path=/trunk/mcs/; revision=6694
2002-08-17 03:20:36 +00:00
Tim Coleman
b5443be6ef
2002-08-13 Tim Coleman <[email protected] >
...
* XmlTextWriter.cs:
Partial implementation of WriteQualifiedName ().
svn path=/trunk/mcs/; revision=6620
2002-08-14 02:42:16 +00:00
Kral Ferch
3c16ab8283
Added XmlDocument event firing code.
...
svn path=/trunk/mcs/; revision=6527
2002-08-08 06:33:43 +00:00
Tim Coleman
46ba39cb3d
2002-08-03 Tim Coleman <[email protected] >
...
* XmlNamespaceManager.cs:
.Net allows the empty namespace to be redefined
at a later point, but the current implementation
did not. This fixes a hashtable conflict.
svn path=/trunk/mcs/; revision=6379
2002-08-03 17:17:05 +00:00
Tim Coleman
6ae048fcc3
2002-07-26 Tim Coleman <[email protected] >
...
* XmlTextWriter.cs:
When given a textwriter, check to see if it has a
null encoding. This was being done for other inputs
than a textwriter.
svn path=/trunk/mcs/; revision=6199
2002-07-26 17:29:39 +00:00
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
Duncan Mak
e47dababcf
2002-07-23 Duncan Mak <[email protected] >
...
* SoapFormatter.cs: This implements IFormatter and IRemoteFormatter.
* XmlSchemaException.cs: Partiall implement the ISerializable
methods. It's not clear now SourceSchemaObject should be deserialized.
* XmlConvert.cs: Implement the ToDateTime method. ToDateTime
(string, string []) is particularly strange.
* XmlException.cs: Remember to call the base serialization
constructor.
* XmlNodeReader.cs: Keep a new variable to store the Depth.
svn path=/trunk/mcs/; revision=6077
2002-07-23 10:55:14 +00:00
Jason Diamond
450a73a6d5
Fixed MoveToParent issues with the navigator and attributes.
...
svn path=/trunk/mcs/; revision=5807
2002-07-15 02:58:29 +00:00
Jason Diamond
d666dfcf57
Ensure that an element's prefix and namespaceURI are String.Empty and not null.
...
svn path=/trunk/mcs/; revision=5734
2002-07-12 16:06:55 +00:00
Piers Haken
c004fb1899
2002-07-12 Piers Haken <[email protected] >
...
* XmlAttributeCollection.cs: implement some ItemOf indexers
* XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
* XmlNode.cs: SelectNodes: return empty XmlNodeList, not null
svn path=/trunk/mcs/; revision=5722
2002-07-12 10:52:08 +00:00
Ajay kumar Dwivedi
f0372f89b0
2002-07-06 Ajay kumar Dwivedi <[email protected] >
...
* XmlTextWriter: Fixed Indentation. IndentationOverridden should
not be set when inside a attribute.
svn path=/trunk/mcs/; revision=5618
2002-07-06 14:08:09 +00:00
Ajay kumar Dwivedi
df14556dc1
2002-07-06 Ajay kumar Dwivedi <[email protected] >
...
* XmlTextWriter: In WriteStartElement, if namespace is null and
prefix is null|empty do not write out xmlns=""
* XmlWriter: WriteStartElement calls the virtual method with null
argument instead of empty string.
svn path=/trunk/mcs/; revision=5617
2002-07-06 13:01:54 +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
Duncan Mak
55906fa7f2
2002-06-26 Duncan Mak <[email protected] >
...
* XmlNodeReader.cs: Implementation of most of the properties, and
some of the related methods.
svn path=/trunk/mcs/; revision=5460
2002-06-26 01:13:05 +00:00
Piers Haken
8d73a2306c
2002-06-23 Piers Haken <[email protected] >
...
System.Xml:
* XmlDocumentNavigator.cs: implement Clone()
* XmlElement.cs: remove bogus unimplemented override of InnerText
* XmlNode.cs: implment SelectNodes/SelectSingleNode
* XmlNodeArrayList.cs: new support class for SelectNodes
System.Xml.Xsl:
* XsltContext.cs: added 'PreserveWhitespace' abstract method
System.Xml.XPath:
* XPathNavigator.cs: implement:
- Compile
- Evaluate
- Clone
- Select
- ToString
- some forwarding methods
* XPathNodeIterator: implement caching Count
* Tokenizer.cs: new XPath tokenizer
* Parser.jay: new XPath grammar
* Parser.cs: new precompiled XPath grammar
* Expression.cs: new XPath expression objects
* Iterator.cs: new XPath result/context objects
* DefaultContext.cs: new XPath function binding context
svn path=/trunk/mcs/; revision=5421
2002-06-23 16:52:58 +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
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
Duncan Mak
0aeb35899e
2002-06-14 Duncan Mak <[email protected] >
...
* XmlConvert.cs: Added CLSCompliant attributes to methods.
svn path=/trunk/mcs/; revision=5275
2002-06-14 02:37:52 +00:00
Duncan Mak
fe337d9e1d
2002-06-12 Duncan Mak <[email protected] >
...
* XmlCharacterData.cs (Value): Throw an ArgumentException in the
set block if the node is read-only.
svn path=/trunk/mcs/; revision=5242
2002-06-12 01:37:47 +00:00
Duncan Mak
f107fa2fca
2002-06-12 Duncan Mak <[email protected] >
...
* XmlCharacterData.cs (Value): Throw an ArgumentException if the
node is read-only.
svn path=/trunk/mcs/; revision=5241
2002-06-12 01:26:40 +00:00
Ajay kumar Dwivedi
93040683dc
2002-06-10 Ajay kumar Dwivedi <[email protected] >
...
* XmlConstruct.cs : New Internal class with Helper methods for
Checking XmlConstructs
* XmlConvert.cs: Implemented most of the methods
svn path=/trunk/mcs/; revision=5198
2002-06-10 02:20:46 +00:00
Duncan Mak
2e22dca527
2002-06-08 Duncan Mak <[email protected] >
...
* XmlDocument.cs (Load):
Added bits to Load (string) for BaseURI support.
* XmlAttribute.cs (BaseURI):
* XmlDocument.cs (BaseURI):
* XmlEntity.cs (BaseURI):
* XmlNode.cs (BaseURI): Implemented.
svn path=/trunk/mcs/; revision=5180
2002-06-08 21:52:08 +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
a71db778e8
When will I ever remember to add my new files before committing?
...
svn path=/trunk/mcs/; revision=4972
2002-05-27 19:18:16 +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
Miguel de Icaza
9e1a32a8ff
Add small stub to allow for the assembly to compile
...
svn path=/trunk/mcs/; revision=4942
2002-05-26 03:01:15 +00:00
Miguel de Icaza
aaa4e5c7c4
2002-05-26 Miguel de Icaza <[email protected] >
...
* XmlDocument.cs: Implement the Save methods.
svn path=/trunk/mcs/; revision=4935
2002-05-26 00:40:13 +00:00
Mike Kestner
67cccc9430
2002-05-08 Mike Kestner <[email protected] >
...
* XmlNamedNodeMap.cs (SetNamedItem): Fixed a copy/paste bug.
svn path=/trunk/mcs/; revision=4425
2002-05-08 19:31:22 +00:00
Duncan Mak
ed2ab56732
2002-04-28 Duncan Mak <[email protected] >;
...
* XmlSignificantWhitespace.cs (Value):
* XmlWhitespace.cs (Value): Added MonoTODO to the 'set'
block. Added new private method, IsValidWhitespaceChar, for
checking.
svn path=/trunk/mcs/; revision=4122
2002-04-28 19:38:48 +00:00
Duncan Mak
e230186787
2002-04-16 Duncan Mak <[email protected] >
...
* XmlParserContext.cs (NameTable): Fixed a typo in the set block.
svn path=/trunk/mcs/; revision=3866
2002-04-16 18:32:20 +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
Duncan Mak
532d9eb391
2002-04-12 Duncan Mak <[email protected] >
...
* XmlAttribute.cs (Prefix): Added preliminary code for set block,
added comment on work that needs to be done here. A new MonoTODO item.
* XmlDocument.cs (ctor): Corrected constructor signature, changed
parameter from 'NameTable' to 'XmlNameTable'.
* XmlDocumentFragment.cs (InnerXml): Added missing set block.
svn path=/trunk/mcs/; revision=3793
2002-04-12 21:15:43 +00:00
Duncan Mak
09c1bfec7e
2002-04-12 Duncan Mak <[email protected] >
...
XmlCaseOrder.cs: Moved to System.Xml.XPath.
svn path=/trunk/mcs/; revision=3784
2002-04-12 16:37:44 +00:00
Duncan Mak
50f650319a
2002-04-10 Duncan Mak <[email protected] >
...
* XmlNodeReader.cs: Initial stubs for the class.
svn path=/trunk/mcs/; revision=3755
2002-04-10 23:29:51 +00:00
Kral Ferch
420c7f042a
InnerXml, OuterXml, WriteContentTo, and WriteTo for most XmlNode derivatives.
...
svn path=/trunk/mcs/; revision=3704
2002-04-09 01:38:59 +00:00
Kral Ferch
c8e7937354
Implementation of XmlDocument.CreateNode()
...
svn path=/trunk/mcs/; revision=3650
2002-04-06 04:19:40 +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
Piers Haken
cc63806f23
minor CLS conformance tweaks (visibility, virtual, abstract, sealed, etc...)
...
svn path=/trunk/mcs/; revision=3568
2002-04-03 06:28:53 +00:00
Kral Ferch
c9c678a115
XmlTextWriter impls for WriteEndDocument and WriteFullEndElement.
...
svn path=/trunk/mcs/; revision=3546
2002-04-02 02:59:42 +00:00
Piers Haken
84187bf9a6
fixed member accessibility to match MS (corcompare).
...
svn path=/trunk/mcs/; revision=3531
2002-04-01 06:07:43 +00:00
Kral Ferch
cbe4a80d16
XmlTextWriter impls for LookupPrefix, WriteBase64, and WriteCharEntity.
...
svn path=/trunk/mcs/; revision=3527
2002-03-31 20:11:56 +00:00
Kral Ferch
4f5ed6b2da
touchups on XmlTextWriter attribute writing.
...
svn path=/trunk/mcs/; revision=3525
2002-03-31 17:35:36 +00:00
Kral Ferch
97a1576096
XmlLang and XmlSpace for XmlTextWriter.
...
svn path=/trunk/mcs/; revision=3508
2002-03-30 03:42:19 +00:00
Kral Ferch
7816a48c12
Working on Attribute methods for XmlTextWriter.
...
svn path=/trunk/mcs/; revision=3507
2002-03-30 01:18:09 +00:00
Duncan Mak
66461e7b7a
2002-03-28 Duncan Mak <[email protected] >
...
* XmlDocument.cs (CreateWhitespace):
(CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
method.
* XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.
* XmlDeclarationTests.cs (TestConstructor):
* XmlDocumentTypeTests.cs (TestAppendChild):
* XmlSignificantWhitespaceTests.cs (TestXmlWhitespaceConstructor):
* XmlWhiteSpaceTests.cs (TestXmlWhitespaceConstructor): Fixed the
test for catching Exceptions.
svn path=/trunk/mcs/; revision=3467
2002-03-28 20:20:01 +00:00