Vendor dependencies for 0.3.0 release

This commit is contained in:
2025-09-27 10:29:08 -05:00
parent 0c8d39d483
commit 82ab7f317b
26803 changed files with 16134934 additions and 0 deletions

91
vendor/roxmltree/tests/files/README.md vendored Normal file
View File

@@ -0,0 +1,91 @@
### Tests
- attrs_001 - simple attribute
- attrs_002 - attribute value with new lines
- attrs_003 - attribute value with escaped text
- attrs_004 - attribute value with escaped text
- attrs_005 - attribute value with \r\n
- attrs_006 - escaped `<`
- attrs_err_001 - duplicated attributes
- attrs_err_002 - duplicated attributes via namespaces
- cdata_001 - simple case
- cdata_002 - simple case
- cdata_003 - empty
- cdata_004 - simple case
- cdata_005 - mixed text and cdata
- cdata_006 - simple case
- cdata_007 - with \r
- comments_001 - comment before and after the root element
- elems_err_001 - invalid tree structure
- elems_err_002 - invalid tree structure with namespace
- entity_001 - entity reference to an element
- entity_002 - entity reference to an attribute value
- entity_003 - many entity references to an attribute value
- entity_004 - entity reference to a text
- entity_005 - unused entity reference
- entity_006 - entity reference to an escaped text
- entity_007 - indirect entity reference to an attribute value
- entity_008 - entity reference to an element
- entity_009 - entity reference to a mixed content
- entity_010 - entity reference to an element with an entity reference
- entity_011 - character and entity references in attributes
- entity_012 - mixed entity references in text
- entity_013 - many entity references in text
- entity_014 - many entity references in attribute
- entity_err_001 - unknown entity reference
- entity_err_002 - recursive entity references
- entity_err_003 - reference to a close tag
- entity_err_004 - reference to a close tag
- entity_err_005 - billion laughs
- entity_err_006 - billion laughs
- entity_err_007 - malformed entity inside an attribute
- entity_err_008 - malformed entity inside a character data/text
- entity_err_009 - escaped `<` inside an attribute inside an entity is an error
- ns_001 - attributes with different namespaces
- ns_002 - attribute is not affected by the default namespace
- ns_003 - attributes with different namespaces
- ns_004 - `href` with a custom prefix
- ns_005 - `xml` namespace resolving
- ns_006 - `xml` namespace overriding
- ns_007 - many namespaces
- ns_008 - namespace propagation
- ns_009 - namespace overwriting
- ns_010 - indirect namespace propagation
- ns_011 - empty URI
- ns_012 - namespace propagation
- ns_013 - namespace from entity
- ns_014 - no namespaces
- ns_015 - duplicated namespaces with different prefixes and a child element without prefix
- ns_016 - an empty element with namespace on parent
- ns_017 - duplicated namespaces with different prefixes and a child element with prefix
- ns_err_001 - invalid `xml` URI
- ns_err_002 - reserved URI
- ns_err_003 - reserved URI
- ns_err_004 - duplicated namespaces
- ns_err_005 - escaped namespace
- ns_err_006 - escaped namespace
- ns_err_007 - reserved URI
- ns_err_008 - reserved URI
- ns_err_009 - `xmlns` cannot be used as an element prefix
- ns_err_010 - an element with an unknown namespace
- ns_err_011 - an attribute with an unknown namespace
- ns_err_012 - closing tag with missing namespace prefix
- ns_err_013 - closing tag with missing namespace prefix and default namespace
- text_001 - single space text
- text_002 - single escaped space text
- text_003 - escaped text
- text_004 - '>' text
- text_005 - '\n\r\r\n' text
- text_006 - '\r\r\r' text
- text_007 - '\r\n\r\n' text
- text_008 - only whitespaces
- text_009 - escaped text
- text_010 - text around elements
- text_011 - mixed character references in text
- text_012 - non-ASCII text
- tree_001 - all node types
- tree_002 - BOM
- tree_003 - Windows-1251 encoding
- tree_err_001 - no elements
- tree_err_002 - root element not closed
- tree_err_003 - child element not closed

