src/reportlab/rl_settings.py
changeset 4734 4f30137c136e
parent 4727 e248e02caf93
child 4741 dd7984bee12f
--- a/src/reportlab/rl_settings.py	Thu Jul 21 09:29:56 2022 +0100
+++ b/src/reportlab/rl_settings.py	Wed Aug 03 13:24:40 2022 +0100
@@ -67,7 +67,8 @@
 encryptionStrength
 trustedHosts
 trustedSchemes
-renderPMBackend'''.split())
+renderPMBackend
+xmlParser'''.split())
 
 allowTableBoundsErrors =    1 # set to 0 to die on too large elements in tables in debug (recommend 1 for production use)
 shapeChecking =             1
@@ -157,6 +158,7 @@
 trustedSchemes=['file', 'rml', 'data', 'https',     #these url schemes are trusted
                 'http', 'ftp']
 renderPMBackend='_renderPM'                         #or 'rlPyCairo' if available
+xmlParser='lxml'                                    #or 'pyrxp' for preferred xml parsing
 
 # places to look for T1Font information
 T1SearchPath =  (