Issue with xmerl_eventp:stream_sax
Mon Oct 17 20:57:59 CEST 2005
Well removing the <?xml version="1.0"?> solved the problem. However, I
can't believe that the prolog isn't supported in xmerl sax. This is
especially so with the fact that the DOM parser handles it just fine.
Whats up there I wonder?
On 10/15/05, bryan rasmussen <> wrote:
> An xml parser is not obligated to accept any encoding but UTF-8 and
> UTF-16, perhaps this was the problem?
> On 10/15/05, Jani Hakala <> wrote:
> > Eric Merritt <> writes:
> > > Guys,
> > >
> > > I have a little issue with the stream sax stuff from xmerl. Well
> > > formed xml is giving me the following error and I don't really know
> > > why. If you need me to I can supply examples of the callback module
> > > and the xml. Thanks!
> > >
> > Do you have something like
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> > in the beginning of the document? Last time I tested
> > xmerl_eventp:stream_sax that line caused problems for some
> > reason. After removing (altough there should have been no need to) I
> > was able to do something with xmerl_eventp:stream_sax.
> > Jani Hakala
More information about the erlang-questions