Commit Graph
193 Commits
Author SHA1 Message Date
Atsushi Eno 08afe91b30 2010-06-30 Atsushi Enomoto <[email protected]>
* XmlDefaultWriter.cs : new source (which I once wrote for relaxng
	  and corcompare).
	* XmlWriter.cs : in some cases XmlWriter.Create() returns a new
	  wrapping writer instance.
	  If there was no Settings specified, return null.

	* System.Xml.dll.sources,
	  moonlight_raw_System.Xml.dll.sources,
	  monotouch_System.Xml.dll.sources : add DefaultXmlWriter.cs.

	* XmlWriterTests.cs : add a bit more assertions.
	  Remove NotWorking from some tests.


svn path=/trunk/mcs/; revision=159712
2010-06-30 06:40:47 +00:00
Jb Evain b3f3ef56c8 rename net_2_1 to moonlight
svn path=/trunk/mcs/; revision=153638
2010-03-16 08:32:37 +00:00
Jonathan Pryor 37e5d9c5ee * monotouch_System.Xml.dll.sources: Add System.Xml/NamespaceHandling.cs
to the MonoTouch build (fixed build break).

svn path=/trunk/mcs/; revision=147105
2009-11-30 16:33:22 +00:00
Atsushi Eno 9a708bffad 2009-11-27 Atsushi Enomoto <[email protected]>
* NamespaceHandling.cs, XmlWriterSettings.cs, XmlTextWriter2.cs:
	  implement NamespaceHandling support for Moonlight.

	* System.Xml.dll.sources : added NamespaceHandling which is kept
	  internal in 2.0 (to simplify its support in XmlTextWriter).


svn path=/trunk/mcs/; revision=147022
2009-11-27 03:14:15 +00:00
Miguel de Icaza 3fc2ac11bc 2009-08-01 Miguel de Icaza <[email protected]>
* Various changes to support the non-XAP XmlSchema resolution on
	the Moonlight build.    

	Major missing feature: WebRequest resolution.

svn path=/trunk/mcs/; revision=139246
2009-08-01 16:31:08 +00:00
Sebastien Pouliot 8d388ec068 In System.Xml:
2009-04-28  Sebastien Pouliot  <[email protected]> 

	* XmlXapResolver.cs: Remove dependency on XmlUrlResolver. Small 
	fixes wrt new unit tests (inside moon-unit).

In .:
2009-04-28  Sebastien Pouliot  <[email protected]> 

	* net_2_1_raw_System.Xml.dll.sources: Remove XmlUrlResolver.cs 
	and the associated [SecuritySafeCritical] that it required


svn path=/trunk/mcs/; revision=132852
2009-04-28 15:36:50 +00:00
Sebastien Pouliot 31751dd12a In Test/System.Xml:
2009-04-28  Sebastien Pouliot  <[email protected]>

	* XmlResolverTest.cs: New. Unit tests for base features.

In System.Xml:
2009-04-28  Sebastien Pouliot  <[email protected]>

	* XmlResolver.cs: Small fixes wrt new unit tests. Add SupportsType
	method for NET_2_1 profile.

In .:
2009-04-28  Sebastien Pouliot  <[email protected]>

	* System.Xml_test.dll.sources: Add System.Xml/XmlResolverTest.cs to
	the unit tests


svn path=/trunk/mcs/; revision=132851
2009-04-28 15:23:37 +00:00
Sebastien Pouliot ed14746bea Makefile: Add missing Test/XmlFiles/496192.x* files to dist
svn path=/trunk/mcs/; revision=132788
2009-04-27 21:17:06 +00:00
Sebastien Pouliot 66ee57808b net_2_1_raw_System.Xml.dll.sources: Remove MonoTODOAttribute.cs since we can get it from mscorlib.dll
svn path=/trunk/mcs/; revision=132282
2009-04-21 16:18:23 +00:00
Sebastien Pouliot f34ba6ef30 2009-04-16 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.Xml.dll.sources: Remove corlib's files since 
	System.Xml can now access, for 2.1 (moonlight) corlib's internals.


