std.xml empty element

Jacob Carlborg doob at me.com
Sat Feb 26 02:53:02 PST 2011


On 2011-02-26 07:20, Tom wrote:
> El 25/02/2011 20:07, Jacob Carlborg escribió:
>> On 2011-02-25 21:11, Tom wrote:
>>> El 24/02/2011 19:40, Tom escribió:
>>>> El 24/02/2011 09:51, Jacob Carlborg escribió:
>>>>> On 2011-02-24 06:48, Tom wrote:
>>>>>> Hi, how can I create an empty element with current D2 std.xml Element
>>>>>> implementation?
>>>>>>
>>>>>> stdout.writeln(new Element("foo")); // Shields <foo></foo> instead of
>>>>>> <foo />
>>>>>>
>>>>>> Thanks in advance,
>>>>>> Tom;
>>>>>
>>>>> http://d.puremagic.com/issues/show_bug.cgi?id=4394
>>>>>
>>>>
>>>> I see :(
>>>> Thanks...
>>>
>>> Lucky me, 2.052 solves this bug and doesn't break anything.
>>>
>>> Tom;
>>
>> Really? Which changeset?
>>
>
> Not sure what you mean, but it seems it got fixed when 4069 was resolved...
> http://d.puremagic.com/issues/show_bug.cgi?id=4069
>
> Tom;

Ok, thanks. I was referring to the actual code change that fixed the 
problem, which would be: 
https://github.com/D-Programming-Language/phobos/commit/b3ad939cf41adfefd33b16d2d91ca56d568cddac

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list