View File

@@ -0,0 +1 @@
<p a='b'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
attributes:
a: "b"

View File

@@ -0,0 +1,3 @@
<p a='
xyz'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
attributes:
a: " xyz"

View File

@@ -0,0 +1 @@
<p a='A&#x20;B'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
attributes:
a: "A B"

View File

@@ -0,0 +1 @@
<p a='&#xd;&#xd;A&#xa;&#xa;B&#xd;&#xa;'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
attributes:
a: "\r\rA\n\nB\r\n"

View File

@@ -0,0 +1,3 @@
<e a='
b
'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: e
attributes:
a: " b "

View File

@@ -0,0 +1 @@
<e a='&lt;'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: e
attributes:
a: "<"

View File

@@ -0,0 +1 @@
<e a='b1' a='b2'/>

View File

@@ -0,0 +1 @@
error: "attribute 'a' at 1:11 is already defined"

View File

@@ -0,0 +1 @@
<e xmlns:n1='http://www.w3.org' xmlns:n2='http://www.w3.org' n1:a='b1' n2:a='b2'/>

View File

@@ -0,0 +1 @@
error: "attribute 'a' at 1:72 is already defined"

View File

@@ -0,0 +1,3 @@
<doc>
<![CDATA[<greeting>Hello, world!</greeting>]]>
</doc>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: doc
children:
- Text: "\n<greeting>Hello, world!</greeting>\n"

View File

@@ -0,0 +1,3 @@
<e><![CDATA[
<![CDATA[abc]]]>]&gt;<![CDATA[
]]></e>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: e
children:
- Text: "\n <![CDATA[abc]]>\n "

View File

@@ -0,0 +1,3 @@
<p>
<![CDATA[]]>
</p>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
children:
- Text: "\n \n"

View File

@@ -0,0 +1,7 @@
<p>
some
<p>
<![CDATA[long]]>
</p>
text
</p>

View File

@@ -0,0 +1,10 @@
Document:
- Element:
tag_name: p
children:
- Text: "\n some\n "
- Element:
tag_name: p
children:
- Text: "\n long\n "
- Text: "\n text\n"

View File

@@ -0,0 +1 @@
<p>T<![CDATA[e]]>x<![CDATA[t]]></p>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
children:
- Text: "Text"

View File

@@ -0,0 +1,5 @@
<svg>
<style><![CDATA[
text
]]></style>
</svg>

After

Width:  |  Height:  |  Size: 63 B

View File

@@ -0,0 +1,10 @@
Document:
- Element:
tag_name: svg
children:
- Text: "\n "
- Element:
tag_name: style
children:
- Text: "\n text\n "
- Text: "\n"

View File

@@ -0,0 +1,4 @@
<svg>
<style><![CDATA[some
long
text

After

Width:  |  Height:  |  Size: 61 B

View File

@@ -0,0 +1,10 @@
Document:
- Element:
tag_name: svg
children:
- Text: "\n "
- Element:
tag_name: style
children:
- Text: "some\nlong\ntext\n"
- Text: "\n"

View File

@@ -0,0 +1,3 @@
<!-- comment -->
<root/>
<!-- comment -->

View File

@@ -0,0 +1,5 @@
Document:
- Comment: " comment "
- Element:
tag_name: root
- Comment: " comment "

View File

@@ -0,0 +1,3 @@
<root>
<item>
</root>

View File

@@ -0,0 +1 @@
error: "expected 'item' tag, not 'root' at 3:1"

View File

@@ -0,0 +1,3 @@
<t:root xmlns:t='http://www.w3.org'>
<t:item>
</t:root>

View File

@@ -0,0 +1 @@
error: "expected 't:item' tag, not 't:root' at 3:1"

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY p '<p/>'>
]>
<root>&p;</root>

View File

@@ -0,0 +1,6 @@
Document:
- Element:
tag_name: root
children:
- Element:
tag_name: p

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY v 'b'>
]>
<p a='&v;'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
attributes:
a: "b"

View File

