Adds 1192 xunit tests for System.XML from CoreFX
Also, moves common lines from `mobile_System.Xml.sources` and `System.Xml.sources` to `common.sources`
Part of #8132
It should be using RESOURCE_STRINGS, but mcs doesn't support its special
option for string resources for multiple files.
The resource .cs files are generated by genresstringcs.sh, but System.Xml.txt
contains some bogus characters that prevents source generation, so after
the tool has generated the sources, I manually fixed them.
It won't matter once mcs supports the option for multiple files anyways.
Removed Configuration dependencies and codegenerator parts in XmlSerializer
as well as switching CodeIdentifier implementation to old mono stuff
as referencesource totally depends on CodeDom (mono doesn't).
It is documented in MSDN and I could implement it.
For the actual implementation of object-to-string conversion, I could pick
up dead old XmlValueConverter class from pre-RTM .NET 2.0(!).
It is now added to the sources where applicable.
* 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
* 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
* 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
* 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
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
* 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
* XmlNamespaceManager.cs : added internal LookupPrefixExclusive()
which discards "overriden" namespaces.
* XmlTextWriter2.cs : fresh implementation.
- The source structure is simplified and cleaner.
- When outputting escaped string, output directly to TextWriter.
- roughly 20% performance improvement.
(Also fixed previous perf. evaluation excess in ChangeLog.)
* XmlReaderCommonTests.cs : added custom assertion overload that takes
test label.
* XmlNodeReaderTests.cs : labeled some.
* XmlTextWriterTests.cs :
Changed the semantics of AttributeNamespacesXmlnsXmlns() and
removed NotDotNet (in contrast this test should fail with previous
version of XmlTextWriter). See the code comment for details.
Added WriteQualifiedNameXmlnsError().
* System.Xml.dll.sources : removed XmlTextWriterOpenElement.cs and
XmlTextWriter.cs. Added XmlTextWriter2.cs, to be renamed to
XmlTextWriter.cs in a few days or weeks.
svn path=/trunk/mcs/; revision=57095
* DTDValidatingReader2.cs, EntityResolvingXmlReader.cs :
new files for refactoring DTD validating reader. As the first stage,
it splits entity handling process from DTD validation step.
(DTDValidatingReader.cs will be removed at some stage).
* System.Xml.dll.sources : removed DTDValidatingReader and added
DTDValidatingReader2.cs and EntityResolvingXmlReader.cs.
svn path=/trunk/mcs/; revision=56967
* IHasXmlChildNode.cs :
New internal interface to hold LastLinkedChild.
* XmlNodeListChildren.cs XmlEntity.cs XmlElement.cs XmlAttribute.cs
XmlLinkedNode.cs XmlEntityReference.cs XmlNode.cs
XmlDocumentFragment.cs XmlDocument.cs : use it. It minimizes memory
consumption in XmlText, XmlWhitespace, XmlComment etc.
* System.Xml.dll.sources : added IHasXmlChildNode.cs.
svn path=/trunk/mcs/; revision=56945
* System.Xml.dll.sources : added XmlIteratorNodeList.cs.
* XmlIteratorNodeList.cs : new file for XmlNodeList implementation.
It does not iterate all nodes in advance.
* XmlNode.cs : use XmlIteratorNodeList in SelectNodes().
svn path=/trunk/mcs/; revision=56148
* 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
* XslNotSupportedOperation.cs : added not-supported template content
type. Such elements should be rejected only run-time (since there
could be future-version-only template content).
* XslCompiledElement.cs : added XslCompiledElementBase type, for
not invoking Compile() in base .ctor() (in some types this design
forces us to add extraneous protected fields to the base type).
* XslTemplateContent.cs : added "sort" element check (except for
xsl:for-each, it should be skipped).
* Compiler.cs : added another CompileTemplateContent() which is
requred in xsl:for-each. Commented out unused method.
* System.Xml.dll.sources : Added XslNotSupportedOperation.cs.
svn path=/trunk/mcs/; revision=41444
* 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