digitalmars.D.learn - std.xml empty element
- Tom (6/6) Feb 23 2011 Hi, how can I create an empty element with current D2 std.xml Element
- Tom (2/8) Feb 23 2011
- Jacob Carlborg (4/10) Feb 24 2011 http://d.puremagic.com/issues/show_bug.cgi?id=4394
- Tom (3/13) Feb 24 2011 I see :(
- Tom (3/18) Feb 25 2011 Lucky me, 2.052 solves this bug and doesn't break anything.
- Jacob Carlborg (4/23) Feb 25 2011 Really? Which changeset?
- Tom (4/27) Feb 25 2011 Not sure what you mean, but it seems it got fixed when 4069 was resolved...
- Jacob Carlborg (6/35) Feb 26 2011 Ok, thanks. I was referring to the actual code change that fixed the
- Jesse Phillips (2/10) Feb 24 2011 One issue with this is that you can not determine what can be shortened ...
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;
Feb 23 2011
Oops, I mean, yields :S El 24/02/2011 02:48, Tom escribió: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;
Feb 23 2011
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 -- /Jacob Carlborg
Feb 24 2011
El 24/02/2011 09:51, Jacob Carlborg escribió:On 2011-02-24 06:48, Tom wrote:I see :( Thanks...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
Feb 24 2011
El 24/02/2011 19:40, Tom escribió:El 24/02/2011 09:51, Jacob Carlborg escribió:Lucky me, 2.052 solves this bug and doesn't break anything. Tom;On 2011-02-24 06:48, Tom wrote:I see :( Thanks...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
Feb 25 2011
On 2011-02-25 21:11, Tom wrote:El 24/02/2011 19:40, Tom escribió:Really? Which changeset? -- /Jacob CarlborgEl 24/02/2011 09:51, Jacob Carlborg escribió:Lucky me, 2.052 solves this bug and doesn't break anything. Tom;On 2011-02-24 06:48, Tom wrote:I see :( Thanks...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
Feb 25 2011
El 25/02/2011 20:07, Jacob Carlborg escribió:On 2011-02-25 21:11, Tom wrote: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;El 24/02/2011 19:40, Tom escribió:Really? Which changeset?El 24/02/2011 09:51, Jacob Carlborg escribió:Lucky me, 2.052 solves this bug and doesn't break anything. Tom;On 2011-02-24 06:48, Tom wrote:I see :( Thanks...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
Feb 25 2011
On 2011-02-26 07:20, Tom wrote:El 25/02/2011 20:07, Jacob Carlborg escribió: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 CarlborgOn 2011-02-25 21:11, Tom wrote: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;El 24/02/2011 19:40, Tom escribió:Really? Which changeset?El 24/02/2011 09:51, Jacob Carlborg escribió:Lucky me, 2.052 solves this bug and doesn't break anything. Tom;On 2011-02-24 06:48, Tom wrote:I see :( Thanks...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
Feb 26 2011
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;One issue with this is that you can not determine what can be shortened to this form without a DDT. It is only valid if it is specified to be legal in the DDT. Though I think it might only be the case for v1.0 and not v1.1.
Feb 24 2011