diff options
author | Sepideh Khoshnood <sekho@microsoft.com> | 2017-07-22 04:16:05 +0300 |
---|---|---|
committer | Dan Moseley <danmose@microsoft.com> | 2017-07-22 04:16:05 +0300 |
commit | 346b2e171d7a69c1319802ca5be90557b808b1a8 (patch) | |
tree | 138740c1913e0e25287a7bbe7e64722edae9ea99 /src/System.Private.Xml/tests/Xslt | |
parent | b2b47908656ef3b7dcaef62fb342e12aee5f34c4 (diff) |
Fix GetTypeCode mistake in XsltCompileContext (#22512)
Diffstat (limited to 'src/System.Private.Xml/tests/Xslt')
-rw-r--r-- | src/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApi/Bug111075.xsl | 1 | ||||
-rw-r--r-- | src/System.Private.Xml/tests/Xslt/XslTransformApi/CXslTransform.cs | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApi/Bug111075.xsl b/src/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApi/Bug111075.xsl index d223a07931..56c348cab4 100644 --- a/src/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApi/Bug111075.xsl +++ b/src/System.Private.Xml/tests/Xslt/TestFiles/TestData/XsltApi/Bug111075.xsl @@ -4,6 +4,7 @@ xmlns:ext="http://foo.com" extension-element-prefixes="ext"> <xsl:template match="/"> <distinct-countries> <xsl:for-each select="ext:distinct(//@country)"> + <xsl:sort select="." /> <xsl:value-of select="."/> <xsl:if test="position() != last()">, </xsl:if> </xsl:for-each> diff --git a/src/System.Private.Xml/tests/Xslt/XslTransformApi/CXslTransform.cs b/src/System.Private.Xml/tests/Xslt/XslTransformApi/CXslTransform.cs index 967f036c92..b0df559ead 100644 --- a/src/System.Private.Xml/tests/Xslt/XslTransformApi/CXslTransform.cs +++ b/src/System.Private.Xml/tests/Xslt/XslTransformApi/CXslTransform.cs @@ -2711,7 +2711,6 @@ param2 (correct answer is 'local-param2-arg'): local-param2-arg [InlineData(InputType.URI, ReaderType.XmlValidatingReader, TransformType.Stream, DocType.XPathDocument)] [InlineData(InputType.Navigator, ReaderType.XmlValidatingReader, TransformType.TextWriter, DocType.XPathDocument)] [Theory] - [ActiveIssue(22373)] public void TC_XPathNodeIterator_From_ExtensionObject(InputType inputType, ReaderType readerType, TransformType transformType, DocType docType) { m_xsltArg = new XsltArgumentList(); @@ -2719,7 +2718,7 @@ param2 (correct answer is 'local-param2-arg'): local-param2-arg LoadXSL("Bug111075.xsl", inputType, readerType); Transform_ArgList("Bug111075.xml", transformType, docType); - string expected = @"<?xml version=""1.0"" encoding=""utf-8""?><distinct-countries>France, Spain, Austria, Germany</distinct-countries>"; + string expected = @"<?xml version=""1.0"" encoding=""utf-8""?><distinct-countries>Austria, France, Germany, Spain</distinct-countries>"; VerifyResult(expected); } |