mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-07-28 08:58:29 -06:00
Removed the Requirement to Install Python and NodeJS (Now Bundled with Borealis)
This commit is contained in:
40
Dependencies/Python/Lib/test/xmltestdata/c14n-20/README
vendored
Normal file
40
Dependencies/Python/Lib/test/xmltestdata/c14n-20/README
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
C14N 2.0 test files
|
||||
===================
|
||||
|
||||
This directory contains files from the draft note document listing
|
||||
test cases for the W3C C14N 2.0 specification:
|
||||
https://www.w3.org/TR/xml-c14n2-testcases/
|
||||
|
||||
Direct source:
|
||||
https://www.w3.org/TR/xml-c14n2-testcases/files/
|
||||
|
||||
Copied and distributed under these terms:
|
||||
https://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html
|
||||
|
||||
Copyright © 2013 W3C® (MIT, ERCIM, Keio, Beihang),
|
||||
All Rights Reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
|
||||
* Redistributions of works must retain the original copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the original copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the W3C nor the names of its contributors may be
|
||||
used to endorse or promote products derived from this work without
|
||||
specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nComment.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nComment.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:c14n2="http://www.w3.org/2010/xml-c14n2" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
<c14n2:IgnoreComments>true</c14n2:IgnoreComments>
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nDefault.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nDefault.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nPrefix.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nPrefix.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:c14n2="http://www.w3.org/2010/xml-c14n2" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
<c14n2:PrefixRewrite>sequential</c14n2:PrefixRewrite>
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
7
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nPrefixQname.xml
vendored
Normal file
7
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nPrefixQname.xml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:c14n2="http://www.w3.org/2010/xml-c14n2" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
<c14n2:PrefixRewrite>sequential</c14n2:PrefixRewrite>
|
||||
<c14n2:QNameAware>
|
||||
<c14n2:QualifiedAttr Name="type" NS="http://www.w3.org/2001/XMLSchema-instance"/>
|
||||
</c14n2:QNameAware>
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
8
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nPrefixQnameXpathElem.xml
vendored
Normal file
8
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nPrefixQnameXpathElem.xml
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:c14n2="http://www.w3.org/2010/xml-c14n2" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
<c14n2:PrefixRewrite>sequential</c14n2:PrefixRewrite>
|
||||
<c14n2:QNameAware>
|
||||
<c14n2:Element Name="bar" NS="http://a"/>
|
||||
<c14n2:XPathElement Name="IncludedXPath" NS="http://www.w3.org/2010/xmldsig2#"/>
|
||||
</c14n2:QNameAware>
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nQname.xml
vendored
Normal file
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nQname.xml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:c14n2="http://www.w3.org/2010/xml-c14n2" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
<c14n2:QNameAware>
|
||||
<c14n2:QualifiedAttr Name="type" NS="http://www.w3.org/2001/XMLSchema-instance"/>
|
||||
</c14n2:QNameAware>
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nQnameElem.xml
vendored
Normal file
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nQnameElem.xml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:c14n2="http://www.w3.org/2010/xml-c14n2" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
<c14n2:QNameAware>
|
||||
<c14n2:Element Name="bar" NS="http://a"/>
|
||||
</c14n2:QNameAware>
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
7
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nQnameXpathElem.xml
vendored
Normal file
7
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nQnameXpathElem.xml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:c14n2="http://www.w3.org/2010/xml-c14n2" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
<c14n2:QNameAware>
|
||||
<c14n2:Element Name="bar" NS="http://a"/>
|
||||
<c14n2:XPathElement Name="IncludedXPath" NS="http://www.w3.org/2010/xmldsig2#"/>
|
||||
</c14n2:QNameAware>
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nTrim.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/c14nTrim.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<dsig:CanonicalizationMethod xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:c14n2="http://www.w3.org/2010/xml-c14n2" Algorithm="http://www.w3.org/2010/xml-c14n2">
|
||||
<c14n2:TrimTextNodes>true</c14n2:TrimTextNodes>
|
||||
</dsig:CanonicalizationMethod>
|
||||
|
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/doc.dtd
vendored
Normal file
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/doc.dtd
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!ELEMENT doc (#PCDATA)>
|
||||
|
||||
|
||||
|
5
Dependencies/Python/Lib/test/xmltestdata/c14n-20/doc.xsl
vendored
Normal file
5
Dependencies/Python/Lib/test/xmltestdata/c14n-20/doc.xsl
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
>
|
||||
</xsl:stylesheet>
|
14
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N1.xml
vendored
Normal file
14
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N1.xml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<?xml-stylesheet href="doc.xsl"
|
||||
type="text/xsl" ?>
|
||||
|
||||
<!DOCTYPE doc SYSTEM "doc.dtd">
|
||||
|
||||
<doc>Hello, world!<!-- Comment 1 --></doc>
|
||||
|
||||
<?pi-without-data ?>
|
||||
|
||||
<!-- Comment 2 -->
|
||||
|
||||
<!-- Comment 3 -->
|
11
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N2.xml
vendored
Normal file
11
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N2.xml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
<doc>
|
||||
<clean> </clean>
|
||||
<dirty> A B </dirty>
|
||||
<mixed>
|
||||
A
|
||||
<clean> </clean>
|
||||
B
|
||||
<dirty> A B </dirty>
|
||||
C
|
||||
</mixed>
|
||||
</doc>
|
18
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N3.xml
vendored
Normal file
18
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N3.xml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE doc [<!ATTLIST e9 attr CDATA "default">]>
|
||||
<doc>
|
||||
<e1 />
|
||||
<e2 ></e2>
|
||||
<e3 name = "elem3" id="elem3" />
|
||||
<e4 name="elem4" id="elem4" ></e4>
|
||||
<e5 a:attr="out" b:attr="sorted" attr2="all" attr="I'm"
|
||||
xmlns:b="http://www.ietf.org"
|
||||
xmlns:a="http://www.w3.org"
|
||||
xmlns="http://example.org"/>
|
||||
<e6 xmlns="" xmlns:a="http://www.w3.org">
|
||||
<e7 xmlns="http://www.ietf.org">
|
||||
<e8 xmlns="" xmlns:a="http://www.w3.org">
|
||||
<e9 xmlns="" xmlns:a="http://www.ietf.org"/>
|
||||
</e8>
|
||||
</e7>
|
||||
</e6>
|
||||
</doc>
|
13
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N4.xml
vendored
Normal file
13
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N4.xml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE doc [
|
||||
<!ATTLIST normId id ID #IMPLIED>
|
||||
<!ATTLIST normNames attr NMTOKENS #IMPLIED>
|
||||
]>
|
||||
<doc>
|
||||
<text>First line
 Second line</text>
|
||||
<value>2</value>
|
||||
<compute><![CDATA[value>"0" && value<"10" ?"valid":"error"]]></compute>
|
||||
<compute expr='value>"0" && value<"10" ?"valid":"error"'>valid</compute>
|
||||
<norm attr=' '   
	 ' '/>
|
||||
<normNames attr=' A   
	 B '/>
|
||||
<normId id=' '  
	 ' '/>
|
||||
</doc>
|
12
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N5.xml
vendored
Normal file
12
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N5.xml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE doc [
|
||||
<!ATTLIST doc attrExtEnt CDATA #IMPLIED>
|
||||
<!ENTITY ent1 "Hello">
|
||||
<!ENTITY ent2 SYSTEM "world.txt">
|
||||
<!ENTITY entExt SYSTEM "earth.gif" NDATA gif>
|
||||
<!NOTATION gif SYSTEM "viewgif.exe">
|
||||
]>
|
||||
<doc attrExtEnt="entExt">
|
||||
&ent1;, &ent2;!
|
||||
</doc>
|
||||
|
||||
<!-- Let world.txt contain "world" (excluding the quotes) -->
|
2
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N6.xml
vendored
Normal file
2
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inC14N6.xml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<doc>©</doc>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsContent.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsContent.xml
vendored
Normal file
@ -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>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsDefault.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsDefault.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<foo xmlns:a="http://a" xmlns:b="http://b">
|
||||
<b:bar b:att1="val" att2="val"/>
|
||||
</foo>
|
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsPushdown.xml
vendored
Normal file
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsPushdown.xml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<a:foo xmlns:a="http://a" xmlns:b="http://b" xmlns:c="http://c">
|
||||
<b:bar/>
|
||||
<b:bar/>
|
||||
<b:bar/>
|
||||
<a:bar b:att1="val"/>
|
||||
</a:foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsRedecl.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsRedecl.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<foo xmlns:a="http://z3" xmlns:b="http://z2" a:att1="val1" b:att2="val2">
|
||||
<bar xmlns="http://z0" xmlns:a="http://z2" a:att1="val1" b:att2="val2" xmlns:b="http://z3" />
|
||||
</foo>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsSort.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsSort.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<a:foo xmlns:a="http://z3" xmlns:b="http://z2" b:att1="val1" c:att3="val3" b:att2="val2" xmlns:c="http://z1" xmlns:d="http://z0">
|
||||
<c:bar/>
|
||||
<c:bar d:att3="val3"/>
|
||||
</a:foo>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsSuperfluous.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsSuperfluous.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<foo xmlns:a="http://z0" xmlns:b="http://z0" a:att1="val1" b:att2="val2" xmlns="http://z0">
|
||||
<c:bar xmlns:a="http://z0" xmlns:c="http://z0" c:att3="val3"/>
|
||||
<d:bar xmlns:d="http://z0"/>
|
||||
</foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsXml.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/inNsXml.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<foo xmlns="http://z0" xml:id="23">
|
||||
<bar xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">data</bar>
|
||||
</foo>
|
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N1_c14nComment.xml
vendored
Normal file
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N1_c14nComment.xml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml-stylesheet href="doc.xsl"
|
||||
type="text/xsl" ?>
|
||||
<doc>Hello, world!<!-- Comment 1 --></doc>
|
||||
<?pi-without-data?>
|
||||
<!-- Comment 2 -->
|
||||
<!-- Comment 3 -->
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N1_c14nDefault.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N1_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml-stylesheet href="doc.xsl"
|
||||
type="text/xsl" ?>
|
||||
<doc>Hello, world!</doc>
|
||||
<?pi-without-data?>
|
11
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N2_c14nDefault.xml
vendored
Normal file
11
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N2_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
<doc>
|
||||
<clean> </clean>
|
||||
<dirty> A B </dirty>
|
||||
<mixed>
|
||||
A
|
||||
<clean> </clean>
|
||||
B
|
||||
<dirty> A B </dirty>
|
||||
C
|
||||
</mixed>
|
||||
</doc>
|
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N2_c14nTrim.xml
vendored
Normal file
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N2_c14nTrim.xml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<doc><clean></clean><dirty>A B</dirty><mixed>A<clean></clean>B<dirty>A B</dirty>C</mixed></doc>
|
14
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N3_c14nDefault.xml
vendored
Normal file
14
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N3_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<doc>
|
||||
<e1></e1>
|
||||
<e2></e2>
|
||||
<e3 id="elem3" name="elem3"></e3>
|
||||
<e4 id="elem4" name="elem4"></e4>
|
||||
<e5 xmlns="http://example.org" xmlns:a="http://www.w3.org" xmlns:b="http://www.ietf.org" attr="I'm" attr2="all" b:attr="sorted" a:attr="out"></e5>
|
||||
<e6>
|
||||
<e7 xmlns="http://www.ietf.org">
|
||||
<e8 xmlns="">
|
||||
<e9 attr="default"></e9>
|
||||
</e8>
|
||||
</e7>
|
||||
</e6>
|
||||
</doc>
|
14
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N3_c14nPrefix.xml
vendored
Normal file
14
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N3_c14nPrefix.xml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<n0:doc xmlns:n0="">
|
||||
<n0:e1></n0:e1>
|
||||
<n0:e2></n0:e2>
|
||||
<n0:e3 id="elem3" name="elem3"></n0:e3>
|
||||
<n0:e4 id="elem4" name="elem4"></n0:e4>
|
||||
<n1:e5 xmlns:n1="http://example.org" xmlns:n2="http://www.ietf.org" xmlns:n3="http://www.w3.org" attr="I'm" attr2="all" n2:attr="sorted" n3:attr="out"></n1:e5>
|
||||
<n0:e6>
|
||||
<n2:e7 xmlns:n2="http://www.ietf.org">
|
||||
<n0:e8>
|
||||
<n0:e9 attr="default"></n0:e9>
|
||||
</n0:e8>
|
||||
</n2:e7>
|
||||
</n0:e6>
|
||||
</n0:doc>
|
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N3_c14nTrim.xml
vendored
Normal file
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N3_c14nTrim.xml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<doc><e1></e1><e2></e2><e3 id="elem3" name="elem3"></e3><e4 id="elem4" name="elem4"></e4><e5 xmlns="http://example.org" xmlns:a="http://www.w3.org" xmlns:b="http://www.ietf.org" attr="I'm" attr2="all" b:attr="sorted" a:attr="out"></e5><e6><e7 xmlns="http://www.ietf.org"><e8 xmlns=""><e9 attr="default"></e9></e8></e7></e6></doc>
|
10
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N4_c14nDefault.xml
vendored
Normal file
10
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N4_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
<doc>
|
||||
<text>First line
|
||||
Second line</text>
|
||||
<value>2</value>
|
||||
<compute>value>"0" && value<"10" ?"valid":"error"</compute>
|
||||
<compute expr="value>"0" && value<"10" ?"valid":"error"">valid</compute>
|
||||
<norm attr=" ' 
	 ' "></norm>
|
||||
<normNames attr="A 
	 B"></normNames>
|
||||
<normId id="' 
	 '"></normId>
|
||||
</doc>
|
2
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N4_c14nTrim.xml
vendored
Normal file
2
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N4_c14nTrim.xml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
<doc><text>First line
|
||||
Second line</text><value>2</value><compute>value>"0" && value<"10" ?"valid":"error"</compute><compute expr="value>"0" && value<"10" ?"valid":"error"">valid</compute><norm attr=" ' 
	 ' "></norm><normNames attr="A 
	 B"></normNames><normId id="' 
	 '"></normId></doc>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N5_c14nDefault.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N5_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<doc attrExtEnt="entExt">
|
||||
Hello, world!
|
||||
</doc>
|
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N5_c14nTrim.xml
vendored
Normal file
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N5_c14nTrim.xml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<doc attrExtEnt="entExt">Hello, world!</doc>
|
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N6_c14nDefault.xml
vendored
Normal file
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inC14N6_c14nDefault.xml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<doc>©</doc>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsContent_c14nDefault.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsContent_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<a:foo xmlns:a="http://a">
|
||||
<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>
|
@ -0,0 +1,4 @@
|
||||
<n0:foo xmlns:n0="http://a">
|
||||
<n0:bar xmlns:n1="http://www.w3.org/2001/XMLSchema">n1:string</n0:bar>
|
||||
<n4:IncludedXPath xmlns:n2="http://b" xmlns:n3="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:n4="http://www.w3.org/2010/xmldsig2#">/n3:body/child::n2:foo[@att1 != "c:val" and @att2 != 'xsd:string']</n4:IncludedXPath>
|
||||
</n0:foo>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsContent_c14nQnameElem.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsContent_c14nQnameElem.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<a:foo xmlns:a="http://a">
|
||||
<a:bar xmlns:xsd="http://www.w3.org/2001/XMLSchema">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>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsContent_c14nQnameXpathElem.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsContent_c14nQnameXpathElem.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<a:foo xmlns:a="http://a">
|
||||
<a:bar xmlns:xsd="http://www.w3.org/2001/XMLSchema">xsd:string</a:bar>
|
||||
<dsig2:IncludedXPath xmlns:b="http://b" xmlns:dsig2="http://www.w3.org/2010/xmldsig2#" xmlns:soap-env="http://schemas.xmlsoap.org/wsdl/soap/">/soap-env:body/child::b:foo[@att1 != "c:val" and @att2 != 'xsd:string']</dsig2:IncludedXPath>
|
||||
</a:foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsDefault_c14nDefault.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsDefault_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<foo>
|
||||
<b:bar xmlns:b="http://b" att2="val" b:att1="val"></b:bar>
|
||||
</foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsDefault_c14nPrefix.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsDefault_c14nPrefix.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<n0:foo xmlns:n0="">
|
||||
<n1:bar xmlns:n1="http://b" att2="val" n1:att1="val"></n1:bar>
|
||||
</n0:foo>
|
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsPushdown_c14nDefault.xml
vendored
Normal file
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsPushdown_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<a:foo xmlns:a="http://a">
|
||||
<b:bar xmlns:b="http://b"></b:bar>
|
||||
<b:bar xmlns:b="http://b"></b:bar>
|
||||
<b:bar xmlns:b="http://b"></b:bar>
|
||||
<a:bar xmlns:b="http://b" b:att1="val"></a:bar>
|
||||
</a:foo>
|
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsPushdown_c14nPrefix.xml
vendored
Normal file
6
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsPushdown_c14nPrefix.xml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<n0:foo xmlns:n0="http://a">
|
||||
<n1:bar xmlns:n1="http://b"></n1:bar>
|
||||
<n1:bar xmlns:n1="http://b"></n1:bar>
|
||||
<n1:bar xmlns:n1="http://b"></n1:bar>
|
||||
<n0:bar xmlns:n1="http://b" n1:att1="val"></n0:bar>
|
||||
</n0:foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsRedecl_c14nDefault.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsRedecl_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<foo xmlns:a="http://z3" xmlns:b="http://z2" b:att2="val2" a:att1="val1">
|
||||
<bar xmlns="http://z0" xmlns:a="http://z2" xmlns:b="http://z3" a:att1="val1" b:att2="val2"></bar>
|
||||
</foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsRedecl_c14nPrefix.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsRedecl_c14nPrefix.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<n0:foo xmlns:n0="" xmlns:n1="http://z2" xmlns:n2="http://z3" n1:att2="val2" n2:att1="val1">
|
||||
<n3:bar xmlns:n3="http://z0" n1:att1="val1" n2:att2="val2"></n3:bar>
|
||||
</n0:foo>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsSort_c14nDefault.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsSort_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<a:foo xmlns:a="http://z3" xmlns:b="http://z2" xmlns:c="http://z1" c:att3="val3" b:att1="val1" b:att2="val2">
|
||||
<c:bar></c:bar>
|
||||
<c:bar xmlns:d="http://z0" d:att3="val3"></c:bar>
|
||||
</a:foo>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsSort_c14nPrefix.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsSort_c14nPrefix.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<n2:foo xmlns:n0="http://z1" xmlns:n1="http://z2" xmlns:n2="http://z3" n0:att3="val3" n1:att1="val1" n1:att2="val2">
|
||||
<n0:bar></n0:bar>
|
||||
<n0:bar xmlns:n3="http://z0" n3:att3="val3"></n0:bar>
|
||||
</n2:foo>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsSuperfluous_c14nDefault.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsSuperfluous_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<foo xmlns="http://z0" xmlns:a="http://z0" xmlns:b="http://z0" a:att1="val1" b:att2="val2">
|
||||
<c:bar xmlns:c="http://z0" c:att3="val3"></c:bar>
|
||||
<d:bar xmlns:d="http://z0"></d:bar>
|
||||
</foo>
|
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsSuperfluous_c14nPrefix.xml
vendored
Normal file
4
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsSuperfluous_c14nPrefix.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<n0:foo xmlns:n0="http://z0" n0:att1="val1" n0:att2="val2">
|
||||
<n0:bar n0:att3="val3"></n0:bar>
|
||||
<n0:bar></n0:bar>
|
||||
</n0:foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsXml_c14nDefault.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsXml_c14nDefault.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<foo xmlns="http://z0" xml:id="23">
|
||||
<bar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">data</bar>
|
||||
</foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsXml_c14nPrefix.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsXml_c14nPrefix.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<n0:foo xmlns:n0="http://z0" xml:id="23">
|
||||
<n0:bar xmlns:n1="http://www.w3.org/2001/XMLSchema-instance" n1:type="xsd:string">data</n0:bar>
|
||||
</n0:foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsXml_c14nPrefixQname.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsXml_c14nPrefixQname.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<n0:foo xmlns:n0="http://z0" xml:id="23">
|
||||
<n0:bar xmlns:n1="http://www.w3.org/2001/XMLSchema" xmlns:n2="http://www.w3.org/2001/XMLSchema-instance" n2:type="n1:string">data</n0:bar>
|
||||
</n0:foo>
|
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsXml_c14nQname.xml
vendored
Normal file
3
Dependencies/Python/Lib/test/xmltestdata/c14n-20/out_inNsXml_c14nQname.xml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<foo xmlns="http://z0" xml:id="23">
|
||||
<bar xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">data</bar>
|
||||
</foo>
|
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/world.txt
vendored
Normal file
1
Dependencies/Python/Lib/test/xmltestdata/c14n-20/world.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
world
|
2
Dependencies/Python/Lib/test/xmltestdata/expat224_utf8_bug.xml
vendored
Normal file
2
Dependencies/Python/Lib/test/xmltestdata/expat224_utf8_bug.xml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
<a b='01234567890123456古人咏雪抽幽思骋妍辞竞险韵偶得一编奇绝辄擅美当时流声后代是以北门之风南山之雅梁园之简黄台之赋至今为作家称述尚矣及至洛阳之卧剡溪之兴灞桥之思亦皆传为故事钱塘沈履德先生隐居西湖两峰间孤高贞洁与雪同调方大雪满天皴肤粟背之际先生乃鹿中豹舄端居闭门或扶童曳杖踏遍六桥三竺时取古人诗讽咏之合唐宋元诸名家集句成诗得二百四十章联络通穿如出一人如呵一气气立于言表格备于篇中略无掇拾补凑之形非胸次包罗壮阔笔底驱走鲍谢欧苏诸公不能为此世称王荆公为集句擅长观其在钟山对雪仅题数篇未见有此噫嘻奇矣哉亦富矣哉予慕先生有袁安之节愧不能为慧可之立乃取新集命工传写使海内同好者知先生为博古传述之士而一新世人之耳目他日必有慕潜德阐幽光而剞劂以传者余实为之执殳矣
|
||||
弘治戊午仲冬望日慈溪杨子器衵于海虞官舍序毕诗部' />
|
7
Dependencies/Python/Lib/test/xmltestdata/simple-ns.xml
vendored
Normal file
7
Dependencies/Python/Lib/test/xmltestdata/simple-ns.xml
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<?pi data?>
|
||||
<!-- comment -->
|
||||
<root xmlns='namespace'>
|
||||
<element key='value'>text</element>
|
||||
<element>text</element>tail
|
||||
<empty-element/>
|
||||
</root>
|
6
Dependencies/Python/Lib/test/xmltestdata/simple.xml
vendored
Normal file
6
Dependencies/Python/Lib/test/xmltestdata/simple.xml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<!-- comment -->
|
||||
<root>
|
||||
<element key='value'>text</element>
|
||||
<element>text</element>tail
|
||||
<empty-element/>
|
||||
</root>
|
115
Dependencies/Python/Lib/test/xmltestdata/test.xml
vendored
Normal file
115
Dependencies/Python/Lib/test/xmltestdata/test.xml
vendored
Normal file
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<HTML xmlns:pp="http://www.isogen.com/paul/post-processor">
|
||||
<TITLE>Introduction to XSL</TITLE>
|
||||
<H1>Introduction to XSL</H1>
|
||||
|
||||
|
||||
|
||||
<HR/>
|
||||
<H2>Overview
|
||||
</H2>
|
||||
<UL>
|
||||
|
||||
<LI>1.Intro</LI>
|
||||
|
||||
<LI>2.History</LI>
|
||||
|
||||
<LI>3.XSL Basics</LI>
|
||||
|
||||
<LI>Lunch</LI>
|
||||
|
||||
<LI>4.An XML Data Model</LI>
|
||||
|
||||
<LI>5.XSL Patterns</LI>
|
||||
|
||||
<LI>6.XSL Templates</LI>
|
||||
|
||||
<LI>7.XSL Formatting Model
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR/>
|
||||
<H2>Intro</H2>
|
||||
<UL>
|
||||
|
||||
<LI>Who am I?</LI>
|
||||
|
||||
<LI>Who are you?</LI>
|
||||
|
||||
<LI>Why are we here?
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR/>
|
||||
<H2>History: XML and SGML</H2>
|
||||
<UL>
|
||||
|
||||
<LI>XML is a subset of SGML.</LI>
|
||||
|
||||
<LI>SGML allows the separation of abstract content from formatting.</LI>
|
||||
|
||||
<LI>Also one of XML's primary virtues (in the doc publishing domain).
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR/>
|
||||
<H2>History: What are stylesheets?</H2>
|
||||
<UL>
|
||||
|
||||
<LI>Stylesheets specify the formatting of SGML/XML documents.</LI>
|
||||
|
||||
<LI>Stylesheets put the "style" back into documents.</LI>
|
||||
|
||||
<LI>New York Times content+NYT Stylesheet = NYT paper
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR/>
|
||||
<H2>History: FOSI</H2>
|
||||
<UL>
|
||||
|
||||
<LI>FOSI: "Formatted Output Specification Instance"
|
||||
<UL>
|
||||
<LI>MIL-STD-28001
|
||||
</LI>
|
||||
|
||||
<LI>FOSI's are SGML documents
|
||||
</LI>
|
||||
|
||||
<LI>A stylesheet for another document
|
||||
</LI>
|
||||
</UL></LI>
|
||||
|
||||
<LI>Obsolete but implemented...
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
<EFBFBD>
|
||||
|
||||
</HTML>
|
115
Dependencies/Python/Lib/test/xmltestdata/test.xml.out
vendored
Normal file
115
Dependencies/Python/Lib/test/xmltestdata/test.xml.out
vendored
Normal file
@ -0,0 +1,115 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<HTML xmlns:pp="http://www.isogen.com/paul/post-processor">
|
||||
<TITLE>Introduction to XSL</TITLE>
|
||||
<H1>Introduction to XSL</H1>
|
||||
|
||||
|
||||
|
||||
<HR></HR>
|
||||
<H2>Overview
|
||||
</H2>
|
||||
<UL>
|
||||
|
||||
<LI>1.Intro</LI>
|
||||
|
||||
<LI>2.History</LI>
|
||||
|
||||
<LI>3.XSL Basics</LI>
|
||||
|
||||
<LI>Lunch</LI>
|
||||
|
||||
<LI>4.An XML Data Model</LI>
|
||||
|
||||
<LI>5.XSL Patterns</LI>
|
||||
|
||||
<LI>6.XSL Templates</LI>
|
||||
|
||||
<LI>7.XSL Formatting Model
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR></HR>
|
||||
<H2>Intro</H2>
|
||||
<UL>
|
||||
|
||||
<LI>Who am I?</LI>
|
||||
|
||||
<LI>Who are you?</LI>
|
||||
|
||||
<LI>Why are we here?
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR></HR>
|
||||
<H2>History: XML and SGML</H2>
|
||||
<UL>
|
||||
|
||||
<LI>XML is a subset of SGML.</LI>
|
||||
|
||||
<LI>SGML allows the separation of abstract content from formatting.</LI>
|
||||
|
||||
<LI>Also one of XML's primary virtues (in the doc publishing domain).
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR></HR>
|
||||
<H2>History: What are stylesheets?</H2>
|
||||
<UL>
|
||||
|
||||
<LI>Stylesheets specify the formatting of SGML/XML documents.</LI>
|
||||
|
||||
<LI>Stylesheets put the "style" back into documents.</LI>
|
||||
|
||||
<LI>New York Times content+NYT Stylesheet = NYT paper
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<HR></HR>
|
||||
<H2>History: FOSI</H2>
|
||||
<UL>
|
||||
|
||||
<LI>FOSI: "Formatted Output Specification Instance"
|
||||
<UL>
|
||||
<LI>MIL-STD-28001
|
||||
</LI>
|
||||
|
||||
<LI>FOSI's are SGML documents
|
||||
</LI>
|
||||
|
||||
<LI>A stylesheet for another document
|
||||
</LI>
|
||||
</UL></LI>
|
||||
|
||||
<LI>Obsolete but implemented...
|
||||
</LI>
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
<EFBFBD>
|
||||
|
||||
</HTML>
|
Reference in New Issue
Block a user