[Issue 17709] std.xml doesn't parse the root element

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 16 16:28:09 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=17709

berni44 <bugzilla at d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at d-ecke.de

--- Comment #1 from berni44 <bugzilla at d-ecke.de> ---
Seems to me, that the reason is, that the constructor of DocumentParser
allready partially parses the xml document, namely until the root element is
found. At that time parser.onStartTag["device"] is not yet defined and
therefore not called.

I don't understand std.xml good enough to fix this though. And the docs tell,
that std.xml will be replaced by something better sooner or later. Therefore I
don't know if it's worth it to fix this anyway.

--


More information about the Digitalmars-d-bugs mailing list