* XPathNavigator.cs : name test did not handle String.Empty cases
for name and ns (i.e. no filter). Fixed bug #515136.
* XPathNavigatorTests.cs : added test for bug #515136.
svn path=/trunk/mcs/; revision=138384
* XPathNavigator.cs : made some 2.0-only methods available in 1.x
so that we don't have to hesitate to optimize xpath using them.
svn path=/trunk/mcs/; revision=113491
* XPathNavigator.cs : fixed InnerXml to not give up with root node.
Indent InnerXml. Fixed bug #376191.
* XPathNavigatorTests.cs : added test for bug #376191.
svn path=/trunk/mcs/; revision=99623
* XPathNavigator.cs : in some MoveTo*() methods, it should allow any
destination node when "type" is XPathNodeType.All. Based on the
patch by Sanghyeon Seo, fixed bug #365112.
* XPathNavigatorTests.cs : added test for bug #365112.
svn path=/trunk/mcs/; revision=96753
* XPathNavigator.cs :
- ReadSubtree() should reject everything but Element or Root.
- InnerXml and OuterXml should not use ReadSubtree() when it is
not positioned on an Element or the Root. Thus, implement them
in their own ways. Fixed bug #79875.
* XPathNavigatorTests.cs : added test for bug #79875, and some
"escaped" text tests for InnerXml.
* XPathNavigatorReaderTests.cs : make sure that most of XPath nodes
are rejected to read subtree.
svn path=/trunk/mcs/; revision=67659
* XPathNavigator.cs : InnerXml should allow Text-only content. Fixed
bug #79874, when tied to XPathNavigatorReader fix.
* XPathNavigatorReader.cs : removed node type restriction on
initialization. Fixed bug #79874, when tied to XPathNavigator fix.
* XPathNavigatorTests.cs : added test for bug #79874.
svn path=/trunk/mcs/; revision=67653
* XPathNavigatorCommonTests.cs : added test for bug #78067.
* XPathNavigatorReaderTests.cs : ditto, for ReadSubtree() part.
* XPathNavigatorReader.cs : Read() did not compute Depth correctly.
It caused bug #78067.
* XPathNavigator.cs : get_OuterXml() returns indented output, without
XML declaration.
* XmlWriter.cs : WriteNode(XPathNavigator) : directly write element
and root nodes instead of dispatching to ReadSubtree().
svn path=/trunk/mcs/; revision=59286
* XmlWriter.cs : In WriteNode(XPathNavigator, bool), Avoid
ReadSubtree() for non-element content since they are not allowed
in ReadSubtree() (but allowed here).
* XPathNavigator.cs : use WriteNode(XPathNavigator, bool)
rather than WriteNode(XmlWriter, bool) in WriteSubtree().
* XmlWriterTests.cs : added tests for WriteNode(XPathNavigator, bool)
as well as XPathNavigator.WriteSubtree(XmlWriter).
svn path=/trunk/mcs/; revision=55143
* XPathNavigator.cs : Added MonoTODO to CreateAttributes(). Removed
MonoTODO from ReadSubtree().
* XPathNavigatorReaderTests.cs : Actually AttributesAndNamespaces()
does not work under MS.NET.
svn path=/trunk/mcs/; revision=54366
* XPathNavigator.cs : Reimplemented MoveToFollowing() to avoid
inefficient MoveToDescendant() and to match .NET 2.0 behavior.
* XPathEditableNavigatorTests.cs : added tests for MoveToFollowing().
svn path=/trunk/mcs/; revision=54296
* XPathNavigator.cs : PrependChild() should use AppendChild() when
there is no child.
* XPathEditableNavigatorTests.cs : added tests for PrependChild().
svn path=/trunk/mcs/; revision=54277
* XPathEditableDocument.cs :
- Now it does not append "written" nodes until Close() is invoked.
- Use XmlDocumentFragment to store incomplete tree fragment.
- Implemented DeleteRange() and ReplaceRange().
- Added "Closed" event for ReplaceRange() to "not remove until
Close() is called."
* XPathNavigator.cs : InsertAfter() should raise an error before
MoveToNext() when current node is either attribute or namespace.
* XPathEditableNavigatorTests.cs :
Added more tests for InsertAfter() and InsertBefore().
Added tests for DeleteRange() and ReplaceRange().
svn path=/trunk/mcs/; revision=54276
* XPathNavigator.cs : InsertAfter() should append children after it
once moved to parent. This method shoulr raise an error when it is
placed on Root.
* XPathEditableDocument.cs :
- Removed almost all redundant code in XPathEditableDocument,
which is based on .net 1.2 XPathDocument functionality.
- It was always doing AppendChild even if the operation is
InsertBefore or InsertAfter.
* XPathEditableNavigatorTests.cs : added tests for InsertAfter and
InsertBefore.
svn path=/trunk/mcs/; revision=54272
* XPathNavigator.cs : (CreateFragmentReader) return XmlReader that
considers current namespace contexts.
* XPathEditableNavigatorTests.cs : new file for testing all editor
functionality in XPathNavigator.
* System.Xml_test.dll.sources: Added XPathEditableNavigatorTests.cs.
svn path=/trunk/mcs/; revision=54270
* XmlReader.cs, XmlNode.cs :
[DebuggerDisplay] are not worthy of existing.
* XPathNavigator.cs, XPathNodeIterator.cs :
[DebuggerDisplay] are not worthy of existing.
svn path=/trunk/mcs/; revision=52880
* XPathNavigator.cs, XPathNodeIterator.cs : DebuggerDisplayAttribute
values are fixed. However, they totally do not make sense since
there is no DebuggerDisplayProxy type in our impl.
svn path=/trunk/mcs/; revision=52661
* XsdValidatingReader.cs : XmlReader.ReadTypedValue() does not exist
anymore, so it is not override.
* XmlNamespaceManager.cs : NameTable is virtual in 2.0 RTM.
* XmlReader.cs : IsEmptyElement is reverted to be abstract in 2.0 RTM.
ReadTypedValue() is removed.
* XmlValidatingReader.cs : ReadTypedValue() is not virtual now.
* XmlWriter.cs : Settings is virtual.
* XPathNodeIterator.cs : added [DebuggerDisplay]. pretty useless tho.
* XPathNavigator.cs : [DebuggerDisplay] as well.
SelectSingleNode() and AppendChildElement() are now virtual.
svn path=/trunk/mcs/; revision=52637
* XPathNavigator.cs : now 2.0 MoveToFirst() invokes internal
MoveToFirstImpl() and it is from what XmlDocumentNavigator did.
This fixes XPathEditableDocument.MoveToFirst().
* XmlDocumentNavigator.cs : now MoveToFirst() invokes internal
MoveToFirstImpl().
svn path=/trunk/mcs/; revision=52108
* 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
* Iterator.cs : when PredicateIterator has a numeric predicate, it
will never be true twice. So just break up the iteration on true.
* XPathNavigator.cs : implemented LookupPrefix().
* Expression.cs : ExprParens.Optimize() could just return the content
expression.
svn path=/trunk/mcs/; revision=36944
* Tokenizer.cs : just use raw string instead of char[].
* XPathNavigator.cs : reuse NameTable when creating XmlTextReader.
svn path=/trunk/mcs/; revision=35810
* Expression.cs, XPathNavigator.cs : hold raw expression field for
get_Expression. It is preparation for expression optimization.
svn path=/trunk/mcs/; revision=35767
* XPathDocument.cs : now all the new stuff that used to be in 2.0 are
reverted.
* XPathEditableNavigator.cs : It will be removed. Right now modified
a bit to pass build.
* XPathNavigator.cs : Added members that are merged from
XPathEditableNavigator. Updated members name.
svn path=/trunk/mcs/; revision=35264
* XPathNavigator.cs : TypedValue could be implemented.
* XPathEditableNavigator.cs : removed some MonoTODO since now there
are implementations.
svn path=/trunk/mcs/; revision=34692
* XPathAtomicValue.cs : Value was not returning expected value when
it is created as new XPathAtomicValue (object, XmlSchemaType).
Compute stringValue and reuse.
* XPathNavigator.cs : Temporarily stubbed as to ignore SchemaInfo
(for checking XQuery implementation).
svn path=/trunk/mcs/; revision=32826
* XPathAtomicValue.cs : DateTime should be convertible to string.
Use schemaType's TypeCode for .ctor() that takes object.
* XPathNavigator.cs : copied get_InnerXml from XPathEditableNavigator.
* XPathEditableNavigator.cs : set_InnerXml should be different (new)
property from get_InnerXml. Removed get_InnerXml and get_OuterXml
overrides.
svn path=/trunk/mcs/; revision=32756
* XPathEditableNavigator.cs : Implemented InsertAfter() and
PrependChild(); they are virtual, not abstract.
* XPathNavigator.cs :
Implemented many 2.0 virtual properties and methods that were
abstract in 1.x.
Implemented some Select() methods that uses IXmlNamespaceResolver.
Implemented most of ValueAsXxx() using XQueryConvert.
IsNode is always true. Implemented OuterXml and WriteSubtree() (but
actually they don't work because it depends on ReadSubtree()).
svn path=/trunk/mcs/; revision=31542