digitalmars.D.learn - std.xml
- bioinfornatics (6/6) Nov 29 2011 Dear
- Jonathan M Davis (4/9) Nov 29 2011 Yes. std.xml is definitely going to be replaced. Unfortunately, the repl...
- bioinfornatics (5/16) Nov 29 2011 cement=20
- Jonathan M Davis (21/40) Nov 29 2011 i
- Jesse Phillips (4/11) Nov 29 2011 I don't think there is an affirmative on what is replacing std.xml, but ...
- Jacob Carlborg (12/18) Nov 29 2011 I've created a wrapper around std.xml which have basically the same API
Dear I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have heard they are sometime ago std.xml will be updated. I do not want do twice time the works. So my question is: std.xml will be deprecated or not ? thanks
Nov 29 2011
On Tuesday, November 29, 2011 23:47:33 bioinfornatics wrote:Dear I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have heard they are sometime ago std.xml will be updated. I do not want do twice time the works. So my question is: std.xml will be deprecated or not ?Yes. std.xml is definitely going to be replaced. Unfortunately, the replacement isn't done yet and has no ETA that I'm aware of. - Jonathan M Davis
Nov 29 2011
Le mardi 29 novembre 2011 =C3=A0 18:10 -0500, Jonathan M Davis a =C3=A9crit= :On Tuesday, November 29, 2011 23:47:33 bioinfornatics wrote:cement=20Dear I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have heard they are sometime ago std.xml will be updated. I do not want do twice time the works. So my question is: std.xml will be deprecated or not ?=20 Yes. std.xml is definitely going to be replaced. Unfortunately, the repla=isn't done yet and has no ETA that I'm aware of. =20 - Jonathan M Davisno ETA erf, how i do ? at least can i know if std.xml will be replaced by xmlp ?
Nov 29 2011
On Wednesday, November 30, 2011 03:42:33 bioinfornatics wrote:Le mardi 29 novembre 2011 =C3=A0 18:10 -0500, Jonathan M Davis a =C3=A9=crit :iOn Tuesday, November 29, 2011 23:47:33 bioinfornatics wrote:Dear I convert my lib tango/d1 to phobos/d2 so i need use std.xml but =thave heard they are sometime ago std.xml will be updated. I do not wan=eddo twice time the works. So my question is: std.xml will be deprecat=or not ?=20 Yes. std.xml is definitely going to be replaced. Unfortunately, the=You can't know. The current std.xml _will_ be replaced. It is considere= d to be=20 of unacceptably low quality. xmlp is the likely candidate to replace it= , but=20 it must be completed and go through Phobos' review process before it ca= n be=20 added to Phobos. And even if it does pass that review, it's likely to u= ndergo=20 a number of changes in the process. It's not possible to use any xml mo= dule at=20 this point with the idea that it will be definitively adopted as D's st= andard=20 xml module without breaking your code. The current std.xml is going to = be=20 removed, but what exactly is going to replace it is not yet known. - Jonathan M Davisreplacement isn't done yet and has no ETA that I'm aware of. =20 - Jonathan M Davis=20 no ETA erf, how i do ? =20 at least can i know if std.xml will be replaced by xmlp ?
Nov 29 2011
bioinfornatics Wrote:Dear I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have heard they are sometime ago std.xml will be updated. I do not want do twice time the works. So my question is: std.xml will be deprecated or not ? thanksI don't think there is an affirmative on what is replacing std.xml, but it is going to get replaced and has even been suggested to be removed until that time. Personally I use xmlp, http://www.dsource.org/projects/xmlp/ which is intended to be a candidate for std. http://www.dsource.org/projects/xmlp/browser/trunk/std
Nov 29 2011
On 2011-11-29 23:47, bioinfornatics wrote:Dear I convert my lib tango/d1 to phobos/d2 so i need use std.xml but i have heard they are sometime ago std.xml will be updated. I do not want do twice time the works. So my question is: std.xml will be deprecated or not ? thanksI've created a wrapper around std.xml which have basically the same API as the Tango XML module. If you're lucky you can use my wrapper as a drop-in replacement. Actually it may not be complete enough for your needs but you could give it a try. You need these two files: https://github.com/jacob-carlborg/orange/blob/master/orange/xml/PhobosXml.d https://github.com/jacob-carlborg/orange/blob/master/orange/xml/XmlDocument.d PhobosXml is the original std.xml with a few minor modifications. XmlDocument is the actual wrapper. -- /Jacob Carlborg
Nov 29 2011