Commit Graph
14 Commits
Author SHA1 Message Date
Atsushi Eno 2cc36e3331 Fix bug #13716 - use XmlSchemaSettings.XmlResolver to resolve schemas. 2013-08-08 21:38:47 +09:00
Atsushi Eno b523f411bd Multiple schemas in wsdl could share same SourceUri, so check more identity.
Part of bugfix #670945.
2011-05-09 19:09:19 +09:00
Atsushi Eno 2f8435c724 2010-01-26 Atsushi Enomoto <[email protected]>
* XmlSchemaSet.cs : when adding a schema with "", it seems treated
	  as if it were null. Fixed bug #571650.

	* XmlSchemaSetTests.cs : added test for bug #571650.


svn path=/trunk/mcs/; revision=150187
2010-01-26 02:19:40 +00:00
Atsushi Eno 3bfb4f73d0 2008-12-15 Atsushi Enomoto <[email protected]>
* XmlSchema.cs, XmlSchemaSet.cs : move substitutionGroup processing
	  from validation phase to post-subset-collection phase. It caused
	  inconsistent substitutionGroup processing among import and
	  schemaSet.Schemas(). Fixed possible XBRL schema processing.

	* XmlSchemaSetTests.cs : added test for Compile() after "duplicating"
	  call to Add() for such schemas that also have xs:import of the
	  same schema that causes errors on processing substitutionGroup.


svn path=/trunk/mcs/; revision=121509
2008-12-15 10:39:00 +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 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 3e92836661 2006-01-10 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources : added XmlSchemaTypeTests.cs.

	* XmlSchemaTypeTests.cs : new file. Test for TypeCode.
	* XmlSchemaSetTests.cs : added more tests for Add() and marked one as
	  NotWorking (we need info on how consistent this method is).


svn path=/trunk/mcs/; revision=55309
2006-01-10 17:10:28 +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 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 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
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Atsushi Eno 776425f6be 2004-09-13 Atsushi Enomoto <[email protected]>
* XmlSchemaSetTests.cs : added.

svn path=/trunk/mcs/; revision=33807
2004-09-13 12:54:15 +00:00