diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-09-02 20:34:23 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-09-02 20:34:23 +0000 |
| commit | a459654954e005014b62011855660777dc3ee1de (patch) | |
| tree | 75726f666da36d3e04c2e9bfb3cff40547944ed8 /test/XInclude | |
| parent | e740b286553bc147f0c93b739ac83cf57ea66c54 (diff) | |
| parent | ec3fcf55c082516bbe81f4c234c42f231f5c64b7 (diff) | |
| download | platform_external_libxml2-master.tar.gz platform_external_libxml2-master.tar.bz2 platform_external_libxml2-master.zip | |
Original change: https://android-review.googlesource.com/c/platform/external/libxml2/+/1417930
Change-Id: Ida6c48e3672d377605ba8df9a59eccae25dab6a0
Diffstat (limited to 'test/XInclude')
| -rw-r--r-- | test/XInclude/docs/fallback3.xml | 9 | ||||
| -rw-r--r-- | test/XInclude/docs/fallback4.xml | 7 | ||||
| -rw-r--r-- | test/XInclude/docs/fallback5.xml | 83 | ||||
| -rw-r--r-- | test/XInclude/docs/fallback6.xml | 6 | ||||
| -rw-r--r-- | test/XInclude/docs/ns1.xml | 12 |
5 files changed, 117 insertions, 0 deletions
diff --git a/test/XInclude/docs/fallback3.xml b/test/XInclude/docs/fallback3.xml new file mode 100644 index 00000000..0c8b6c9e --- /dev/null +++ b/test/XInclude/docs/fallback3.xml @@ -0,0 +1,9 @@ +<a> + <xi:include href="../ents/something.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> + <xi:fallback> + <xi:include href="c.xml"> + <xi:fallback>There is no c.xml ... </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> +</a> diff --git a/test/XInclude/docs/fallback4.xml b/test/XInclude/docs/fallback4.xml new file mode 100644 index 00000000..b500a635 --- /dev/null +++ b/test/XInclude/docs/fallback4.xml @@ -0,0 +1,7 @@ +<a> + <xi:include href="c.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> + <xi:fallback> + <xi:include href="../ents/something.xml"/> + </xi:fallback> + </xi:include> +</a> diff --git a/test/XInclude/docs/fallback5.xml b/test/XInclude/docs/fallback5.xml new file mode 100644 index 00000000..d3ad4246 --- /dev/null +++ b/test/XInclude/docs/fallback5.xml @@ -0,0 +1,83 @@ +<a> + <xi:include href="a01.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> + <xi:fallback> + <elem/> + <xi:include href="a02.xml"> + <xi:fallback> + <elem/> + <xi:include href="a03.xml"> + <xi:fallback> + <elem/> + <xi:include href="a04.xml"> + <xi:fallback> + <elem/> + <xi:include href="a05.xml"> + <xi:fallback> + <elem/> + <xi:include href="a06.xml"> + <xi:fallback> + <elem/> + <xi:include href="a07.xml"> + <xi:fallback> + <elem/> + <xi:include href="a08.xml"> + <xi:fallback> + <elem/> + <xi:include href="a09.xml"> + <xi:fallback> + <elem/> + <xi:include href="a10.xml"> + <xi:fallback> + <elem/> + <xi:include href="a11.xml"> + <xi:fallback> + <elem/> + <xi:include href="a12.xml"> + <xi:fallback> + <elem/> + <xi:include href="a13.xml"> + <xi:fallback> + <elem/> + <xi:include href="a14.xml"> + <xi:fallback> + <elem/> + <xi:include href="a15.xml"> + <xi:fallback> + <elem/> + <xi:include href="a16.xml"> + <xi:fallback> + <elem/> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> + </xi:fallback> + </xi:include> +</a> + diff --git a/test/XInclude/docs/fallback6.xml b/test/XInclude/docs/fallback6.xml new file mode 100644 index 00000000..fd00a03f --- /dev/null +++ b/test/XInclude/docs/fallback6.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="b.xml"> + <xi:fallback><xi:include href="c.xml"> + <xi:fallback/> + </xi:include></xi:fallback> +</xi:include> diff --git a/test/XInclude/docs/ns1.xml b/test/XInclude/docs/ns1.xml new file mode 100644 index 00000000..7523f4a9 --- /dev/null +++ b/test/XInclude/docs/ns1.xml @@ -0,0 +1,12 @@ +<?xml version="1.0"?> +<doc xmlns:xi="http://www.w3.org/2001/XInclude"> + <xi:include href="#a"/> + <elem xmlns:ns="urn:foo"> + <ns:elem xml:id="a"/> + </elem> + <xi:include href="b.xml"> + <xi:fallback xmlns:ns="urn:bar"> + <ns:elem/> + </xi:fallback> + </xi:include> +</doc> |
