willemdj / erlsom

XML parser for Erlang
GNU Lesser General Public License v3.0
265 stars 103 forks source link

Accept charlist as output option for erlsom:write/3 #90

Closed flambard closed 1 year ago

flambard commented 1 year ago

The reference documentation states that one can use charlist as output option for erlsom:write/3, but the code actually expected chardata. This change allows both chardata and charlist as output option which makes the documentation true while not breaking existing clients.