exml
exml copied to clipboard
XML parsing library in Erlang
When i want to use this lib as dependency and want to publish my package to [Hex](https://hex.pm), An error occurs because this package did not publish on Hex.
Because C's `exml_unescape_cdata()` is being fed with arbitrary chunks of input, if an escaped character appears on the division point (in current implementation the input is divided in 20000-byte chunks)...
``` exml:parse(>). {ok,{xmlel,,[],[{xmlcdata,}]}} ``` ok ``` exml:parse(>). {error,{"XML or text declaration not at start of entity", >}} ``` error
When I try to parse a `` element, the parser does not understand the difference between namespaced attributes. ``` erlang 1> {ok, Parser} = exml_stream:new_parser(). {ok,{parser,,[]}} 2> {ok, _, _}...
ERROR: cc -c -g -Wall -g -Wall -fPIC -I/opt/esl/erlangR15B01/otp_src_R15B03/lib/erl_interface/include -I/opt/esl/erlangR15B01/otp_src_R15B03/erts-5.9.3.1/include c_src/exml_event.c -o c_src/exml_event.o failed with error: 1 and output: