Commit Graph
232 Commits
Author SHA1 Message Date
Atsushi Eno b265ee6b99 2007-11-12 Atsushi Enomoto <[email protected]>
* XmlSchemaValidator.cs : XmlValueGetter actually needs string value
	  to validate against a restricted simple type (beyond ParseValue()). 
	  Fixed bug #339934.

	* XsdValidatingReaderTests.cs : added test for #339934.

	in Test/System.Xml.Schema/standalone_tests:
	* Makefile : now we try both default and 2.0 profile tests (i.e.
	  "make run-test" and "make PROFILE=net_2_0").
	  For 2.0, use XmlReader.Create().


svn path=/trunk/mcs/; revision=89432
2007-11-12 00:55:56 +00:00
Atsushi Eno 34694574b3 2007-11-05 Atsushi Enomoto <[email protected]>
* XmlSchemaSimpleTypeRestriction.cs : implemented value-space
	  comparison for enumerations. Actually it is hybrid (it also
	  tries literal-space comparison first). Fixed bug #322457 and
	  #322458.

	  When there is a literal-space match, sometimes you cannot try to
	  get TypedValue even if it is valid due to double.Parse() overflow.


svn path=/trunk/mcs/; revision=88894
2007-11-05 17:38:38 +00:00
Atsushi Eno 64499b7d35 2007-09-27 Atsushi Enomoto <[email protected]>
* XmlAtomicValue.cs :
	  Added ToString(). Public API metadata completion.


svn path=/trunk/mcs/; revision=86508
2007-09-27 15:40:06 +00:00
Atsushi Eno b6cbab331e 2007-08-02 Atsushi Enomoto <[email protected]>
* XmlSchemaComplexType.cs,
	  XmlSchemaComplexContentRestriction.cs :
	  in Validate(), every descendant item in complexType must be first
	  validated before getting GetOptimizedParticle(), or it could result
	  in wrong content particle. Fixed bug #82010.

	* XsdValidatingReaderTests.cs : test for bug #82010.

	* 82010.xsd, 82010.xml : new test files.

	* Makefile : extra distfiles (82010.xml/.xsd).


svn path=/trunk/mcs/; revision=83272
2007-08-02 09:21:06 +00:00
Atsushi Eno 2b16027631 2007-08-02 Atsushi Enomoto <[email protected]>
* XmlSchemaValidator.cs : another extra whitespace rejection.
	  Fixed another issue reported on bug #82183.

	* XsdValidatingReaderTests.cs : another test posted on bug #82183.


svn path=/trunk/mcs/; revision=83264
2007-08-02 07:10:22 +00:00
Atsushi Eno 97eb3b6ec2 2007-07-25 Atsushi Enomoto <[email protected]>
* XmlSchemaValidator.cs : do not reject whitespaces in elementOnly
	  content model. Fixed bug #82183.

	* XsdValidatingReader.cs : reject more whitespaces in empty model
	  element.


svn path=/trunk/mcs/; revision=82652
2007-07-25 09:31:38 +00:00
Atsushi Eno 5be9aab4de 2007-07-17 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : Process empty and element-only contents
	  differently along with the spec 3.4.4 Element Locally Valid (Complex 
	  Type) 2.3 (and 2.1 respectively). Itchy specification indeed.
	  This demanded not a few internal changes. Fixed bug #82099.

	* XmlSchemaValidator.cs : dependent changes to 
	  XsdParticleValidationState. Changed ValidateWhitespace() to do
	  the same as we do in XsdValidatingReader.

	* XsdValidatingReaderTests.cs : added test for bug #82099.


svn path=/trunk/mcs/; revision=82098
2007-07-17 13:36:31 +00:00
Atsushi Eno 0208465123 2007-04-24 Atsushi Enomoto <[email protected]>
* XmlSchema.cs XmlSchemaGroup.cs XmlSchemaAny.cs XmlSchemaElement.cs
	  XmlSchemaNotation.cs XmlSchemaComplexType.cs
	  XmlSchemaAttributeGroup.cs XmlSchemaSimpleType.cs
	  XmlSchemaIdentityConstraint.cs XmlSchemaAnyAttribute.cs
	  XmlSchemaRedefine.cs XmlSchemaAttribute.cs :
	  avoid incorrect compilation of included schemas, fixed bug #81360.
	  more fix for wrong targetNamespace propagation within current
	  processing model. Replaced ParentIsSchema field with a property.

	* XsdValidatingReaderTests.cs : added test for bug #81360.

	* 81360.xsd, 81360inc1.xsd, 81360inc2.xsd : new test files.

	* Makefile : added distfiles.


svn path=/trunk/mcs/; revision=76184
2007-04-24 12:40:40 +00:00
Atsushi Eno 70e354c8b4 2007-04-24 Atsushi Enomoto <[email protected]>
* XmlSchema.cs XmlSchemaSimpleTypeList.cs
	  XmlSchemaComplexContentRestriction.cs XmlSchemaGroup.cs
	  XmlSchemaComplexContentExtension.cs XmlSchemaSequence.cs
	  XmlSchemaSimpleContentRestriction.cs
	  XmlSchemaSimpleContentExtension.cs
	  XmlSchemaElement.cs XmlSchemaAll.cs XmlSchemaComplexType.cs
	  XmlSchemaAttributeGroup.cs XmlSchemaSimpleTypeRestriction.cs
	  XmlSchemaSimpleContent.cs XmlSchemaChoice.cs
	  XmlSchemaSimpleType.cs XmlSchemaIdentityConstraint.cs
	  XmlSchemaSimpleTypeUnion.cs XmlSchemaRedefine.cs
	  XmlSchemaComplexContent.cs XmlSchemaAttribute.cs
	  XmlSchemaObject.cs : set parent component in prior to compilation,
	  bringing Parent to 1.x as internal. Moving toward fixing #81360.


svn path=/trunk/mcs/; revision=76163
2007-04-24 06:59:52 +00:00
Miguel de Icaza 14001b2b7e Cosmetic: fix spelling; patch from David Mitchell
svn path=/trunk/mcs/; revision=71571
2007-01-24 00:18:49 +00:00
Atsushi Eno 387066605d 2006-12-11 Atsushi Enomoto <[email protected]>
* XmlSchemaIdentityConstraint.cs : give conflicting component in
	  the error message.
	* XmlSchemaElement.cs : When resolving "ref" and "substitutionGroup",
	  It should use XmlSchema.FindElement() instead of XmlSchema.Elements
	  so that it does not miss external components.
	* XmlSchemaSet.cs, XmlSchema.cs : now in one XmlSchemaSet
	  compilation, make sure to not handle the same schema twice even
	  at the schema level.


