* XmlSchemaValidatingReader.cs : removed unused constructors.
Now it implements IXmlSchemaInfo. Use XmlSchemaType instead of
Object to represent schema types.
* XmlSchemaAttribute.cs, XmlSchemaElement.cs : AttributeSchemaType
and ElementSchemaType were not working fine for anySimpleType.
* XmlSchemaValidator.cs : When actual schema type was complex,
schema types was not filled correctly. Modified some extra comments.
* XmlSchemaSet.cs, XmlSchemaType.cs : removed extra MonoTODOs.
svn path=/trunk/mcs/; revision=55371
* XmlAtomicValue.cs : it won't be implemented since there is no way
to test it inside sys.xml. Thus remarked MonoTODO.
* XmlSchemaDatatype.cs : implemented IsDerivedFrom(), which is however
mostly useless.
* XmlSchemaDatatypeTests.cs : added test for 2.0 IsDerivedFrom().
svn path=/trunk/mcs/; revision=55290
* XmlSchemaSet.cs : Add() rollbacks IsCompiled to false.
Global components are not added when Add() is called.
* XmlSchemaSetTests.cs : added AddRollbackIsCompiled(); Add() changes
IsCompiled to false.
svn path=/trunk/mcs/; revision=55151
* XmlSchemaSet.cs : Add() needs (consistent) namespace duplicate check.
* XmlSchemaSetTests.cs : re-enabled test for Add() which was
inconsistent in beta versions.
svn path=/trunk/mcs/; revision=55145
* XmlValidatingReader.cs : In ReadTypedValue(), treat Whitespace
nodes as target string nodes as well as other text nodes.
* XsdValidatingReader.cs :
Don't use normalized string as input to AssessStringValid(). It
incorrectly invalidates strings against simple types with length-
related facets.
Now that we don't ignore whitespaces, we need to explicitly allow
pure whitespace texts in ElementOnly/Empty model.
* XmlSchemaSimpleTypeRestriction.cs : maxLength and minLength were
likely to be ignored in ValidateNonListValueWithFacets().
* XmlSchemaValidator.cs : Don't use normalized string value as the
input to AssessStringValid().
* XsdValidatingReaderTests.cs : test for ReadTypeValue() that it
does not ignore whitespace nodes, and it does not normalize string
incorrectly.
svn path=/trunk/mcs/; revision=55129
* XmlSchemaSet.cs :
Turned out that it also has set_CompilationSettings.
* XmlSchemaComplexType. : thus CompilationSettings is nullable, we
have to check its existence.
* XmlSchemaSetTests.cs : added set_CompilationSettings tests.
svn path=/trunk/mcs/; revision=54098
* XmlSchemaValidationException.cs :
oops, there is SourceObject other than SourceSchemaObject.
* XmlSchemaCompilationSettings.cs : oops, actually XmlSchemaSet is
also used in 1.x profile (internally)
* XmlSchemaSimpleTypeList.cs : added set_BaseItemType bogus (just to
fill API compatibility).
svn path=/trunk/mcs/; revision=54095
* XmlSchemaValidationException.cs : added SetSourceObject() which
is just for API compat (it does nothing on MS.NET).
Removed #if NET_2_0 inside #if NET_2_0.
* XsdParticleValidationTests.cs : ValidateRootElementOnlyInvalid()
does not throw validation exception under MS 2.0, this NotDotNet.
svn path=/trunk/mcs/; revision=54092
* XmlSchemaSequence.cs : when a subcomponent is not optional
(minOccurs!=0) then it should clean previous components up.
Really fixed bug #76865.
* XmlSchemaTests.cs :
Additional schema component to finish #76865 test.
* Makefile : Use MONO_PATH. Remove extraneous make variables.
svn path=/trunk/mcs/; revision=53748
* XmlSchemaValidator.cs : added missing ValidateWhitespace and
ValidateText, though the latter I think is LAMESPEC.
svn path=/trunk/mcs/; revision=52660
* XmlValueGetter.cs, XmlSchemaValidator.cs, XmlSchemaException.cs,
XmlSchemaAttribute.cs : Updated API to match 2.0 RTM. Most of the
changes are related to XmlValueGetter change.
* XsdValidatingReader.cs, XmlSchemaValidatingReader.cs,
XsdIdentityState.cs :
Dependent changes caused by XmlValueGetter changes.
* xsdtest.cs : updated to match 2.0 RTM API.
svn path=/trunk/mcs/; revision=52650
* XmlSchemaUtil.cs: (GetParserContext) if reader is not internal
IHasXmlParserContext, silently return null. This is for NVDL xsd
support.
* XsdValidatingReader.cs: make ParserContext and its NamespaceManager
optional. This is for NVDL xsd support.
svn path=/trunk/mcs/; revision=51035
* XmlSchema.cs : XmlReader position after Read() is the end of the
schema element.
* XmlSchemaTests.cs : test for reader position after Read().
svn path=/trunk/mcs/; revision=51030
* XmlSchemaComplexType.cs : Fixed ValidateTypeDerivationOK (complex)
that missed primitive simple types as base types (BaseXmlSchemaType
is not working fine; it is the actual culprit to be fixed).
* XmlSchemaUtil.cs,
XmlSchemaAttributeGroup.cs,
XmlSchemaComplexType.cs :
fixed XmlSchemaUtil.ValidateAttributesResolved(). If there is a
corresponding attribute definition in the derived extension type,
then it should be allowed.
svn path=/trunk/mcs/; revision=48117
* XmlSchemaCollection.cs, XmlSchemaCollectionEnumerator.cs :
GetEnumerator() was not in sync with the internal change to
XmlSchemaSet. Fixed bug #75126. Patch by Crestez Leonard.
* XmlSchemaCollectionTests.cs : added test for #75126.
svn path=/trunk/mcs/; revision=45801
* XmlSchemaInference.cs : For each resulting schema, it has to emit
xs:import when it has a reference to external schema components.
svn path=/trunk/mcs/; revision=44898
* XmlSchemaInference.cs : When doing lax inference, set minOccurs="0"
of those elements in a sequence. Fixed misspellings.
svn path=/trunk/mcs/; revision=44885
* 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
* XmlSchemaSet.cs (XmlSchemaSet.XmlResolver): Mark this as
not CLS-compliant to avoid a CS3025.
* XmlSchemaType.cs (XmlSchemaType.ValueConverter): Mark this as
not CLS-compliant to avoid a CS3025.
svn path=/trunk/mcs/; revision=39448
* XmlSchema.cs : XmlSchema.Write() should not write duplicating
top-level entry in XmlSerializerNamespaces and XmlNamespaceManager.
This fixes some DataSet bugs.
svn path=/trunk/mcs/; revision=39024
* xmlschemagen.config,
XmlSchemaSerializer.cs : replacement of CustomSerializer.cs which was
based on genxs but manually modified.
* CustomSerializer.cs : removed.
2004-01-17 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : replaced CustomSerializer with
XmlSchemaSerializer.
Replaced XmlNodeReader with XmlNodeReaderImpl.cs and
XmlNodeReader2.cs. (dispatches entity reader and non-entity reader.)
svn path=/trunk/mcs/; revision=39005
* XmlSchema.cs : XmlResolver.ResolveUri() may return null.
* XmlParserContext.cs : all the string properties must not be set as
null. Thanks to Joshua.
* XmlTextReader.cs,
DTDObjectModel.cs,
DTDReader.cs : XmlResolver.ResolveUri() may return null.
* XsdValidatingReader.cs : XmlResolver.ResolveUri() may return null.
* XslFunction.cs,
Compiler.cs : XmlResolver.ResolveUri() may return null.
svn path=/trunk/mcs/; revision=38084