svn path=/branches/mono-1-1-9/mcs/; revision=51207
[mono.git] / mcs / class / System.XML / Mono.Xml.Schema / ChangeLog
index 3b9b8d6e65458a47e98479185fd513aab1a7341a..9455b93d92d7b14663e12c2fc1ac6a378f6b4a70 100644 (file)
@@ -1,3 +1,185 @@
+2005-08-03  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * XsdValidationReader.cs: GetNamespacesInScope returns generic
+       IDictionary in .NET 2.0 Beta 2.
+       * XmlSchemaValidatingReader.cs: GetNamespacesInScope returns generic
+       IDictionary in .NET 2.0 Beta 2.
+
+2005-07-28  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : when xsi:schemaLocation could not be
+         resolved, it still does not raise error when corresponding schema
+         already exists.
+
+2005-05-05  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs :
+         removed atomicName related 2.0 members (deprecated in beta2).
+
+2005-03-22  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : removed unused method which was warned.
+
+2004-12-22  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : XmlResolver.ResolveUri() may return null.
+
+2004-12-16  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : added ActualSchemaType to context type.
+       * XmlSchemaValidatingReader.cs : added SchemaInfo override.
+
+2004-12-16  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdParticleValidationState.cs :
+         Removed some unused or unnecessary members. Readonlify some members.
+         Added GetExpectedParticles(ArrayList) and overriden in all state
+         types, which is used in XmlSchemaValidator.GetExpectedParticles().
+
+2004-12-15  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XmlSchemaValidatingReader.cs : xsi:* attributes are now handled via
+         XmlSchemaValidator.ValidateElement().
+         Removed some obsolete overrides.
+
+2004-12-14  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XmlSchemaValidatingReader.cs : new file; another XmlReader 
+         implementation that handles XSD validation. It is an reference
+         application for XmlSchemaValidator.
+       * XsdValidatingReader.cs : Use readerLineInfo for IXmlLineInfo.
+
+2004-12-14  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdIdentityState.cs : use validation exception for 2.0.
+         ProcessMatch() does not have to return bool. Use break and continue
+         and reduced indentation.
+       * XsdValidatingReader.cs : use validation exception for 2.0.
+         Added new XsdIDManager class and id handling is delegated to it.
+         XmlQualifiedName -> QName. AssessElementLocallyValidElement() does
+         not need XmlSchemaElement (it is context). Moved some static
+         methods to XmlSchemaUtil.cs. Collected key constraints stuff to a
+         region.
+
+2004-12-13  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdKeyTable.cs : eliminated XmlReader dependency.
+       * XsdValidatingReader.cs :
+         AssertIdentityConstraints() is now splited to selector validation
+         and field validation. Extracted EndKeyrefValidation() to process
+         keyref constraints.
+         Added ReadExternalSchema() and commonized xsi:schemaLocation
+         handling and xsi:noNamespaceSchemaLocation handling.
+       * XsdIdentityState.cs :
+         Eliminated XsdValidatingReader dependency.
+         In XsdKeyEntryField, renamed KeySequence to OwnerSequence.
+         XsdKeyEntryFieldCollection is now based on CollectionBase.
+         In XsdKeyEntry, FieldMatches() is renamed to ProcessMatch() and
+         modified to accept splited XsdValidatingReader members.
+       * XsdIdentityPath.cs : added default .ctor() and IsAttribute property.
+
+2004-12-13  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdIdentityState.cs,
+         XsdIdentityPath.cs,
+         XsdKeyTable.cs : fixed mixed line ending.
+
+2004-12-11  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs,
+         XsdIdentityState.cs : more refactoring.
+         Reduced XmlReader dependency in identity constraint classes.
+         Hide State in XsdValidationContext.
+         Simplify character validation and state resetting.
+         Need more event deligation on ExamineAdditionalSchema().
+         Just cache attribute type directly instead of QName.
+         Use XmlSchemaUtil.ReadTypedValue() common code.
+
+2004-12-09  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdKeyTable.cs :
+         Replaced ArrayList with new XsdKeyEntryCollection type.
+         Workarounded bug #70419.
+       * XsdValidatingReader.cs : propagate validation event handler and
+         XmlResolver. And used them.
+         Renamed local variables a bit (unified to other blocks).
+
+2004-12-09  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs,
+         XsdParticleValidationState.cs : Fixed the previous problem ==
+         inconsistent start assessment and end assessment.
+         More refactory: stateManager is just renamed to state, and its type
+         name is now XsdParticleStateManager.
+         Now Context is included in state.
+         Shortened lengthy xsd related type names with usingdecl.
+
+2004-12-09  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : mhm, something is wrong with call to
+         context.PopScope(). So quick fix and marked as FIXME.
+
+2004-12-09  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdParticleValidationState.cs : removed unused enum.
+       * XsdValidatingReader.cs : more refactoring. Validation process is
+         now strictly done only when not skipping (no side effect).
+         - elementQnameStack is used only in keyref resolution, so just moved
+           Pop() into EndElement block and thus removed popContext.
+         - Renamed currentQName to attrQName (only used for attribute).
+         - Create defaultAttributes array only when required.
+         So now XsdValidationContext has only Element, State and XsiType.
+         - It now just holds Stack for state objects (instead of Hashtable).
+           Child state is set inside StartElementSchemaValidity (it is kind
+           of StartTagCloseDeriv()).
+         - Removed Clear().
+
+2004-12-09  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : more refactoring on XsdValidationContext.
+         context.Load() was unnecessary. SchemaType is not necessary.
+         SiblingState and Element are now not accessed externally.
+
+2004-12-09  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : more refactoring.
+
+2004-12-08  Atsushi Enomoto <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : making smarter relationship between
+         XmlValidatingReader. Added ValidationEventHandler and ValidationType.
+         nonDefaultAttributeCount was extraneous.
+         Added 'checkIdentity' (i.e. !IgnoreIdentityConstraints).
+         DefaultAttributesCache property did make little sense, so just
+         reverted to ArrayList field.
+
+2004-11-26  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : warning elimination
+
+2004-11-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : commented out some fields and depending
+         code that are currently not used.
+         Fixed "one incorrect missing component handling" in the last commit
+         (it was correct).
+       * XsdIdentityState.cs : removed unused fields and local variables.
+
+2004-11-20  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : quick fix for bug #69620. In some cases
+         SchemaSet looks not compiled.
+         Fixed one incorrect missing component handling.
+
+2004-11-08  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : reuse NameTable on loading external schema.
+
+2004-11-07  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * XsdValidatingReader.cs : optimized some ArrayList fields; create them
+         only when required.
+
 2004-08-20  Atsushi Enomoto  <atsushi@ximian.com>
 
        * XsdValidatingReader.cs : ReadTypedValue() is override under 2_0.