@@ -0,0 +1,6 @@
<!DOCTYPE test [
<!ENTITY d '&#xD;'>
<!ENTITY a '&#xA;'>
<!ENTITY da '&#xD;&#xA;'>
]>
<p a='&d;&d;A&a;&#x20;&a;B&da;'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
attributes:
a: " A B "

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY b 'text'>
]>
<p>&b;</p>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
children:
- Text: "text"

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY b 'text'>
]>
<e/>

View File

@@ -0,0 +1,3 @@
Document:
- Element:
tag_name: e

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY b 'Some&#x20;text'>
]>
<p>&b;</p>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: p
children:
- Text: "Some text"

View File

@@ -0,0 +1,5 @@
<!DOCTYPE test [
<!ENTITY a '&b;'>
<!ENTITY b 'text'>
]>
<e a='&a;'/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: e
attributes:
a: "text"

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY p ' <p/> '>
]>
<root>&p;</root>

View File

@@ -0,0 +1,8 @@
Document:
- Element:
tag_name: root
children:
- Text: " "
- Element:
tag_name: p
- Text: " "

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY p 'text<p/>text'>
]>
<root>&p;</root>

View File

@@ -0,0 +1,8 @@
Document:
- Element:
tag_name: root
children:
- Text: "text"
- Element:
tag_name: p
- Text: "text"

View File

@@ -0,0 +1,5 @@
<!DOCTYPE test [
<!ENTITY q 'b'>
<!ENTITY p '<p a="&q;"/>'>
]>
<root>&p;</root>

View File

@@ -0,0 +1,8 @@
Document:
- Element:
tag_name: root
children:
- Element:
tag_name: p
attributes:
a: "b"

View File

@@ -0,0 +1,9 @@
<!DOCTYPE test [
<!ENTITY d '&#xD;'>
<!ENTITY a '&#xA;'>
<!ENTITY da '&#xD;&#xA;'>
]>
<root>
<p a='&d;&d;A&a;&a;B&da;&da;'/>
<p a='&#xD;&#xD;A&#xA;&#xA;B&#xD;&#xA;&#xD;&#xA;'/>
</root>

View File

@@ -0,0 +1,15 @@
Document:
- Element:
tag_name: root
children:
- Text: "\n "
- Element:
tag_name: p
attributes:
a: " A B "
- Text: "\n "
- Element:
tag_name: p
attributes:
a: "\r\rA\n\nB\r\n\r\n"
- Text: "\n"

View File

@@ -0,0 +1,43 @@
<!DOCTYPE test [
<!ENTITY d '&#xD;'>
<!ENTITY a '&#xA;'>
<!ENTITY da '&#xD;&#xA;'>
]>
<root>
<p id="1">&a;</p>
<p id="2">&a;&a;</p>
<p id="3">&a;&a;&a;</p>
<p id="4">&d;</p>
<p id="5">&d;&d;</p>
<p id="6">&d;&d;&d;</p>
<p id="7">&a;&d;</p>
<p id="8">&d;&a;</p>
<p id="9">&a;&d;&a;</p>
<p id="10">&d;&a;&d;</p>
<p id="11">&a;q&a;</p>
<p id="12">&d;q&d;</p>
<p id="13">&a;q&d;</p>
<p id="14">&d;q&a;</p>
<p id="15">&a;&da;</p>
<p id="16">&da;&a;</p>
<p id="17">&d;&da;</p>
<p id="18">&da;&d;</p>
<p id="19">&da;&da;</p>
<p id="20">&a;&a;q</p>
<p id="21">q&a;&a;</p>
<p id="22">q&a;&a;q</p>
<p id="23">&d;&d;q</p>
<p id="24">q&d;&d;</p>
<p id="25">q&d;&d;q</p>
<p id="26">&da;&da;q</p>
<p id="27">q&da;&da;</p>
<p id="28">q&da;&da;q</p>
</root>

View File

