-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
The PR #115415 added support for the Azure Linux image in CI. This image sets the default locale to POSIX, which .NET interprets as the Invariant culture. As a result, one of the XslCompiledTransform tests—specifically one that verifies date and time formatting in XSLT—fails because it doesn't handle culture-invariant scenarios correctly.
Relevant test line:
runtime/src/libraries/System.Private.Xml/tests/Xslt/XslCompiledTransformApi/XslCompiledTransform.cs
Line 3168 in 2c94e69
| [InlineData("bug93189.xsl", "bug93189.xml", "bug93189.xml", "NullResolver", true, "XmlReader")] |
To unblock the PR, we’ve temporarily disabled the test. This issue is now tracking the work to re-enable it after updating the test to be culture-agnostic. To do so, the test logic updated accordingly. It will be good consider #93189 when doing so.