Closed wouterbeek closed 5 years ago
Still isn't the right word. Without this option load_xml/3 load the file fine. The shorttag concept refers to '<b/hello/', an SGML shorthand for 'hello` (well, I do not know how to avoid Github considering this markup, but you get the point, I guess).
The shorttag option should probably be denied for xml mode, although combining options can give you opportunities to process invalid documents.
Oops, I had completely misinterpreted the purpose of that option :-/
I have not been able to parse XML short tags without warnings.
For this example XML document:
Is explicitly specify the
shorttag/1
option:And still receive the following warning:
Is this option broken of am I doing something wrong?