* System.Xml.dll.sources : added XmlReaderBinarySupport.cs.
* XmlReaderBinarySupport.cs : added support class for base64/binhex
reading that mostly automates those reader support.
* XmlReader.cs : added CanReadBinaryContent, CanReadValueChunk,
ReadContentAsBase64(), ReadElementContentAsBase64(),
ReadContentAsBinHex(), ReadElementContentAsBinHex() and
ReadValueChunk().
* XmlTextReader.cs : Now ReadBase64() and ReadBinHex() implementations
are moved to XmlReaderBinarySupport. Added CanReadBinaryContent and
CanReadValueChunk overrides. Call Binary.Reset() to enable them.
* XmlTextReader2.cs : added CanReadBinaryContent, CanReadValueChunk.
Added ReadContentAsBase64(), ReadElementContentAsBase64(),
ReadContentAsBinHex(), ReadElementContentAsBinHex() (just because
they are overriden in MS.NET).
* XmlNodeReader.cs : added CanReadBinaryContent and CanReadValueChunk.
Call Binary.Reset() to enable them.
* XPathNavigatorReader.cs : added CanReadBinaryContent and
CanReadValueChunk. Call Binary.Reset() to enable them.
* SubtreeXmlReader.cs, XmlFilterReader.cs :
added CanReadBinaryContent and CanReadValueChunk.
Call Binary.Reset() to enable them.
svn path=/trunk/mcs/; revision=37892
* xsdtest.cs : added --v2 option that uses XmlReader.Create()
instead of XmlValidatingReader.
* XmlFilterReader.cs : don't expect XmlReaderSettings of its source.
* XmlSchemaValidatingReader.cs : xsi:* attributes are now handled via
XmlSchemaValidator.ValidateElement().
Removed some obsolete overrides.
* XmlReader.cs :
Create() should assure NameTable!=null on creating XmlTextReader.
Now use XmlSchemaValidatingReader for all xsd validation.
* XmlTextReader2.cs :
Don't use input reader's Settings. It is null.
* XmlReaderSettings.cs : added XmlResolver.
* XmlSchemaSet.cs : set default resolver. Clear components before
recompilation.
* XmlSchemaValidator.cs :
SourceUri is System.Uri.
GetUnspecifiedDefaultAttributes() is allowed only when it is inside
start tag.
Added AddSchema().
Added duplicate attribute check.
Added ValidateElement() that takes xsi:* parameters.
(http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackId=7fc38ea1-c306-4fb7-8631-0e174b0ff3c6)
HandleXsiNil() now just takes string parameter.
svn path=/trunk/mcs/; revision=37782
* XmlTextReader2.cs : added. It is used to serve public API, plus
entity handling support.
* DTDObjectModel.cs,
DTDValidatingReader.cs,
XmlDocumentType.cs,
XmlParserContext.cs,
XmlTextReader.cs :
Implemented XmlTextReader.EntityHandling and ResolveEntity(). To
implement them, XmlTextReader in 2.0 itself is in XmlTextReader2.cs
and XmlTextReader.cs contains Mono.Xml2.XmlTextReader which is the
same as 1.x XmlTextReader. XmlTextReader2 switches entity reader and
source reader, and never handles tokenization.
The reason for "Mono.Xml2" is to avoid large changes in constructor.f
svn path=/trunk/mcs/; revision=35812