summaryrefslogtreecommitdiffstats
path: root/test/datafile_xml.0
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
commit5068d34c08f951a7ea6257d305a1627b09a95817 (patch)
tree08213e2be853396a3b07ce15dbe222644dcd9a89 /test/datafile_xml.0
parentInitial commit. (diff)
downloadlnav-upstream.tar.xz
lnav-upstream.zip
Adding upstream version 0.11.1.upstream/0.11.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/datafile_xml.0')
-rw-r--r--test/datafile_xml.026
1 files changed, 26 insertions, 0 deletions
diff --git a/test/datafile_xml.0 b/test/datafile_xml.0
new file mode 100644
index 0000000..9b5a102
--- /dev/null
+++ b/test/datafile_xml.0
@@ -0,0 +1,26 @@
+ <ns1:foo> <elem attr1=xyz attr2="123"> </elem> <closed />
+ key 0:0
+xmlo 0:9 ^-------^ <ns1:foo>
+pair 0:9 ^-------^ <ns1:foo>
+ key 12:12 ^
+xmlo 12:40 ^--------------------------^ <elem attr1=xyz attr2="123">
+pair 12:40 ^--------------------------^ <elem attr1=xyz attr2="123">
+ key 42:42 ^
+xmlc 42:49 ^-----^ </elem>
+pair 42:49 ^-----^ </elem>
+ key 51:51 ^
+xmlt 51:61 ^--------^ <closed />
+pair 51:61 ^--------^ <closed />
+msg :<ns1:foo> <elem attr1=xyz attr2="123"> </elem> <closed />
+format :# # # #
+
+--
+<ns1:foo>
+ <elem attr1=xyz attr2="123"> </elem>
+ <closed />
+{
+ "col_0": "<ns1:foo>",
+ "col_1": "<elem attr1=xyz attr2=\"123\">",
+ "col_2": "</elem>",
+ "col_3": "<closed />"
+}