99def a ():
1010 xsltQuery = request .args .get ('xml' , '' )
1111 xslt_root = etree .XML (xsltQuery )
12- transform = etree .XSLT (xslt_root ) # Not OK # $ Alert
12+ transform = etree .XSLT (xslt_root ) # $ Alert # Not OK
1313
1414
1515@app .route ("/xslt2" )
@@ -18,7 +18,7 @@ def b():
1818 xslt_root = etree .XML (xsltQuery )
1919 f = StringIO ('<foo><bar></bar></foo>' )
2020 tree = etree .parse (f )
21- result_tree = tree .xslt (xslt_root ) # Not OK # $ Alert
21+ result_tree = tree .xslt (xslt_root ) # $ Alert # Not OK
2222
2323
2424@app .route ("/xslt3" )
@@ -28,7 +28,7 @@ def c():
2828
2929 f = StringIO ('<foo><bar></bar></foo>' )
3030 tree = etree .parse (f )
31- result = tree .xslt (xslt_root , a = "'A'" ) # Not OK # $ Alert
31+ result = tree .xslt (xslt_root , a = "'A'" ) # $ Alert # Not OK
3232
3333@app .route ("/xslt4" )
3434def d ():
@@ -37,7 +37,7 @@ def d():
3737
3838 f = StringIO ('<foo><bar></bar></foo>' )
3939 tree = etree .parse (f )
40- result = tree .xslt (xslt_root , a = "'A'" ) # Not OK # $ Alert
40+ result = tree .xslt (xslt_root , a = "'A'" ) # $ Alert # Not OK
4141
4242@app .route ("/xslt5" )
4343def e ():
@@ -47,7 +47,7 @@ def e():
4747
4848 f = StringIO ('<foo><bar></bar></foo>' )
4949 tree = etree .parse (f )
50- result = tree .xslt (xslt_root , a = "'A'" ) # Not OK # $ Alert
50+ result = tree .xslt (xslt_root , a = "'A'" ) # $ Alert # Not OK
5151
5252
5353@app .route ("/xslt6" )
@@ -76,4 +76,4 @@ def h():
7676
7777 f = StringIO ('<foo><bar></bar></foo>' )
7878 tree = etree .parse (f )
79- result = tree .xslt (xslt_root , a = "'A'" ) # OK
79+ result = tree .xslt (xslt_root , a = "'A'" ) # OK
0 commit comments