@@ -0,0 +1,201 @@
Document:
- Element:
tag_name: root
children:
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "1"
children:
- Text: "\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "2"
children:
- Text: "\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "3"
children:
- Text: "\n\n\n"
- Text: "\n\n "
- Element:
tag_name: p
attributes:
id: "4"
children:
- Text: "\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "5"
children:
- Text: "\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "6"
children:
- Text: "\n\n\n"
- Text: "\n\n "
- Element:
tag_name: p
attributes:
id: "7"
children:
- Text: "\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "8"
children:
- Text: "\n\n"
- Text: "\n\n "
- Element:
tag_name: p
attributes:
id: "9"
children:
- Text: "\n\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "10"
children:
- Text: "\n\n\n"
- Text: "\n\n "
- Element:
tag_name: p
attributes:
id: "11"
children:
- Text: "\nq\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "12"
children:
- Text: "\nq\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "13"
children:
- Text: "\nq\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "14"
children:
- Text: "\nq\n"
- Text: "\n\n "
- Element:
tag_name: p
attributes:
id: "15"
children:
- Text: "\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "16"
children:
- Text: "\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "17"
children:
- Text: "\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "18"
children:
- Text: "\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "19"
children:
- Text: "\n\n"
- Text: "\n\n "
- Element:
tag_name: p
attributes:
id: "20"
children:
- Text: "\n\nq"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "21"
children:
- Text: "q\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "22"
children:
- Text: "q\n\nq"
- Text: "\n\n "
- Element:
tag_name: p
attributes:
id: "23"
children:
- Text: "\n\nq"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "24"
children:
- Text: "q\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "25"
children:
- Text: "q\n\nq"
- Text: "\n\n "
- Element:
tag_name: p
attributes:
id: "26"
children:
- Text: "\n\nq"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "27"
children:
- Text: "q\n\n"
- Text: "\n "
- Element:
tag_name: p
attributes:
id: "28"
children:
- Text: "q\n\nq"
- Text: "\n"

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY q 'q'>
]>
<root>&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;</root>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: root
children:
- Text: "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY q 'q'>
]>
<root a="&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;&q;"/>

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: root
attributes:
a: "qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq"

View File

@@ -0,0 +1 @@
<e a='&d;'/>

View File

@@ -0,0 +1 @@
error: "unknown entity reference 'd' at 1:7"

View File

@@ -0,0 +1,5 @@
<!DOCTYPE test [
<!ENTITY a '&b;'>
<!ENTITY b '&a;'>
]>
<e a='&a;'/>

View File

@@ -0,0 +1 @@
error: "a possible entity reference loop is detected at 3:20"

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY p '</p>'>
]>
<root>&p;</root>

View File

@@ -0,0 +1 @@
error: "unexpected close tag at 2:17"

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY p '</p>'>
]>
<root><p>&p;</root>

View File

@@ -0,0 +1 @@
error: "unexpected close tag at 2:17"

View File

@@ -0,0 +1,13 @@
<!DOCTYPE lolz [
<!ENTITY lol "lol">
<!ENTITY lol1 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;">
<!ENTITY lol2 "&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;">
<!ENTITY lol3 "&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;">
<!ENTITY lol4 "&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;">
<!ENTITY lol5 "&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;">
<!ENTITY lol6 "&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;">
<!ENTITY lol7 "&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;">
<!ENTITY lol8 "&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;">
<!ENTITY lol9 "&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;">
]>
<lolz>&lol9;</lolz>

View File

@@ -0,0 +1 @@
error: "a possible entity reference loop is detected at 3:40"

View File

@@ -0,0 +1,13 @@
<!DOCTYPE lolz [
<!ENTITY lol "lol">
<!ENTITY lol1 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;">
<!ENTITY lol2 "&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;">
<!ENTITY lol3 "&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;">
<!ENTITY lol4 "&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;">
<!ENTITY lol5 "&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;">
<!ENTITY lol6 "&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;">
<!ENTITY lol7 "&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;">
<!ENTITY lol8 "&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;">
<!ENTITY lol9 "&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;">
]>
<lolz a="&lol9;"/>

View File

@@ -0,0 +1 @@
error: "a possible entity reference loop is detected at 3:40"

View File

@@ -0,0 +1 @@
<p a="&amp"/>

View File

