Re: [xml] Degenerate case



On Tue, 2019-09-17 at 09:26 -0400, Webb Scales wrote:
Is it possible that the error message is wrong? 

Like most parsers, if given faulty input the output is sometimes
unexpected.

I'm not a maintainer here, but i'd guess that a patch to detect the
case of the document having no XML elements in it and give a better
error might well be accepted.

Liam


-- 
Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.
Click here to have the slave beaten.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]