* XmlReaderSettings.cs: Set prohibitDtd when changing the value
of DtdProcessing. Will fix a few Moonlight DRT tests
svn path=/trunk/mcs/; revision=134827
* XmlReaderSettings.cs: Add MaxCharactersInDocument property for
NET_2_1 profile
* XmlUrlResolver.cs: Cleanup #ifdef NET_2_1 inside this file
since this is not used anymore in Moonlight
svn path=/trunk/mcs/; revision=132855
* 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
* 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
* XmlReaderSettings.cs :
set_Schemas() is fixed in 2.0 RTM (it just works).
* XmlResolver.cs : throw ArgumentNullException instead of
ArgumentException when both base and relative urls are null.
* XmlReaderSettingsTests.cs : SetSchemas() should not cause an error.
Added SetSchemasNull() as well.
* XmlUrlResolverTests.cs : (ResolveUriWithNullArgs)
expect ArgumentNullException instead of ArgumentException.
This is a fix in .NET 2.0.
svn path=/trunk/mcs/; revision=54093
* XmlReaderSettings.cs : ProhibitDtd is set as default.
* XmlWriterSettings.cs : no set_OutputMethod.
* XmlReaderCommonTests.cs : use ProhibitDtd=false in CreateSimple()
and added CreateSimpleProhibitDtd().
svn path=/trunk/mcs/; revision=54090
* XmlNode.cs (XmlNode.SchemaInfo): Mark this as not CLS-compliant
to avoid a CS3025.
* XmlReaderSettings.cs (XmlReaderSettings.XmlResolver): Mark this
as not CLS-compliant to avoid a CS3025.
svn path=/trunk/mcs/; revision=39449
* XmlReader.cs : ReadElementContentAsBinHex() was calling ..AsBase64().
* XmlValidatingReader.cs : In set_EntityHandling(), set that property
of DTDValidatingReader.
* XmlNodeReader2.cs,
XmlNodeReaderImpl.cs : added simplified implementation that splits
entity handling and anything else.
* XQueryConvert.cs : implemented ShouldCheckValueFacets().
Use Convert class instead of simple casts (check range).
* XmlReaderSettings.cs : added SetSchemas() for XPathNavigator.
svn path=/trunk/mcs/; revision=38088
* 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
* System.Xml.dll.sources : added XmlSchemaValidatingReader.
* XmlSchemaValidatingReader.cs : new file; another XmlReader
implementation that handles XSD validation. It is an reference
application for XmlSchemaValidator.
* XsdValidatingReader.cs : Use readerLineInfo for IXmlLineInfo.
* XmlReaderSettings.cs : XsdValidate and DtdValidate are now
ValidationType.
* XmlReader.cs : In Create(), use XmlSchemaValidatingReader for xsd
validation.
* XmlSchemaValidator.cs : implemented basic validation feature.
svn path=/trunk/mcs/; revision=37739
* XmlAttributeCollection.cs : In .net 2.0, it became sealed class.
* IXmlDataEvidence.cs : not "Evidences" but "Evidence".
* XmlInputStream.cs : new csc rejected implicit int->char cast.
* XmlNamespaceManager.cs : In net_2_0, LookupNamespace(string) and
LookupPrefix(string) does not require argument string as atomized.
Added HasNamespace (string, bool).
* XmlReader.cs : Added Settings and SchemaInfo properties.
* XmlReaderSettings.cs : Added NameTable. Throw XmlException when
attempt to set Schemas.
* XmlTextReader.cs : Fixed "Evidences" to "Evidence". new csc rejected
implicit int->char cast.
* XmlValidatingReader.cs : Fixed "Evidences" to "Evidence".
svn path=/trunk/mcs/; revision=30919