[libxml2]Add libxml2 library

This commit is contained in:
zhoujiale
2026-07-26 16:57:28 +08:00
committed by zhoujiale
parent 0a44ec8a06
commit e841ac915d
3790 changed files with 668244 additions and 0 deletions
@@ -0,0 +1,4 @@
<?xml-stylesheet href="doc.xsl"
type="text/xsl" ?>
<doc>Hello, world!</doc>
<?pi-without-data?>
@@ -0,0 +1,11 @@
<doc>
<clean> </clean>
<dirty> A B </dirty>
<mixed>
A
<clean> </clean>
B
<dirty> A B </dirty>
C
</mixed>
</doc>
@@ -0,0 +1,14 @@
<doc>
<e1></e1>
<e2></e2>
<e3 id="elem3" name="elem3"></e3>
<e4 id="elem4" name="elem4"></e4>
<e5 xmlns="http://www.uvic.ca" 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 xmlns:a="http://www.w3.org">
<e7 xmlns="http://www.ietf.org">
<e8 xmlns="">
<e9 xmlns:a="http://www.ietf.org" attr="default"></e9>
</e8>
</e7>
</e6>
</doc>
@@ -0,0 +1,9 @@
<doc>
<text>First line&#xD;
Second line</text>
<value>2</value>
<compute>value&gt;"0" &amp;&amp; value&lt;"10" ?"valid":"error"</compute>
<compute expr="value>&quot;0&quot; &amp;&amp; value&lt;&quot;10&quot; ?&quot;valid&quot;:&quot;error&quot;">valid</compute>
<norm attr=" ' &#xD;&#xA;&#x9; ' "></norm>
<normId id="' &#xD;&#xA;&#x9; '"></normId>
</doc>
@@ -0,0 +1,3 @@
<doc attrExtEnt="entExt">
Hello, world!
</doc>
@@ -0,0 +1 @@
<doc>©</doc>
@@ -0,0 +1 @@
<e1 xmlns="http://www.ietf.org" xmlns:w3c="http://www.w3.org"><e3 xmlns="" id="E3" xml:space="preserve"></e3></e1>
@@ -0,0 +1 @@
<e1 xmlns="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="something/else"><e3 xmlns="" id="E3" xml:base="bar/foo" xml:space="preserve"></e3></e1>
@@ -0,0 +1 @@
<e1 xmlns="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://www.example.com/something/else"><e3 xmlns="" id="E3" xml:base="../bar/foo" xml:space="preserve"></e3></e1>
@@ -0,0 +1 @@
<e1 xmlns="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="something/else"><e3 xmlns="" id="E3" xml:base="bar/foo" xml:space="preserve"></e3></e1>
@@ -0,0 +1,2 @@
<a xml:base="foo/bar"><d xml:base="../../x">
</d></a>
@@ -0,0 +1,14 @@
<ietf:c14n11XmlBaseDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://xmlbase.example.org/xmlbase0/">
<ietf:e1 xml:base="/xmlbase1/">
<ietf:e11 xml:base="/xmlbase11/">
<ietf:e111 xml:base="/xmlbase111/"></ietf:e111>
</ietf:e11>
<ietf:e12 at="2">
<ietf:e121 xml:base="/xmlbase121/"></ietf:e121>
</ietf:e12>
</ietf:e1>
<ietf:e3>
<ietf:e31 at="3"></ietf:e31>
</ietf:e3>
</ietf:c14n11XmlBaseDoc1>
@@ -0,0 +1,8 @@
<ietf:e1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://xmlbase.example.org/xmlbase1/">
<ietf:e11 xml:base="/xmlbase11/">
<ietf:e111 xml:base="/xmlbase111/"></ietf:e111>
</ietf:e11>
<ietf:e12 at="2">
<ietf:e121 xml:base="/xmlbase121/"></ietf:e121>
</ietf:e12>
</ietf:e1>
@@ -0,0 +1,3 @@
<ietf:e11 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://xmlbase.example.org/xmlbase11/">
<ietf:e111 xml:base="/xmlbase111/"></ietf:e111>
</ietf:e11>
@@ -0,0 +1 @@
<ietf:e111 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://xmlbase.example.org/xmlbase111/"></ietf:e111>
@@ -0,0 +1 @@
<ietf:e21 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://xmlbase.example.org/xmlbase21/"></ietf:e21>
@@ -0,0 +1,3 @@
<ietf:e3 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://xmlbase.example.org/xmlbase0/">
<ietf:e31 at="3"></ietf:e31>
</ietf:e3>
@@ -0,0 +1,7 @@
<ietf:c14n11XmlBaseDoc1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:base="http://xmlbase.example.org/xmlbase0/">
<ietf:e3>
<ietf:e31 at="3"></ietf:e31>
</ietf:e3>
</ietf:c14n11XmlBaseDoc1>
@@ -0,0 +1,8 @@
<ietf:e1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:id="IdInterop">
<ietf:e11>
<ietf:e111></ietf:e111>
</ietf:e11>
<ietf:e12 at="2">
<ietf:e121></ietf:e121>
</ietf:e12>
</ietf:e1>
@@ -0,0 +1,5 @@
<ietf:e11 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org">
<ietf:e111></ietf:e111>
</ietf:e11><ietf:e12 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" at="2">
<ietf:e121></ietf:e121>
</ietf:e12>
@@ -0,0 +1,8 @@
<ietf:e1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:lang="EN">
<ietf:e11>
<ietf:e111></ietf:e111>
</ietf:e11>
<ietf:e12 at="2">
<ietf:e121></ietf:e121>
</ietf:e12>
</ietf:e1>
@@ -0,0 +1,3 @@
<ietf:e2 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org">
<ietf:e21></ietf:e21>
</ietf:e2>
@@ -0,0 +1,3 @@
<ietf:e11 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:lang="EN">
<ietf:e111></ietf:e111>
</ietf:e11>
@@ -0,0 +1,5 @@
<ietf:e11 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:lang="EN">
<ietf:e111></ietf:e111>
</ietf:e11><ietf:e12 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" at="2" xml:lang="EN">
<ietf:e121></ietf:e121>
</ietf:e12>
@@ -0,0 +1,8 @@
<ietf:e1 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:space="true">
<ietf:e11>
<ietf:e111></ietf:e111>
</ietf:e11>
<ietf:e12 at="2">
<ietf:e121></ietf:e121>
</ietf:e12>
</ietf:e1>
@@ -0,0 +1,3 @@
<ietf:e2 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org">
<ietf:e21></ietf:e21>
</ietf:e2>
@@ -0,0 +1,3 @@
<ietf:e11 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:space="true">
<ietf:e111></ietf:e111>
</ietf:e11>
@@ -0,0 +1,5 @@
<ietf:e11 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" xml:space="true">
<ietf:e111></ietf:e111>
</ietf:e11><ietf:e12 xmlns:ietf="http://www.ietf.org" xmlns:w3c="http://www.w3.org" at="2" xml:space="true">
<ietf:e121></ietf:e121>
</ietf:e12>