aboutsummaryrefslogtreecommitdiffstats
path: root/test/xfdf.lisp
diff options
context:
space:
mode:
authorTeddy Wing2023-04-21 02:10:13 +0200
committerTeddy Wing2023-04-21 02:10:13 +0200
commit7a780424c6b54a769300dc04c8e21671240d0427 (patch)
tree22180a6749623b06b6445ce80b5310582ed06ae2 /test/xfdf.lisp
parent3b2675c306686b7b132629ce1a6bc7c3bf0923cd (diff)
downloadxfdf-7a780424c6b54a769300dc04c8e21671240d0427.tar.bz2
xfdf.lisp: Get nested fields working
This now prints nested form fields correctly. * Needed a separate string format for the container field. * Had to use `consp`, otherwise `nil` checkbox values wouldn't be recognised and a corresponding `<value/>` line wouldn't be printed. * Needed to add a missing nested field to the test's expected value.
Diffstat (limited to 'test/xfdf.lisp')
-rw-r--r--test/xfdf.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/xfdf.lisp b/test/xfdf.lisp
index 63416ea..9095076 100644
--- a/test/xfdf.lisp
+++ b/test/xfdf.lisp
@@ -63,6 +63,11 @@
<value>Simpson</value>
</field>
</field>
+ <field name=\"Page2[0]\">
+ <field name=\"f2_02[0]\">
+ <value>1234</value>
+ </field>
+ </field>
</field>
<field name=\"bottommostSubform[0]\">
<field name=\"Page1[0]\">