svn path=/trunk/mcs/; revision=131926
2009-04-16 18:51:35 +00:00
Atsushi Eno 019345956c 2009-03-13 Atsushi Enomoto <[email protected]>
* SerializationSource.cs, KeyHelper.cs : split out KeyHelper from
	  SerializationSource as the class is going to be used in 2.1 too.
	* XmlRootAttribute.cs : use KeyHelper above to add internal Key
	  property that is used in SL2 System.Xml.Serialization.dll.

	* System.Xml.dll.sources, net_2_1_raw_System.Xml.dll.sources :
	  added KeyHelper.cs.


svn path=/trunk/mcs/; revision=129243
2009-03-13 06:59:28 +00:00
Geoff Norton 172aac1d0a 2009-02-19 Geoff Norton <[email protected]>
* net_2_1_raw_System.Xml.dll.sources: Add a bunch of missing attributes

svn path=/trunk/mcs/; revision=127369
2009-02-19 05:46:09 +00:00
Atsushi Eno 00fb04d6fd 2009-01-22 Atsushi Enomoto <[email protected]>
* XmlXapResolver.cs : new in 2.1.
	* XmlReaderSettings.cs : use above.

	* net_2_1_raw_System.Xml.dll.sources: added XmlXapResolver.cs.


svn path=/trunk/mcs/; revision=124198
2009-01-22 13:40:32 +00:00
Sebastien Pouliot 307ea3f97c 2009-01-14 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.Xml.dll.sources: Add NamespaceHandling


svn path=/trunk/mcs/; revision=123373
2009-01-14 16:38:18 +00:00
Jb Evain 24fddc33da sl2b2 update
svn path=/trunk/mcs/; revision=110955
2008-08-19 16:26:20 +00:00
Atsushi Eno dad3095d01 2008-05-22 Atsushi Enomoto <[email protected]>
* XslCompiledTransform.cs : in XmlWriterSettings, use
	  ConformanceLevel.Fragment to allow fragment output.
	  In Transform(string,string), use TextWriter output instead of
	  XmlWriter to control xml declaration output.
	  Fixed bug #391424.

	* XslTransformTests.cs : added test for bug #391424.

	* 391424.xml, 391424.xsl : new test files.

	* Makefile : more simplification (and I forgot the syntax again :/)


svn path=/trunk/mcs/; revision=103783
2008-05-22 13:45:29 +00:00
Atsushi Eno d24de5e71b 2008-05-22 Atsushi Enomoto <[email protected]>
* resolveUriSchema.xsd : forgot to add.

	* Makefile : EXTRA_DISTFILES is becoming messy, so simplify it.


svn path=/trunk/mcs/; revision=103780
2008-05-22 13:39:14 +00:00
Jb Evain 963ccb4ef8 merge back ml2 into trunk
svn path=/trunk/mcs/; revision=100557
2008-04-13 13:47:01 +00:00
Atsushi Eno 82d014295d 2008-04-02 Atsushi Enomoto <[email protected]>
* XsdParticleValidationState.cs : a choice with only empty particle
	  children is emptiable. Fixed bug #376395.

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

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

	* Makefile : extra distfiles (376395.xml, 376395.xsd).


svn path=/trunk/mcs/; revision=99679
2008-04-02 20:01:31 +00:00
Atsushi Eno 5691ba237b 2008-02-19 Atsushi Enomoto <[email protected]>
* XmlSchema.cs : Do recursively process xs:include inside included
	  schemas. Fixed bug #361818.

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

	* 361818.xsd, 361818-2.xsd, 361818-3.xsd : new test files.

	* Makefile : extra distfiles (361818*.xsd).


