Amazon s3 key names with ASCII chars like \n or \r are expected to be mapped in XML data to like "& # 13; " or "& # 10 ;" (added spaces to ensure all would be seen here) or the like. Can I motivate XmlBuilder to generate that? When I use XmlBuilder.generate with character data with those special characters in it, it is not happening like this:
iex(17)> {:person, %{id: 12345}, "Josh\n"} |> XmlBuilder.generate
"<person id=\"12345\">Josh\n</person>"
...where I would like it to generate:
"<person id=\"12345\">Josh </person>"
I looked in the tests to see if there are any examples of this and I did not see any...
Thanks in advance for any help on this.
Amazon s3 key names with ASCII chars like \n or \r are expected to be mapped in XML data to like "& # 13; " or "& # 10 ;" (added spaces to ensure all would be seen here) or the like. Can I motivate XmlBuilder to generate that? When I use
XmlBuilder.generatewith character data with those special characters in it, it is not happening like this:...where I would like it to generate:
I looked in the tests to see if there are any examples of this and I did not see any...
Thanks in advance for any help on this.