@@ -70,7 +70,7 @@ class XercesDomParserLibrary extends XmlLibrary {
7070 // sink is the read of the qualifier of a call to `AbstractDOMParser.parse`.
7171 exists ( Call call |
7272 call .getTarget ( ) .getClassAndName ( "parse" ) instanceof AbstractDomParserClass and
73- call .getQualifier ( ) = node .asIndirectConvertedExpr ( )
73+ call .getQualifier ( ) = node .asIndirectExpr ( )
7474 ) and
7575 flowstate instanceof XercesFlowState and
7676 not encodeXercesFlowState ( flowstate , 1 , 1 ) // safe configuration
@@ -114,7 +114,7 @@ class CreateLSParserLibrary extends XmlLibrary {
114114 // sink is the read of the qualifier of a call to `DOMLSParserClass.parse`.
115115 exists ( Call call |
116116 call .getTarget ( ) .getClassAndName ( "parse" ) instanceof DomLSParserClass and
117- call .getQualifier ( ) = node .asIndirectConvertedExpr ( )
117+ call .getQualifier ( ) = node .asIndirectExpr ( )
118118 ) and
119119 flowstate instanceof XercesFlowState and
120120 not encodeXercesFlowState ( flowstate , 1 , 1 ) // safe configuration
@@ -155,7 +155,7 @@ class SaxParserLibrary extends XmlLibrary {
155155 // sink is the read of the qualifier of a call to `SAXParser.parse`.
156156 exists ( Call call |
157157 call .getTarget ( ) .getClassAndName ( "parse" ) instanceof SaxParserClass and
158- call .getQualifier ( ) = node .asIndirectConvertedExpr ( )
158+ call .getQualifier ( ) = node .asIndirectExpr ( )
159159 ) and
160160 flowstate instanceof XercesFlowState and
161161 not encodeXercesFlowState ( flowstate , 1 , 1 ) // safe configuration
@@ -192,7 +192,7 @@ class Sax2XmlReaderLibrary extends XmlLibrary {
192192 // sink is the read of the qualifier of a call to `SAX2XMLReader.parse`.
193193 exists ( Call call |
194194 call .getTarget ( ) .getClassAndName ( "parse" ) instanceof Sax2XmlReader and
195- call .getQualifier ( ) = node .asIndirectConvertedExpr ( )
195+ call .getQualifier ( ) = node .asIndirectExpr ( )
196196 ) and
197197 flowstate instanceof XercesFlowState and
198198 not encodeXercesFlowState ( flowstate , 1 , 1 ) // safe configuration
0 commit comments