svn path=/trunk/mcs/; revision=96159
2008-02-19 15:59:12 +00:00
Atsushi Eno d89e9691ac 2008-02-19 Atsushi Enomoto <[email protected]>
* XsdWildcard.cs : block extra compilation and made compilation reset.
	  This somehow fixed bug #360541.

	* XmlSchemaAny.cs : block extra compilation in anyTypeContent.

	* XmlSchemasTests.cs : new test file (for bug #360541).

	* System.Xml_test.dll.sources: added XmlSchemasTests.cs.


svn path=/trunk/mcs/; revision=96115
2008-02-19 04:02:53 +00:00
Atsushi Eno ea43bd0eb7 2008-02-04 Atsushi Enomoto <[email protected]>
* XmlSchemaValidator.cs : added couple of null argument check.
	  Do not depend on XmlSchemaInfo to retrieve attribute value (it
	  could be null).
	  Do not practically validate attribute when it is not in validating
	  state (i.e. inside xs:any). Fixed bug #358408.

	* XmlSchemaValidatorTests.cs : new. Test for bug #358408.

	* 358408.xsd : new test file.

	* System.Xml_test.dll.sources : added XmlSchemaValidatorTests.cs.
	* Makefile : extra distfiles (358408.xsd).


svn path=/trunk/mcs/; revision=94729
2008-02-04 08:49:05 +00:00
Gert Driesen 49a0cca265 * XmlParserContextTests.cs: Added ctor tests.
* System.Xml_test.dll.sources: added XmlParserContextTests.cs.

svn path=/trunk/mcs/; revision=92968
2008-01-15 17:40:34 +00:00
Atsushi Eno 8c2db129dd 2007-10-31 Atsushi Enomoto <[email protected]>
* XsdValidatingReader.cs : r68046 didn't really fix the issue.
	  Enabled the actual fix. and fixed bug #336625.

	* XsdValidatingReaderTests.cs : added test for #336625.

	* 336625.xsd : new test file.

	* Makefile : extra distfiles (336625.xsd).


svn path=/trunk/mcs/; revision=88537
2007-10-31 07:39:02 +00:00
Atsushi Eno f34e30d372 2007-09-21 Atsushi Enomoto <[email protected]>
* GenericOutputter.cs : fixed possible conflict for auto-filled
	  attribute prefixes. Fixed bug #325482.

	* XslTransformTests.cs : added test for bug #325482.

	* 325482.xml, 325482.xsl : new test files.

	* Makefile : extra distfiles (325482.xml / 325482.xsl).


svn path=/trunk/mcs/; revision=86132
2007-09-21 09:58:53 +00:00
Atsushi Eno 32f6484459 2007-08-21 Atsushi Enomoto <[email protected]>
* MapCodeGenerator.cs : avoid possible duplicates in generated field 
	  names. Fixed bug #82078.

	* XmlCodeExporterTests.cs : test for bug #82078.

	* 82078.xsd : new test file.

	* Makefile : extra distfiles (82078.xsd).


svn path=/trunk/mcs/; revision=84531
2007-08-21 09:24:42 +00:00
Atsushi Eno ecd315b204 2007-08-21 Atsushi Enomoto <[email protected]>
* XslFunctions.cs : fix wrong unboxing in extension functions.
	  Fixed bug #82493.

	* XslTransformTests.cs : added test for bug #82493.

	* 82394.xml, 82493.xsl : new test files.

	* Makefile : extra distfiles (82493.xml/.xsl).


svn path=/trunk/mcs/; revision=84526
2007-08-21 06:56:09 +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 19308b4ef0 2007-06-28 Atsushi Enomoto <[email protected]>
Yes, it is Hack Week, I had to start delayed though.

	* System.Xml.dll.sources : added XsltDebuggerWrapper.cs, as initial
	  attempt to support external debugger.

	* XslText.cs XslMessage.cs XslVariable.cs XslNotSupportedOperation.cs
	  XslNumber.cs XslElement.cs XslIf.cs XslCopyOf.cs XslFallback.cs
	  XslValueOf.cs XslComment.cs XslAttribute.cs XslApplyImports.cs
	  XslApplyTemplates.cs XslLiteralElement.cs XslCompiledElement.cs
	  XslTemplateContent.cs XslForEach.cs XslCallTemplate.cs
	  XslCopy.cs XslProcessingInstruction.cs XslChoose.cs :
	  minimum required injection for debugger.

	initial attempt to hook debuggers.
	* XsltDebuggerWrapper.cs : new.
	* XslTransformProcessor.cs Compiler.cs : use above.

	* XslCompiledTransform.cs XslTransform.cs : initial attempt to
	  support external debugger.


svn path=/trunk/mcs/; revision=80984
2007-06-28 16:44:07 +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 922203ea7c 2006-11-01 Atsushi Enomoto <[email protected]>
* XmlSerializerImplementationTests.cs : new testfixture.

	* SchemaImporterExtensionCollectionTests.cs,
	  SchemaImporterExtensionTests.cs : new testfixtures.

	* System.Xml_test.dll.sources : added following tests:
	  - XmlSerializerImplementationTests.cs
	  - SchemaImporterExtensionTests.cs
	  - SchemaImporterExtensionCollectionTests.cs


svn path=/branches/atsushi/mcs/; revision=67235
2006-11-01 20:05:41 +00:00
Atsushi Eno 732496f334 2006-11-01 Atsushi Enomoto <[email protected]>
* Makefile : Now it supports (and expects) cyclic build. You need
	  another System.XML iteration in mcs/class/Makefile.
	* System.Xml.dll.sources : moved extension classes, added config and
	  XmlSchemaEnumerator.cs and removed IXmlSerializerImplementation.cs.


svn path=/branches/atsushi/mcs/; revision=67234
2006-11-01 20:02:15 +00:00
Wade Berrier 4a1ab19431 * Makefile: remove README, Mono.System.XML.csproj,
Mono.System.XML.sln from EXTRA_DIST to fix make dist


svn path=/trunk/mcs/; revision=67153
2006-10-30 22:10:52 +00:00
Atsushi Eno 5f9fe1c182 2006-10-30 Atsushi Enomoto <[email protected]>
* README, Mono.System.XML.csproj, Mono.System.XML.sln :
	  remove old files.


svn path=/trunk/mcs/; revision=67147
2006-10-30 20:16: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
Atsushi Eno bf12cc0a6d 2006-10-27 Atsushi Enomoto <[email protected]>
* DTDReader.cs : some parameter entity expansions were not done.
	  Fixed bug #79683.

	* 79683.dtd : added for bug #79683.

	* XmlTextReaderTests.cs : added bug #79683 case.

	* Makefile : added 79683.dtd to dist file.


svn path=/trunk/mcs/; revision=67025
2006-10-27 13:14:25 +00:00
Zoltan Varga 943aeb0cf9 2006-10-22 Zoltan Varga <[email protected]>
* Makefile (EXTRA_DISTFILES): Add some missing test files.

svn path=/trunk/mcs/; revision=66871
2006-10-22 09:36:58 +00:00
Boris Kirzner 68e8a989fd Log files naming fix.
svn path=/trunk/mcs/; revision=65904
2006-09-26 08:51:01 +00:00
Boris Kirzner 236370d078 Reworked test scripts for TARGET_JVM.
svn path=/trunk/mcs/; revision=65352
2006-09-13 13:44:19 +00:00
Merav Sudri 53bb84dd19 svn path=/trunk/mcs/; revision=64994 2006-09-06 11:28:50 +00:00
Atsushi Eno b3cbbff9ce 2006-07-24 Atsushi Enomoto <[email protected]>
In class/System.XML:
	* System.Xml.dll.sources : added XmlMappingAccess.

	* XmlMappingAccess.cs : new type in 2.0 RTM.
	* XmlCodeExporter.cs, SoapCodeExporter.cs,
	  MapCodeGenerator.cs,
	  XmlSchemaImporter.cs, SoapSchemaImporter.cs, SchemaImporter.cs,
	  SchemaImporterExtension.cs, SchemaImporterExtensionCollection.cs,
	  XmlMemberMapping.cs, XmlSerializationReader.cs :
	  several 2.0 API fixes from betas to RTM.

	In class/System.Web.Services:
	* ProtocolImporter.cs, ServiceDescriptionImporter.cs :
	  some 2.0 API fixes from betas to RTM.

	In tools/wsdl:
	* MonoWSDL2.cs : 2.0 API fixes from beta2 to RTM.


svn path=/trunk/mcs/; revision=62910
2006-07-24 10:50:58 +00:00
Vladimir Krasnov ccda672ae3 run-W3C-tests.bat: skip nunit build if already done
run-XSLT-tests.bat: skip nunit build if already done

svn path=/trunk/mcs/; revision=60735
2006-05-16 11:51:53 +00:00
Gert Driesen d7cc337ecd * System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
XmlSchemaCollectionTests.cs.
* XmlSchemaCollectionTests.cs: added test for bug #78220.

svn path=/trunk/mcs/; revision=59970
2006-04-27 12:35:09 +00:00
Gert Driesen a99e0e1f9b * SoapAttributesTests.cs: Added tests for bug #78205.
* XmlSerializerTestClasses.cs: Added test classes and improved existing
classes for usage in upcoming bug reports.
* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
SoapAttributesTests.cs.
* SoapAttributes.cs: The DefaultValueAttribute.Value should be returned
as SoapDefaultValue instead of the attribute itself. Fixes bug #78205.

svn path=/trunk/mcs/; revision=59917
2006-04-26 09:34:18 +00:00
Gert Driesen 69340a888f * XmlCodeExporterTests.cs: Added tests for XmlCodeExporter (currently
marked NotWorking).
* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
XmlCodeExporterTests.cs.

svn path=/trunk/mcs/; revision=59707
2006-04-20 18:16:49 +00:00
Atsushi Eno f764fa4dfd 2006-04-12 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources :
	  Added Test/System.Xml/XmlDefaultReader.cs.

	* XmlSchemaValidatingReader.cs : don't reject such XmlReader that
	  does not implement IXmlNamespaceResolver.

	* XmlReaderSettingsTests.cs : 
	  Added CreateValidatorFromNonIXmlNamespaceResolver() which is
	  uncovered by NVDL validator.
	* XmlDefaultReader.cs : new file for above.


svn path=/trunk/mcs/; revision=59399
2006-04-12 10:27:57 +00:00
Andrew Skiba b83c49167b merge java tests stuff from mainsoft.1.7 branch
svn path=/trunk/mcs/; revision=58951
2006-04-03 13:47:42 +00:00
Andrew Skiba 64bf43653c add bat files for running tests with java
svn path=/trunk/mcs/; revision=58936
2006-04-03 12:09:59 +00:00
Boris Kirzner ca27fe0314 Fix project file for TARGET_JVM.
svn path=/trunk/mcs/; revision=58929
2006-04-03 10:31:36 +00:00
Atsushi Eno a40a00bcde 2006-03-15 Atsushi Enomoto <[email protected]>
* XslTransformProcessor.cs,
	  Compiler.cs : eliminate ExpressionStore. Now sorting is done
	  inside XslSortEvaluator.
	* XslSortEvaluator.cs : new file. It handles current node in XSLT
	  context. Fixed bug #77781.

	* Expression.cs : extracted XPathSortElement, XPathSorters
	  and XPathSorter from CompiledExpression, and split
	  XPathSorters.Sort() into some methods. Those changes are to make
	  them reusable in XslSortEvaluator.

	* System.Xml.dll.sources : added XslSortEvaluator.cs.

	* knownFailures.txt : removed two xsl:sort+current() tests.


svn path=/trunk/mcs/; revision=58015
2006-03-15 14:43:45 +00:00