* TypeData.cs : fixed setter which did not actually see the argument.
* XmlTypeMapElementInfo.cs : some cosmetic fixes for gendarme-
reported issues.
svn path=/trunk/mcs/; revision=93763
* XslCopyOf.cs : when the evaluated argument was RTF (it could happen
when variable or extensions are used), copy the node itself, not
only its children. Fixed bug #322551.
* XslTransformTests.cs : added test for bug #322551.
svn path=/trunk/mcs/; revision=93314
* XslKey.cs, XslStylesheet.cs, Compiler.cs : XSLT 1.0 does not
prohibit more than one xsl:key with the same QName, so do not use
the name as a 'key' in the table for xsl:key. Fixed bug #351939,
patch by Tor Lillqvist.
* XslTransformTests.cs : added test from bug #351939.
(by Tor Lillqvist)
svn path=/trunk/mcs/; revision=92426
* XslTransformTests.cs : added test for bug #349375. (Actually the
previous checkin fixed bug #349375.)
Added another notworking one inspired by the same bug.
svn path=/trunk/mcs/; revision=91940
* XslTemplate.cs, XslTransformProcessor.cs :
Some disambiguation around whitespace handling (input strip/preserve
and output control).
* XslStylesheet.cs : change GetPreserveWhitespace() to match the
actual behavior; it does not (and should not) really walk through
ancestors. Default whitespace handling depends on the default ("*")
handling. (Those changes should not affect anything.)
svn path=/trunk/mcs/; revision=91939
* XslCompiledTransform.cs : when loading XmlReader as an input to
Transform(), preserve whitespaces in the input document. Based on
the patch by Tor Lillqvist (part of #349375 fix).
svn path=/trunk/mcs/; revision=91930
* Iterator.cs : be more strict to detect the end of
PredicateIterator. Fixed bug #349111.
* XslTransformTests.cs : added test for bug #349111.
svn path=/trunk/mcs/; revision=91405
* Expression.cs : In any comparison expr, treat RTF as equivalent to
string type (as specified in XSLT 1.0 section 11.1: "An operation
is permitted on a result tree fragment only if that operation would
be permitted on a string." ...). Fixed bug #349035.
* XslTransformTests.cs : added test for bug #349035.
svn path=/trunk/mcs/; revision=91402
* XmlUrlResolver.cs : in net_2_0, use Uri.IsAbsoluteUri to filter
relative URIs out.
* XmlUrlResolverTests.cs : fixed test; file://file.txt is to access
such a server whose (domain) name is "file.txt", which is actually
an absolute URI. Remove "regression" in the nunit test.
svn path=/trunk/mcs/; revision=90794
* 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
* XmlTypeMapping.cs : to get schema provider method, check base
types as well (i.e. FlattenHierarchy). Otherwise typed DataSet
cannot be reflected in 2.0.
svn path=/trunk/mcs/; revision=89307
* XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should
allow more strings than existing one. Fixed bug #339004.
* XmlConvertTests.cs : added test for #339004 and more.
svn path=/trunk/mcs/; revision=89305
* 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
* TypeTranslator.cs : for duration, rather use primitiveTypes than
nameCache, and hence TimeSpan could be serialized just as custom
type. Fixed bug #338705.
* XmlSerializerTests.cs : added test for bug #338705.
svn path=/trunk/mcs/; revision=88729
* XmlSchemaImporter.cs : simpleType is allowed to be imported.
(Part of #336739 fix.)
* XmlSchemaImporterTests.cs : test for importing simple-typed
top-level element.
svn path=/trunk/mcs/; revision=88636
* 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
* Compiler.cs : added CheckExtraAttributes() to check invalid
attributes on stylesheet component elements.
Use it in xsl:sort too.
* XslMessage.cs, XslText.cs, XslVariable.cs, XslNumber.cs,
XslElement.cs, XslIf.cs, XslFallback.cs, XslCopyOf.cs,
XslValueOf.cs, XslComment.cs, XslAttribute.cs, XslApplyImports.cs,
XslApplyTemplates.cs, XslForEach.cs, XslCallTemplate.cs,
XslCopy.cs, XslProcessingInstruction.cs, XslChoose.cs:
refactory on checking invalid attributes. Fixed bug #333806.
in Test/System.Xml.Xsl/standalone:
* Makefile: it somehow does not work fine unless nunit-console.exe is
here. So just copy it here when building the test.
svn path=/trunk/mcs/; revision=88459
* XmlSchemaExporterTests.cs : without Infoset(), those tests randomly
fail on .NET. This fix is incomplete. Someone please continue this
boring work. I don't want to do that.
svn path=/trunk/mcs/; revision=88453
* XmlConvert.cs : ToDateTime(string,string) should use ParseExact(),
not Parse(). Use 'K' for roundtrip format.
* XmlCustomFormatter.cs : use RoundtripKind when converting to and
from DateTime.
* XmlConvertTest.cs : added test for DateTime roundtrip.
* XmlSerializerTests.cs : added test for bug #337729.
svn path=/trunk/mcs/; revision=88448
* MapCodeGenerator.cs : found the true culprit for the previous
attempt to the fix.
* XmlCodeExporterTests.cs : enable the previous test again.
svn path=/trunk/mcs/; revision=88365
* MapCodeGenerator.cs, XmlSchemaImporter.cs: revert the previous
change; the type is included in the output, but it should not be
the base type.
* XmlCodeExporterTests.cs : disable the previous test; it's reverted.
svn path=/trunk/mcs/; revision=88364
* MapCodeGenerator.cs, XmlSchemaImporter.cs: when a complexType has
simple content extension/restriction and the simple base type is
schema-defined, it must be written in exported code. Fixed (part
of?) bug #336739.
* XmlCodeExporterTests.cs : added test for (part of?) bug #336739,
base simple content enum type output.
svn path=/trunk/mcs/; revision=88363
* TypeTranslator.cs, XmlCustomFormatter.cs : looks like duration is
serialized to System.String, not TimeSpan. Fixed bug #336625.
* XmlSerializerTests.cs : added test for DataType in [XmlElement].
svn path=/trunk/mcs/; revision=88247
* SubtreeXmlReader.cs : when a subtree reader is closed, the original
reader moves to the end of the subtree. Fixed bug #334752, patch by
Scott Peterson.
* XmlReaderCommonTests.cs : added test for bug #334752.
svn path=/trunk/mcs/; revision=87812
* XmlTextWriter2.cs : making <del>silly</del>funky MS compatibility
change in WriteStartAttribute() to call WriteEndAttribute() if an
attribute is open.
svn path=/trunk/mcs/; revision=87281
* XmlTextWriter2.cs : When it is at Error state, do not try to close
attributes and elements at Close(). They will result in further
error and rather hide the actual issue when disposed.
svn path=/trunk/mcs/; revision=87254
* XslCompiledTransform.cs : actually previous change was not enough.
Added a commented-out example of debugger method usage.
svn path=/trunk/mcs/; revision=87253
* XslCompiledTransform.cs : a bit more of debugging help. Now it
stores stylesheet elements when "enableDebug" is true.
svn path=/trunk/mcs/; revision=87248
* XmlWriter.cs : it is now documented that WriteNode(XPathNavigator)
ignores attributes and namespace decls, so do that.
* XQueryConvert.cs : removed extra stuff that are not in use.
* XmlWriterTests.cs : added WriteNodeXPathNavigatorAttribute().
svn path=/trunk/mcs/; revision=86546