svn path=/trunk/mcs/; revision=69293
2006-12-11 05:33:38 +00:00
Atsushi Eno 1d3440fc5d sanitizing MonoTODOs.
svn path=/trunk/mcs/; revision=67899
2006-11-15 11:31:25 +00:00
Atsushi Eno d4545913a0 Now we can safely set eol-style:native.
svn path=/trunk/mcs/; revision=67665
2006-11-10 10:28:24 +00:00
Atsushi Eno 56e9bba3ea This namespace is a horrible nest of mixed line endings :-(
svn path=/trunk/mcs/; revision=67664
2006-11-10 10:27:11 +00:00
Atsushi Eno 623b56116c 2006-10-27 Atsushi Enomoto <[email protected]>
* XmlSchemaValidator.cs : it must also be fixed for method signature
	  change.
	* XmlSchemaSimpleTypeRestriction.cs : on .NET 2.0, use 
	  IXmlNamespaceResolver for XmlSchemaValidator.

	* XsdValidatingReaderTests.cs : the previous test raises different
	  exception in 2.0.


svn path=/trunk/mcs/; revision=67032
2006-10-27 16:17:11 +00:00
Atsushi Eno acfc823f15 2006-10-27 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : Fixed bug #79650. Enumeration facet was
	  not validated for attributes. Also, simple type restriction should
	  require namespace manager to resolve QNames.

	* XmlSchemaSimpleTypeRestriction.cs : for facet validation, it should
	  use namespacemanager. Though the change is not perfect, thus I
	  disable this change for now.

	* XmlValidatingReaderTests.cs : added bug #79650 case.

	* 79650.xsd : added test for bug #79650.

	* Makefile : added 79650.xsd to dist file.


svn path=/trunk/mcs/; revision=67031
2006-10-27 15:12:25 +00:00
Kornél Pál 546a1134d2 Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Konstantin Triger 44a8061934 cosmetic changes to enable compilation with MS 1.1 compiler
svn path=/trunk/mcs/; revision=63249
2006-08-02 13:35:43 +00:00
Atsushi Eno 2b937a1e9b 2006-07-27 Atsushi Enomoto <[email protected]>
* XmlSchema.cs, XmlSchemaSimpleTypeList.cs,
	  XmlSchemaSimpleContentRestriction.cs, XmlSchemaUtil.cs,
	  XmlSchemaSimpleContentExtension.cs, XmlSchemaElement.cs,
	  XmlSchemaComplexType.cs, XmlSchemaSimpleTypeRestriction.cs,
	  XmlSchemaSimpleTypeUnion.cs, XmlSchemaAttribute.cs :
	  Finally fixed bugs around cross-referencing importing schema 
	  components (namely, #77489 and #78220) by resolving referenced
	  components via new internal Find[Element|Attribute|AttributeGroup|
	  SchemaType] methods in XmlSchema.

	* XmlSchemaSetTest.cs : added bug #77489 case.
	* XmlSchemaCollectionTests.cs : removed NotWorking from #77820 case.


svn path=/trunk/mcs/; revision=63042
2006-07-27 15:15:12 +00:00
Atsushi Eno 325b2d777c 2006-07-27 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : set ValidationEventHandler to XmlSchemaSet only
	  when the argument event handler is not null.
	  Validate() is internal to open it to XmlSchemaSet.
	* XmlSchemaSet.cs : removed extraneous "handler" field and method
	  "OnValidationError". Now ValidationEventHandler just works since
	  we don't have to care about XmlSchemaCollection's event (it just
	  reuses XmlSchemaSet's event now).
	  Split Compile() process to collect components first, and to
	  validate next.


svn path=/trunk/mcs/; revision=63041
2006-07-27 14:46:58 +00:00
Atsushi Eno 77961f7fe1 2006-07-27 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : compiling and validating external components in
	  prior to direct components in a schema does block my refactoring.
	  Removed extraneous call to XmlSchemaSet.Add().


svn path=/trunk/mcs/; revision=63032
2006-07-27 06:33:39 +00:00
Atsushi Eno 6ccb305955 2006-07-27 Atsushi Enomoto <[email protected]>
* XmlSchema.cs, XmlSchemaSet.cs : some minor refactoring to make
	  Compile() simple two phase (i.e. CompileSubset() and Validate()).


svn path=/trunk/mcs/; revision=63028
2006-07-27 04:06:02 +00:00
Atsushi Eno e9614b4d3e 2006-07-27 Atsushi Enomoto <[email protected]>
* XmlSchemaException.cs : oops, .ctor(string) was only for 2.0.


svn path=/trunk/mcs/; revision=63027
2006-07-27 03:02:24 +00:00
Atsushi Eno 97c462eeae 2006-07-27 Atsushi Enomoto <[email protected]>
* XmlSchemaCollection.cs :
	  eliminated call to XmlSchema.CompileSubset(). Now XmlSchemaSet is
	  the only starter of the compilation.
	* XmlSchemaSet.cs : added targetNamespace check.

	* XmlSchemaSetTests.cs : added AddWrongTargetNamespace().


svn path=/trunk/mcs/; revision=63026
2006-07-27 02:58:28 +00:00
Atsushi Eno 6331ad5c79 2006-07-26 Atsushi Enomoto <[email protected]>
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
2006-07-26 10:13:56 +00:00
Atsushi Eno 5853e3c5ed 2006-07-25 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : mutual schema import was failing because the
	  compiling schema's SourceUri was not enlisted for nest check.

	* XmlSchemaTests.cs : added TestSimpleMutualImport().

	* inter-inc-1.xsd, inter-inc-2.xsd :
	  new test files for TestSimpleMutualImport().


svn path=/trunk/mcs/; revision=62941
2006-07-25 03:19:21 +00:00
Atsushi Eno 1d1f53e9b4 2006-03-02 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : seems like there is XmlSchemaExternal.Schema property
	  that is filled after Compile(). Fixed bug #77687.

	* XmlSchemaTests.cs : added test for bug #77687.

	* 77687.xsd, 77687inc.xsd : test for bug #77687.


svn path=/trunk/mcs/; revision=57495
2006-03-02 03:15:05 +00:00
Atsushi Eno f082c47627 2006-03-01 Atsushi Enomoto <[email protected]>
* XmlSchemaAppInfo.cs, XmlSchemaDocumentation.cs : seems like MS
	  implementation fills empty node set for empty xs:appinfo and
	  xs:documentation and waste memory. Fixed bug #77685.

	* XmlSchemaTests.cs : added test for bug #77685.


svn path=/trunk/mcs/; revision=57481
2006-03-01 19:51:56 +00:00
Gert Driesen 181d10350c * XmlSchema.cs: Do not define namespace for zero-length TargetNamespace
and report XmlSchemaException when compiling XmlSchema with
zero-length TargetNamespace. Fixes bug #77391.
* XmlSchemaTests.cs: Added test for writing XmlSchema with
zero-length TargetNamespace. Added test for compiling XmlSchema
with zero-length TargetNamespace. Replaced Console.WriteLine with
AssertEquals.

svn path=/trunk/mcs/; revision=57415
2006-02-28 19:18:36 +00:00
Atsushi Eno b0d2d5af52 2006-02-01 Atsushi Enomoto <[email protected]>
* BuiltInDatatype.cs : anyURI could be such relative path that
	  contains ':' in the middle. It also affects on relaxng validation.

	* XmlSchemaDatatypeTests.cs : added two more anyURI tests.


svn path=/trunk/mcs/; revision=56373
2006-02-01 06:25:41 +00:00
Atsushi Eno 69c5728b60 2006-01-26 Atsushi Enomoto <[email protected]>
* XmlWriter.cs : Dispose() is protected.

	* XmlSchemaValidationException.cs : fixed .ctor() signatures.

	* XPathNavigator.cs : fixed IsNode signature found by updated
	  corcompare.


svn path=/trunk/mcs/; revision=56048
2006-01-25 15:36:37 +00:00
Atsushi Eno 68c182e20c 2006-01-11 Atsushi Enomoto <[email protected]>
* 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
2006-01-11 13:21:19 +00:00
Atsushi Eno 4231ac16e6 2006-01-10 Atsushi Enomoto <[email protected]>
* 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
2006-01-10 12:54:26 +00:00
Atsushi Eno df9a592c8c 2006-01-06 Atsushi Enomoto <[email protected]>
* 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
2006-01-06 15:58:52 +00:00
Atsushi Eno 607ee5bf7b 2006-01-06 Atsushi Enomoto <[email protected]>
* XmlSchemaSet.cs : reverted previous fix; it broke inclusions.

	* XmlSchemaSetTests.cs : reverted the patch, thus restore [Ignore].


svn path=/trunk/mcs/; revision=55146
2006-01-06 12:58:41 +00:00
Atsushi Eno fd4622ca84 2006-01-06 Atsushi Enomoto <[email protected]>
* 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
2006-01-06 12:24:46 +00:00
Atsushi Eno 12b7f166b6 2006-01-06 Atsushi Enomoto <[email protected]>
* 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
2006-01-06 04:47:46 +00:00
Atsushi Eno 0b4965171d 2005-12-08 Atsushi Enomoto <[email protected]>
* 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
2005-12-08 08:15:30 +00:00
Atsushi Eno fbfc34e585 2005-12-08 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Compile() are obsoleted in 2.0.


svn path=/trunk/mcs/; revision=54097
2005-12-08 07:29:54 +00:00
Atsushi Eno b0a3f82787 2005-12-08 Atsushi Enomoto <[email protected]>
* XmlSchemaDatatype.cs : TypeCode is virtual in 2.0 RTM.


svn path=/trunk/mcs/; revision=54096
2005-12-08 07:27:53 +00:00
Atsushi Eno 9ff75fb951 2005-12-08 Atsushi Enomoto <[email protected]>
* 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
2005-12-08 07:11:03 +00:00
Atsushi Eno 99c907944c 2005-12-08 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : added XmlSchemaCompilationSettings.cs

	* XmlReaderSettings.cs : thanks to idiotic MS design,
	  AllowXmlAttributes is turned on by default.

	* XmlSchemaCompilationSettings.cs : new file.
	* XmlSchemaSet.cs : added CompilationSettings property.
	* XmlSchemaComplexType.cs : support for EnableUpaCheck.

	* XmlReaderSettingsTests.cs : (DefaultValue)
	  Added assertion label everywhere.
	* XmlWriterTests.cs : WriteNodeError is broken under MS.NET 2.0 (it
	  should cause an error).

	* XmlSchemaSetTests.cs : added CompilationSettings tests.


svn path=/trunk/mcs/; revision=54094
2005-12-08 06:56:12 +00:00
Atsushi Eno e87e54f481 2005-12-08 Atsushi Enomoto <[email protected]>
* 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
2005-12-08 04:38:01 +00:00
Atsushi Eno e4febe6ede 2005-12-01 Atsushi Enomoto <[email protected]>
* 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
2005-12-01 06:16:29 +00:00
Atsushi Eno 906d303f75 2005-12-01 Atsushi Enomoto <[email protected]>
* XmlSchemaElement.cs : Fixed ambiguity detection logic so that
	  chameleon ##other (xs:any) does not block other "absent"
	  (empty targetNamespace) element. Fixed bug #76865.

	* XmlSchemaTests.cs : added testcase for #76865.


svn path=/trunk/mcs/; revision=53746
2005-12-01 04:46:45 +00:00
Atsushi Eno beabaefd1f 2005-11-07 Atsushi Enomoto <[email protected]>
* XmlSchemaValidator.cs : added missing ValidateWhitespace and
	  ValidateText, though the latter I think is LAMESPEC.


svn path=/trunk/mcs/; revision=52660
2005-11-07 18:17:27 +00:00
Atsushi Eno 38e3987552 2005-11-07 Atsushi Enomoto <[email protected]>
* XmlReader.cs : dependent XmlSchemaValidationFlags fix.
	  Added ReadElementContentAsObject() and ReadContentAsObject().
	* XmlReader.cs, XmlTextReader.cs :
	  LookupNamespace(string,bool) is now private.
	* XmlReader.cs, XmlNode,cs :
	  [DebuggerDisplay].

	* XmlSchemaValidationFlags.cs : updated to match 2.0 RTM.
	* XmlSchemaValidator.cs : related fix.

	* XmlSchemaValidatingReader.cs : XmlSchemaValidationFlags is updated.

	* XmlReaderSettingsTests.cs : XmlSchemaValidationFlags is updated.



svn path=/trunk/mcs/; revision=52659
2005-11-07 17:22:05 +00:00
Atsushi Eno d7e2e92951 2005-11-07 Atsushi Enomoto <[email protected]>
* 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
2005-11-07 12:56:29 +00:00
Atsushi Eno 596ecb5cdc 2005-11-07 Atsushi Enomoto <[email protected]>
* XmlSchemaValidator.cs : sealed.
	* ValidationEventArgs.cs : not sealed in 2.0.
	* XmlSchemaCollection.cs : added private ICollection.Count (to erase
	  IsVirtual difference).


svn path=/trunk/mcs/; revision=52638
2005-11-07 08:57:45 +00:00
Lluis Sanchez 0c33ce01b2 2005-10-17 Lluis Sanchez Gual <[email protected]>
* XmlSchemaSerializer.cs: Arrays of XmlNode don't
	need to be all XmlElments. Fix by Atsushi for bug #76288.


svn path=/trunk/mcs/; revision=51794
2005-10-17 10:38:08 +00:00