XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Rich Morin
I have commented before on the face that Perl doesn't have Power Tools (read, idioms) that are well suited for handling XML. Turns out that Tim Bray agrees. http://www.tbray.org/ongoing/When/200x/2003/03/16/XML-Prog -r -- email: [EMAIL PROTECTED]; phone: +1 650-873-7841 http://www.cfcl.com/rdm

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Robin Berjon
Rich Morin wrote: I have commented before on the face that Perl doesn't have Power Tools (read, idioms) that are well suited for handling XML. Turns out that Tim Bray agrees. http://www.tbray.org/ongoing/When/200x/2003/03/16/XML-Prog You may want to look at the perl-xml thread called Tim Bray

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Simon Cozens
[EMAIL PROTECTED] (Rich Morin) writes: I have commented before on the face that Perl doesn't have Power Tools (read, idioms) that are well suited for handling XML. Turns out that Tim Bray agrees. Tim Bray also says he gives up and uses regexes as a quick and dirty work around. So maybe these

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Robin Berjon
Simon Cozens wrote: [EMAIL PROTECTED] (Rich Morin) writes: I have commented before on the face that Perl doesn't have Power Tools (read, idioms) that are well suited for handling XML. Turns out that Tim Bray agrees. Tim Bray also says he gives up and uses regexes as a quick and dirty work

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Austin Hastings
--- Simon Cozens [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Rich Morin) writes: I have commented before on the face that Perl doesn't have Power Tools (read, idioms) that are well suited for handling XML. Turns out that Tim Bray agrees. Tim Bray also says he gives up and uses

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Robin Berjon
Austin Hastings wrote: FWIW, I've had to try to rewrite Microsoft's VCPROJ and SLN format files(*), which look a whole lot like XML. Sadly, if you change the order of independent entities in the file, Microsoft's internal parser rejects the file. This despite the fact that MS already has an XML

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Michael Lazzaro
On Tuesday, March 18, 2003, at 09:55 AM, Austin Hastings wrote: To me, this says that there's no real commitment to doing XML. What there is seems to be a recognition that XML format is regular and comprehensible to others, so writing XML-like files becomes popular. Yep. Which makes things even

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Bennett Todd
2003-03-18T13:54:12 Michael Lazzaro: A perl5-native parser can be rigged up fairly easily, but it's *numbingly* slow compared to the C version. I mean, 20-50 times slower, by my guess. That's the nature of the beast; XML requires a lexer which knows about more than just two or so character

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Austin Hastings
--- Michael Lazzaro [EMAIL PROTECTED] wrote: On Tuesday, March 18, 2003, at 09:55 AM, Austin Hastings wrote: To me, this says that there's no real commitment to doing XML. What there is seems to be a recognition that XML format is regular and comprehensible to others, so writing

Re: XML is Too Hard for Programmers = Tim Bray

2003-03-18 Thread Dan Sugalski
At 10:54 AM -0800 3/18/03, Michael Lazzaro wrote: A perl5-native parser can be rigged up fairly easily, but it's *numbingly* slow compared to the C version. I mean, 20-50 times slower, by my guess. The speed issue when importing XML-like data (which we do *very frequently*) is a constant