* XmlConvert.cs : MinValue and MaxValue are unchanged by the
serialization mode (unlike DateTime.ToString()).
* XmlCustomFormatter.cs : fix GenerateToXmlString() as well.
* XmlConvertTests.cs : added test for MaxValue serialization with
every XmlDateTimeSerializationMode.
svn path=/trunk/mcs/; revision=76275
* XmlSchema.cs XmlSchemaGroup.cs XmlSchemaAny.cs XmlSchemaElement.cs
XmlSchemaNotation.cs XmlSchemaComplexType.cs
XmlSchemaAttributeGroup.cs XmlSchemaSimpleType.cs
XmlSchemaIdentityConstraint.cs XmlSchemaAnyAttribute.cs
XmlSchemaRedefine.cs XmlSchemaAttribute.cs :
avoid incorrect compilation of included schemas, fixed bug #81360.
more fix for wrong targetNamespace propagation within current
processing model. Replaced ParentIsSchema field with a property.
* XsdValidatingReaderTests.cs : added test for bug #81360.
* 81360.xsd, 81360inc1.xsd, 81360inc2.xsd : new test files.
* Makefile : added distfiles.
svn path=/trunk/mcs/; revision=76184
* XmlTextReader.cs : Fixed ReadChars() to consume child elements,
including such cases that it breaks tags in the middle of multiple
ReadChars() calls.
* XmlTextReaderTests.cs : added test for bug #80308.
svn path=/trunk/mcs/; revision=69713
* XmlNode.cs : InnerText was returning comment text when there was
only a Comment node. Fixed bug #80233.
* XmlNodeTests.cs : added test for bug #80233.
svn path=/trunk/mcs/; revision=69392
* XmlReader.cs : Create() with string url was not returning validating
XmlReader.
* XmlReaderSettingsTests.cs : added test to make sure that Create()
returns a validating XmlReader.
svn path=/trunk/mcs/; revision=69383
* DTDValidatingReader2.cs : when an attribute declaration is missing
in the corresponding attlist declaration, it caused NRE.
Fixed bug #80231.
* XmlValidatingReaderTests.cs : added test for bug #80231.
svn path=/trunk/mcs/; revision=69382
* XmlDocument.cs : call overriden CreateAttribute() when loading from
XmlReader.
* XmlDocumentTests.cs : make sure to call overriden CreateAttribute()
when loading from XmlReader.
svn path=/trunk/mcs/; revision=69290
* XmlNode.cs : GetPrefixOfNamespace() was not correctly searching
ancestors' namespaces.
* XPathEditableDocument.cs : those writers should lookup prefix when
WriteStartElement/WriteStartAttribute are passed null prefix.
Removed nodeStack in XmlDocumentInsertionWriter, since nodes are
always added to current node immediately.
* XmlNodeTests.cs : added another test for GetPrefixOfNamespace().
* XPathNavigatorTests.cs : added test for XPath navigator editor's
LookupPrefix().
svn path=/trunk/mcs/; revision=69021
* XmlTextWriter2.cs : fixed some relationship between
ConformanceLevel, OmitXmlDeclaration and WriteStartDocument().
See new tests more details.
* XmlWriter.cs : it could reuse XmlTextWriter.ctor(TextWriter,
XmlWriterSettings). It also resulted in dropping several internal
members in XmlTextWriter.
* XmlWriterSettingsTests.cs : added tests for relationship between
ConformanceLevel, OmitXmlDeclaration and WriteStartDocument().
svn path=/trunk/mcs/; revision=68180
* XsdValidatingReader.cs : when ValidationType is None, it does not
load external schemas. Fixed bug #79924.
* XmlReaderSettingsTests.cs : added test for bug #79224; it does not
load external schemas when validation mode is none.
svn path=/trunk/mcs/; revision=68046
* XmlReaderSettings.cs : in copy constructor, copy (dispatch)
validation event as well. Add OnValidationError() to be invoked
by other internal stuff to raise the validation event.
* XmlSchemaValidatingReader.cs : dispatch validation events from
XmlReaderSettings. Turned out that outside System.Xml.dll
XmlReaderSettings.ValidationEventHandler is useless.
* XmlReaderSettingsTests.cs : added validation event handler test
case.
svn path=/trunk/mcs/; revision=67814
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs:
pass the XmlResolver through to the GetStream impl.
2006-11-13 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : added custom resolver case for primary
XML stream (custom resolver is indeed used and here it should cause
error).
svn path=/trunk/mcs/; revision=67808
* XmlSchemaValidator.cs : it must also be fixed for method signature
change.
* XmlSchemaSimpleTypeRestriction.cs : on .NET 2.0, use
IXmlNamespaceResolver for XmlSchemaValidator.
* XsdValidatingReaderTests.cs : the previous test raises different
exception in 2.0.
svn path=/trunk/mcs/; revision=67032
* XsdValidatingReader.cs : Fixed bug #79650. Enumeration facet was
not validated for attributes. Also, simple type restriction should
require namespace manager to resolve QNames.
* XmlSchemaSimpleTypeRestriction.cs : for facet validation, it should
use namespacemanager. Though the change is not perfect, thus I
disable this change for now.
* XmlValidatingReaderTests.cs : added bug #79650 case.
* 79650.xsd : added test for bug #79650.
* Makefile : added 79650.xsd to dist file.
svn path=/trunk/mcs/; revision=67031
* XmlReader.cs : ReadContentAsString() and its family should allow
attribute node. Fixed bug #79268.
* XmlReaderCommonTests.cs : added test for bug #79268.
svn path=/trunk/mcs/; revision=64843
* XmlTextWriter2.cs : expect atomized names only when it is
appropriate. Fixed bug #79047.
* XmlTextWriterTests.cs : added test for bug #79047
svn path=/trunk/mcs/; revision=64676
* XmlDocument.cs : use XmlValidatingReader to load TextReader/Stream
so that it could fill default and fixed attributes. This ends up
to fix bug #79163 (it fills fixed "xmlns" attribute and thus
the node's namespace URI becomes that of glade-2.0).
* XmlDocumentTests.cs : added test for bug #79163.
svn path=/trunk/mcs/; revision=64413
* XmlTextReader.cs : When a whitespace node comes after a text
declaration in XML external entity (i.e. .ctor() with
XmlNodeType.Element), it contained extra value character ('<').
* XmlTextReaderTests.cs : added test for whitespace node value which
comes after a text declaration in XML external entity (i.e. .ctor()
with XmlNodeType.Element).
svn path=/trunk/mcs/; revision=63726
* XmlTextWriter2.cs : more indentation fixes. Now I believe it is
almost MS compat, but it won't help poor Mike.
* XmlTextWriterTests.cs : more indentation tests.
svn path=/trunk/mcs/; revision=63574
* XmlTextWriter2.cs : fixed some indentation bugs: comments and PIs
should not cause indentation override like text, cdata and
whitespaces do.
Fixed some error messages on node kind.
* XmlTextWriter.cs, XmlTextWriterOpenElement.cs : removed old code.
(I don't want to remove old great code but it confused mike today.)
* XmlTextWriterTests.cs : added test case for comments, PIs and
indentation.
svn path=/trunk/mcs/; revision=63079
* XmlReader.cs : when Create() received string url, it should set
XmlTextReader2.CloseInput always true. Fixed bug #78706.
* XmlReaderCommonTests.cs : added test for bug #78706.
svn path=/trunk/mcs/; revision=62053
* XmlTextWriter2.cs : if an attribute being written has the same
non-empty namespace URI as current default namespace, its prefix
should be written. Fixed bug #78598.
* XmlTextWriterTests.cs : added test for bug #78598.
svn path=/trunk/mcs/; revision=61550
* XmlAttribute.cs : (WriteTo) when the namespace URI is empty,
always use empty string for prefix.
* XmlAttributeTests.cs : added NonEmptyPrefixWithEmptyNS().
svn path=/trunk/mcs/; revision=60438
* XmlTextWriter.cs : fix for bug #78148. set_Formatting() is not
rejected after writing some content. I totally disagree on that
it should be allowed, but here is the fix.
* XmlTextWriterTests.cs : test for bug #78148.
svn path=/trunk/mcs/; revision=59722
* XmlReader.cs : ReadElementContentAsObject() incorrectly rejected
the argument type System.Object.
* XmlReaderCommonTests.cs : added test for ReadElementContentAs()
with argument typeof(object).
svn path=/trunk/mcs/; revision=59479