File tree 1 file changed +5
-5
lines changed
jvm/src/test/scala/scala/xml
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -547,27 +547,27 @@ class XMLTestJVM {
547
547
548
548
@ UnitTest
549
549
def issue17ExternalGeneralEntities : Unit = {
550
- assertFalse (defaultParserFactory.getFeature(" http://xml.org/sax/features/external-general-entities" ))
550
+ assertTrue (defaultParserFactory.getFeature(" http://xml.org/sax/features/external-general-entities" ))
551
551
}
552
552
553
553
@ UnitTest
554
554
def issue17LoadExternalDtd : Unit = {
555
- assertFalse (defaultParserFactory.getFeature(" http://apache.org/xml/features/nonvalidating/load-external-dtd" ))
555
+ assertTrue (defaultParserFactory.getFeature(" http://apache.org/xml/features/nonvalidating/load-external-dtd" ))
556
556
}
557
557
558
558
@ UnitTest
559
559
def issue17DisallowDoctypeDecl : Unit = {
560
- assertTrue (defaultParserFactory.getFeature(" http://apache.org/xml/features/disallow-doctype-decl" ))
560
+ assertFalse (defaultParserFactory.getFeature(" http://apache.org/xml/features/disallow-doctype-decl" ))
561
561
}
562
562
563
563
@ UnitTest
564
564
def issue17ExternalParameterEntities : Unit = {
565
- assertFalse (defaultParserFactory.getFeature(" http://xml.org/sax/features/external-parameter-entities" ))
565
+ assertTrue (defaultParserFactory.getFeature(" http://xml.org/sax/features/external-parameter-entities" ))
566
566
}
567
567
568
568
@ UnitTest
569
569
def issue17ResolveDtdUris : Unit = {
570
- assertFalse (defaultParserFactory.getFeature(" http://xml.org/sax/features/resolve-dtd-uris" ))
570
+ assertTrue (defaultParserFactory.getFeature(" http://xml.org/sax/features/resolve-dtd-uris" ))
571
571
}
572
572
573
573
@ UnitTest
You can’t perform that action at this time.
0 commit comments