diff options
Diffstat (limited to 'stdlib/source/library/lux/data/format/xml.lux')
-rw-r--r-- | stdlib/source/library/lux/data/format/xml.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/data/format/xml.lux b/stdlib/source/library/lux/data/format/xml.lux index b7cf0323d..d065f1def 100644 --- a/stdlib/source/library/lux/data/format/xml.lux +++ b/stdlib/source/library/lux/data/format/xml.lux @@ -33,7 +33,7 @@ (def: #export attributes {#.doc (doc "An empty set of XML attributes.")} Attrs - (dictionary.new name.hash)) + (dictionary.empty name.hash)) (type: #export #rec XML (#Text Text) @@ -62,7 +62,7 @@ (#.Some _) (<>.codec int.decimal (<text>.many <text>.hexadecimal)))] - (in (|> code .nat text.of_code))) + (in (|> code .nat text.of_char))) (<>.before (<text>.this ";")) (<>.after (<text>.this "&#")))) @@ -162,7 +162,7 @@ (def: null^ (Parser Any) - (<text>.this (text.of_code 0))) + (<text>.this (text.of_char 0))) (def: xml^ (Parser XML) |