File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/iTextSharp.LGPLv2.Core.FunctionalTests/Issues Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,14 @@ public void Verify_Issue95_XfaForm_SerializeDoc_Does_Not_Add_Xml_Declaration()
3838 // It should not be there, as its presence causes the parsing of the XFA data to fail.
3939 var containsXmlDeclaration = text . IndexOf (
4040 XmlDeclarationFragment ,
41- StringComparison . InvariantCultureIgnoreCase ) == 0 ;
41+ StringComparison . OrdinalIgnoreCase ) == 0 ;
4242
4343 // We should have the root element at the beginning of the serialized text ; this also
4444 // makes sure that we're not mstakenly adding the UTF-8 identifier to the beginning of
4545 // the serialized text
4646 var startsWithRootelement = text . IndexOf (
4747 XmlElementRootFragment ,
48- StringComparison . InvariantCulture ) == 0 ;
48+ StringComparison . Ordinal ) == 0 ;
4949
5050 Assert . IsFalse ( containsXmlDeclaration ) ;
5151 Assert . IsTrue ( startsWithRootelement ) ;
You can’t perform that action at this time.
0 commit comments