summaryrefslogtreecommitdiffstats
path: root/Lib/test/xmltestdata/c14n-20/inNsContent.xml
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2019-05-01 20:34:13 (GMT)
committerGitHub <noreply@github.com>2019-05-01 20:34:13 (GMT)
commite1d5dd645d5f59867cb0ad63179110f310cbca89 (patch)
tree08f42f6dbd41508652886b10c78dfb190d395933 /Lib/test/xmltestdata/c14n-20/inNsContent.xml
parentee88af3f4f7493df4ecf52faf429e63351bbcd5c (diff)
downloadcpython-e1d5dd645d5f59867cb0ad63179110f310cbca89.zip
cpython-e1d5dd645d5f59867cb0ad63179110f310cbca89.tar.gz
cpython-e1d5dd645d5f59867cb0ad63179110f310cbca89.tar.bz2
bpo-13611: C14N 2.0 implementation for ElementTree (GH-12966)
* Implement C14N 2.0 as a new canonicalize() function in ElementTree. Missing features: - prefix renaming in XPath expressions (tag and attribute text is supported) - preservation of original prefixes given redundant namespace declarations
Diffstat (limited to 'Lib/test/xmltestdata/c14n-20/inNsContent.xml')
-rw-r--r--Lib/test/xmltestdata/c14n-20/inNsContent.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/xmltestdata/c14n-20/inNsContent.xml b/Lib/test/xmltestdata/c14n-20/inNsContent.xml
new file mode 100644
index 0000000..b992466
--- /dev/null
+++ b/Lib/test/xmltestdata/c14n-20/inNsContent.xml
@@ -0,0 +1,4 @@
+<a:foo xmlns:a="http://a" xmlns:b="http://b" xmlns:child="http://c" xmlns:soap-env="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <a:bar>xsd:string</a:bar>
+ <dsig2:IncludedXPath xmlns:dsig2="http://www.w3.org/2010/xmldsig2#">/soap-env:body/child::b:foo[@att1 != "c:val" and @att2 != 'xsd:string']</dsig2:IncludedXPath>
+</a:foo>