diff options
author | Teddy Wing | 2023-04-21 02:10:13 +0200 |
---|---|---|
committer | Teddy Wing | 2023-04-21 02:10:13 +0200 |
commit | 7a780424c6b54a769300dc04c8e21671240d0427 (patch) | |
tree | 22180a6749623b06b6445ce80b5310582ed06ae2 /test | |
parent | 3b2675c306686b7b132629ce1a6bc7c3bf0923cd (diff) | |
download | xfdf-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')
-rw-r--r-- | test/xfdf.lisp | 5 |
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]\"> |