Skip to content

Can't parse file with xml header #19

Description

@grey-kristy
exml:parse(<<"<tag>5</tag>">>).
{ok,{xmlel,<<"tag">>,[],[{xmlcdata,<<"5">>}]}}

ok

exml:parse(<<"<?xml version='1.0'?><tag>5</tag>">>).
{error,{"XML or text declaration not at start of entity",
        <<"<stream><?xml version='1.0'?><tag>5</tag></stream>">>}}

error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions