diff options
author | Teddy Wing | 2023-04-16 20:30:36 +0200 |
---|---|---|
committer | Teddy Wing | 2023-04-16 20:46:59 +0200 |
commit | f40ea60f4d767c2ce84a41ca6989750534dee3f7 (patch) | |
tree | 2609cfa15fcabc0317d3ada8d8f3b98d1fd8483a /test/xfdf.lisp | |
parent | 0fdcbf0a159c9ee4df69bad2c617de01dcb0fd3c (diff) | |
download | xfdf-f40ea60f4d767c2ce84a41ca6989750534dee3f7.tar.bz2 |
Output XFDF fields into XML
Write `<field>` elements to the XFDF XML based on the cons cells in the
`fields` input list.
Change true and nil values to the FDF/XFDF checkbox value format of
"Yes" and "Off".
Also decided to use lowercase `t` to match the case of `nil`. Not sure
if that makes sense.
Diffstat (limited to 'test/xfdf.lisp')
-rw-r--r-- | test/xfdf.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/xfdf.lisp b/test/xfdf.lisp index 87accaf..31af6a3 100644 --- a/test/xfdf.lisp +++ b/test/xfdf.lisp @@ -16,7 +16,7 @@ (with-output-to-string (xfdf-stream) (xfdf:write-xfdf xfdf-stream - '(("checkbox-on" . T) + '(("checkbox-on" . t) ("checkbox-off" . nil) ("text" . "123 Fake Street, Springfield")))))) (is (string= |