Python: Promote xmltodict modeling

This commit is contained in:
Rasmus Wriedt Larsen
2022-03-31 10:28:34 +02:00
parent 80b5cde3a2
commit 7f5f7679f8
7 changed files with 43 additions and 22 deletions

View File

@@ -1,8 +0,0 @@
import xmltodict
x = "some xml"
xmltodict.parse(x) # $ decodeFormat=XML decodeInput=x decodeOutput=xmltodict.parse(..)
xmltodict.parse(xml_input=x) # $ decodeFormat=XML decodeInput=x decodeOutput=xmltodict.parse(..)
xmltodict.parse(x, disable_entities=False) # $ decodeFormat=XML decodeInput=x xmlVuln='Billion Laughs' xmlVuln='Quadratic Blowup' decodeOutput=xmltodict.parse(..)