diff options
Diffstat (limited to 'stdlib/source/library/lux/data/format/xml.lux')
-rw-r--r-- | stdlib/source/library/lux/data/format/xml.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/data/format/xml.lux b/stdlib/source/library/lux/data/format/xml.lux index 4e358f91d..064476a7f 100644 --- a/stdlib/source/library/lux/data/format/xml.lux +++ b/stdlib/source/library/lux/data/format/xml.lux @@ -127,8 +127,8 @@ (<>.after (<text>.this "/")) (<text>.enclosed ["<" ">"]))] (<>.assertion ($_ text\compose "Close tag does not match open tag." text.new_line - "Expected: " (name\encode expected) text.new_line - " Actual: " (name\encode actual) text.new_line) + "Expected: " (name\encoded expected) text.new_line + " Actual: " (name\encoded actual) text.new_line) (name\= expected actual)))) (def: comment^ @@ -229,7 +229,7 @@ (implementation: .public codec (Codec Text XML) - (def: encode + (def: encoded (let [attributes (: (-> Attrs Text) (function (_ attrs) (|> attrs @@ -269,7 +269,7 @@ text.together) text.new_line prefix "</" tag ">"))))) )))) - (def: decode + (def: decoded (<text>.result ..xml^))) (implementation: .public equivalence |