* XmlReader.cs, XmlQualifiedName.cs : ReadElementContentAs() when
used for qname, treats non-prefixed name as in default namespace.
* XmlReaderCommonTests.cs : added test for ReadElementContentAs() for
qname, with default namespace.
svn path=/trunk/mcs/; revision=154272
2009-03-02 Chris Toshok <[email protected]>
* XmlBinaryDictionaryReader.cs, XmlSimpleDictionaryReader.cs: 2.1
has HasValue.
In System.XML/System.Xml:
2009-03-02 Chris Toshok <[email protected]>
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs,
EntityResolvingXmlReader.cs: 2.1 has HasValue.
In System.XML/Mono.Xml:
2009-03-02 Chris Toshok <[email protected]>
* SubtreeXmlReader.cs, XmlFilterReader.cs: 2.1 has HasValue.
In System.Xml.Linq/System.Xml.Linq:
2009-03-02 Chris Toshok <[email protected]>
* XNodeReader.cs: 2.1 has HasValue.
In System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-03-02 Chris Toshok <[email protected]>
* JsonReader.cs: 2.1 has HasValue.
svn path=/trunk/mcs/; revision=128406
* *.cs: The tuner takes care of the visibility of this for us, and it
is in fact needed. (Readd ReadAttributeValue to 2.1)
svn path=/trunk/mcs/; revision=127366
* XmlReader.cs : ReadContentAsString() does not reject non-elements.
ReadElementContentAsString() rejects non-content nodes.
* XmlReaderCommonTests.cs : added test for ReadContentAsString()
and ReadElementContentAsString() against certain node types.
svn path=/trunk/mcs/; revision=122737
* SubtreeXmlReader.cs : Close() should correctly skip empty element.
In Read(), make sure to move from Element state.
* XmlReader.cs : detailed error location in ReadSubtree().
* XmlReaderCommonTests.cs : another Subtree+EmptyElement case.
svn path=/trunk/mcs/; revision=113339
* XmlReader.cs : ReadSubtree() is valid only on an element.
* XmlReaderCommonTests.cs :
added test for ReadSubtree() on non-element.
svn path=/trunk/mcs/; revision=113304
* XmlReader.cs : some Create() overloads with baseUri argument did
not set baseUri correctly. Fixed bug #392385.
* XmlReaderSettingsTests.cs : added test for bug #392385.
svn path=/trunk/mcs/; revision=103763
* XmlReader.cs : force CloseInput to every XmlReader that is created
from url (I mean, every internal XmlReader instance).
* XmlFilterReader.cs : clone settings so that it does not depend on
inconsistent settings after creation. Fixed bug #385638.
* XmlReaderCommonTests.cs : added test for bug #385638.
svn path=/trunk/mcs/; revision=102702
* XmlReader.cs XmlNodeReader2.cs XmlTextReader.cs XmlTextReader2.cs
XmlNodeReaderImpl.cs EntityResolvingXmlReader.cs :
The previous attempt was wrong. Those internal-virtualized ones
could be used in System.Xml.Core classes and outside the assembly
any derived XmlReaders would have thrown throw Exception.
Now I marked them as nonexistent-in-2.1 or privatized.
* XmlWriter.cs : actually only this class is affected (if there
were DOM or XSD they would have been affected as well).
* SubtreeXmlReader.cs XmlFilterReader.cs : further dependent changes.
svn path=/trunk/mcs/; revision=83706
* XmlReader.cs : HasValue, ReadAttributeValue() and ResolveEntity()
do not exist in 2.1 profile. Hiding abstract stuff seems to cause
some issues at run time, so they are ifdef-ed out from 2.1.
* XmlNodeReader2.cs DTDValidatingReader2.cs XmlTextReader.cs
XmlTextReader2.cs XmlNodeReaderImpl.cs DTDValidatingReader.cs
EntityResolvingXmlReader.cs : hence the change above.
* SubtreeXmlReader.cs XmlFilterReader.cs : dependent changes due to
XmlReader.cs changes for 2.1 profile.
svn path=/trunk/mcs/; revision=83702
* XmlReader.cs : looks like I introduced extra Settings check at
r69383. Fixed bug #82062.
* XmlReaderSettingsTests.cs : added test for bug #82062.
svn path=/trunk/mcs/; revision=81785
* SubtreeXmlReader.cs XmlFilterReader.cs :
exclude xsd stuff from NET_2_1 profile.
* DTDAutomata.cs DTDObjectModel.cs DTDReader.cs
DTDValidatingReader2.cs XmlException.cs XmlReader.cs
XmlReaderSettings.cs XmlWriter.cs :
Make System.Xml.Core.dll build easier, using NET_2_1.
DTD support is simply cut at this stage (as it largely depends on
sys.xml.schema stuff).
svn path=/trunk/mcs/; revision=81332
* 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
* XmlReader.cs : new 2.0 MoveToAttribute(int) failed to move to the
final attribute in an element.
* XPathNavigatorReaderTests.cs : added test for MoveToAttribute(int).
svn path=/trunk/mcs/; revision=69026
* 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
* 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
Refactoring compilation to make Compile() portable to
XmlSchemaSet.Compile() and fix multi-schema bugs (not done yet)
* XmlSchema.cs :
Removed "root schema" concept from Compile().
Since nested inclusion does not result in an error, the role of
schemaLocationStack is identical to handledUris, thus removed it.
The handledUris does not have to be a field.
Moved NamedIdentities and IDCollections to XmlSchemaSet.
Renamed a Compile() which is called from XmlSchemaCollection and
XmlSchemaSet as CompileSubset(). Renamed private Compile() as
DoCompile().
public Compile() now internally creates a new XmlSchemaSet and
compiles the set.
* XmlSchemaCollection.cs : now it hooks its schemaSet's validation
event handler and thus XmlSchemaSet does not need to check this
collection's event handler by itself.
XmlSchema.Compile() -> XmlSchema.CompileSubset().
* XmlSchemaSet.cs :
Removed SchemaCollection which became unneccessary.
Added NamedIdentities and IDCollection.
XmlSchema.Compile() -> XmlSchema.CompileSubset().
* XmlSchemaAttributeGroupRef.cs, XmlSchemaXPath.cs
XmlSchemaSimpleTypeList.cs, XmlSchemaComplexContentRestriction.cs,
XmlSchemaGroup.cs, XmlSchemaComplexContentExtension.cs,
XmlSchemaSequence.cs, XmlSchemaSimpleContentRestriction.cs,
XmlSchemaSimpleContentExtension.cs, XmlSchemaAny.cs,
XmlSchemaElement.cs, XmlSchemaNotation.cs, XmlSchemaAll.cs,
XmlSchemaComplexType.cs, XmlSchemaAnnotation.cs,
XmlSchemaAttributeGroup.cs, XmlSchemaSimpleTypeRestriction.cs,
XmlSchemaSimpleContent.cs, XmlSchemaGroupRef.cs,
XmlSchemaChoice.cs, XmlSchemaSimpleType.cs,
XmlSchemaIdentityConstraint.cs, XmlSchemaSimpleTypeUnion.cs,
XmlSchemaAnyAttribute.cs, XmlSchemaComplexContent.cs,
XmlSchemaAttribute.cs, XmlSchemaObject.cs :
removed XmlSchemaObject.IsCompiled(). Check compilation state by
comparing compilation ID directly.
* XmlReader.cs :
For DTD validator, call to SetSchemas() makes no sense.
* XmlValidatingReader.cs : now it internally holds old
XmlSchemaCollection instead of new XmlSchemaSet, to make
XmlSchemaSet.SchemaCollection unneccessary.
Removed SetSchemas() since it is now extraneous because of the
XmlReaderChange above.
svn path=/trunk/mcs/; revision=62988
* XmlReader.cs : In Create(), support validation flags for DTD.
* DTDValidatingReader2.cs : when NET_2_0 and ProcessIdentityConstraints
is false, skip ID validation.
svn path=/trunk/mcs/; revision=62755
* 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
* 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