We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fddc44e + 3b17a3e commit 854582bCopy full SHA for 854582b
coverage-parser/src/main/scala/com/codacy/parsers/util/XMLoader.scala
@@ -1,12 +1,13 @@
1
package com.codacy.parsers.util
2
3
import scala.xml.factory.XMLLoader
4
+import javax.xml.parsers.SAXParserFactory
5
import scala.xml.{Elem, SAXParser}
6
7
object XMLoader extends XMLLoader[Elem] {
8
9
override def parser: SAXParser = {
- val f = new com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl()
10
+ val f = SAXParserFactory.newInstance()
11
f.setNamespaceAware(false)
12
f.setValidating(false)
13
f.setFeature("http://xml.org/sax/features/namespaces", false)
0 commit comments