@@ -0,0 +1 @@
error: "malformed entity reference at 1:7"

View File

@@ -0,0 +1 @@
<p>&amp</p>

View File

@@ -0,0 +1 @@
error: "malformed entity reference at 1:4"

View File

@@ -0,0 +1,4 @@
<!DOCTYPE test [
<!ENTITY e "<p a='&lt;'/>">
]>
<e>&e;</e>

View File

@@ -0,0 +1 @@
error: "unescaped '<' found at 2:23"

View File

@@ -0,0 +1 @@
<e xmlns:n1='http://www.w3.org' xmlns='http://www.w3.org' n1:a='b1' a='b2'/>

View File

@@ -0,0 +1,9 @@
Document:
- Element:
tag_name: e@http://www.w3.org
attributes:
a: "b2"
a@http://www.w3.org: "b1"
namespaces:
None: http://www.w3.org
n1: http://www.w3.org

View File

@@ -0,0 +1 @@
<svg xmlns='http://www.w3.org/2000/svg' a='b'/>

After

Width:  |  Height:  |  Size: 48 B

View File

@@ -0,0 +1,7 @@
Document:
- Element:
tag_name: svg@http://www.w3.org/2000/svg
attributes:
a: "b"
namespaces:
None: http://www.w3.org/2000/svg

View File

@@ -0,0 +1 @@
<svg:svg xmlns:svg='http://www.w3.org/2000/svg' a='b' svg:a='b'/>

After

Width:  |  Height:  |  Size: 66 B

View File

@@ -0,0 +1,8 @@
Document:
- Element:
tag_name: svg@http://www.w3.org/2000/svg
attributes:
a: "b"
a@http://www.w3.org/2000/svg: "b"
namespaces:
svg: http://www.w3.org/2000/svg

View File

@@ -0,0 +1 @@
<svg xmlns:t='http://www.w3.org/1999/xlink' t:href='https://www.w3.org/TR/SVG11/'/>

After

Width:  |  Height:  |  Size: 84 B

View File

@@ -0,0 +1,7 @@
Document:
- Element:
tag_name: svg
attributes:
href@http://www.w3.org/1999/xlink: "https://www.w3.org/TR/SVG11/"
namespaces:
t: http://www.w3.org/1999/xlink

View File

@@ -0,0 +1 @@
<svg xml:space='preserve'/>

After

Width:  |  Height:  |  Size: 28 B

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: svg
attributes:
space@http://www.w3.org/XML/1998/namespace: "preserve"

View File

@@ -0,0 +1 @@
<svg xmlns:xml='http://www.w3.org/XML/1998/namespace' xml:space='preserve'/>

After

Width:  |  Height:  |  Size: 77 B

View File

@@ -0,0 +1,5 @@
Document:
- Element:
tag_name: svg
attributes:
space@http://www.w3.org/XML/1998/namespace: "preserve"

View File

@@ -0,0 +1,2 @@
<e a:attr='a_ns' b:attr='b_ns' attr='no_ns' xmlns:b='http://www.ietf.org'
xmlns:a='http://www.w3.org' xmlns='http://www.uvic.ca'/>

View File

@@ -0,0 +1,11 @@
Document:
- Element:
tag_name: e@http://www.uvic.ca
attributes:
attr: "no_ns"
attr@http://www.ietf.org: "b_ns"
attr@http://www.w3.org: "a_ns"
namespaces:
None: http://www.uvic.ca
a: http://www.w3.org
b: http://www.ietf.org

View File

@@ -0,0 +1,3 @@
<root xmlns='http://www.w3.org'>
<item/>
</root>

View File

@@ -0,0 +1,12 @@
Document:
- Element:
tag_name: root@http://www.w3.org
namespaces:
None: http://www.w3.org
children:
- Text: "\n "
- Element:
tag_name: item@http://www.w3.org
namespaces:
None: http://www.w3.org
- Text: "\n"

View File

@@ -0,0 +1,3 @@
<root xmlns='http://www.w3.org'>
<item xmlns='http://www.w2.org'/>
</root>

Some files were not shown because too many files have changed in this diff Show More