[Issue 2063] std.xml access violation for nested, closed tags

Janice Caron caron800 at googlemail.com
Fri May 2 10:07:42 PDT 2008


OK, thanks. I will definitely investigate that.

Question: Is this in debug mode or release mode? If it's in a release
build, it's not really a bug in std.xml, because you're not supposed
to pass malformed XML to the parsing functions. (You call check()
first, to make sure it's well formed). But if it's in a debug build,
then it's definitely a bug in my code, because in that case, it should
assert somewhere - ideally in an in contract.

Janice



On 02/05/2008, d-bugmail at puremagic.com <d-bugmail at puremagic.com> wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=2063
>
>
>
>
>
>  ------- Comment #1 from gide at nwawudu.com  2008-05-02 10:52 -------
>  Malformed XML also access violates.
>
>  E.g.
>  ----
>  <?xml version="1.0"?><widget>
>
>
>
>  --
>
>


More information about the Digitalmars-d-bugs mailing list