Re: 384(!) readers on London.pm

2003-08-26 Thread Philip Newton
On 18 Aug 2003 at 22:49, Gabor Szabo wrote: You can take a look at the data I mentioned on YAPC::EU about the size of some of the groups: http://www.perl.org.il/pm/ How about adding Hamburg.pm to that list? That's slowly been getting going since it was revived this spring. Cheers, Philip

Re: Test Sweets?

2003-08-26 Thread Mark Fowler
On Mon, 25 Aug 2003, Nigel Hamilton wrote: There seems to be two schools of thought: Test::More, and Test::Unit. Any thoughts on which approach is better for combining standalone testing and cronjob tests? To be honest, there's not that much difference. You run the script and run the

Re: [OT] SQL woes

2003-08-26 Thread Peter Haworth
On 22 Aug 2003 06:45:21 -0700, (Randal L. Schwartz) wrote: On the other hand, if you wanna be able to ask a question on a general mailing list, the MySQL community is probably ten times the size of the PostgreSQL community, and more applications have been written that presume MySQL's quirky

Re: Test Sweets?

2003-08-26 Thread Adam Spiers
Mark Fowler ([EMAIL PROTECTED]) wrote: On Mon, 25 Aug 2003, Nigel Hamilton wrote: There seems to be two schools of thought: Test::More, and Test::Unit. Any thoughts on which approach is better for combining standalone testing and cronjob tests? To be honest, there's not that much

Re: Test Sweets?

2003-08-26 Thread Peter Sergeant
To be honest, there's not that much difference. You run the script and run the results though Test::Harness which works out if they passed or not. Or you run each test manually and look at the output. This may be different now, but, I found Test::Simple and Test::More to be a lot easier to

Re: Test Sweets?

2003-08-26 Thread Adrian Howard
On Tuesday, August 26, 2003, at 01:32 pm, Peter Sergeant wrote: To be honest, there's not that much difference. You run the script and run the results though Test::Harness which works out if they passed or not. Or you run each test manually and look at the output. This may be different now,

XML XML::LibXML declarations issue

2003-08-26 Thread Toby Corkindale
I'm probably doing something stupid here, but I have the following problem: I am trying to parse this simple XML: ?xml version=1.0 encoding=UTF-8? vxml xmlns=http://www.w3.org/2001/vxml; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.w3.org/2001/vxml

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Robin Berjon
Toby Corkindale wrote: The problem is that although the XML document parses fine, and i can manually trawl through child nodes OK, the findnodes() function doesn't work. It *does* work if I remove the xmlns= line from the vxml declaration. (I can leave the schema stuff in there) Am I doing

Re: [OT] SQL woes

2003-08-26 Thread Randal L. Schwartz
Peter == Peter Haworth [EMAIL PROTECTED] writes: Peter On 22 Aug 2003 06:45:21 -0700, (Randal L. Schwartz) wrote: On the other hand, if you wanna be able to ask a question on a general mailing list, the MySQL community is probably ten times the size of the PostgreSQL community, and more

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Mark Fowler
On Tue, 26 Aug 2003, Robin Berjon wrote: When you call findnodes, you are not providing the necessary namespace context, which is why it works when you remove the namespace but not when it's there. Allow me to rephrase to help make this painfully clear: The xmlns= means 'put everything not

SVG::TT::Graph - now with Pie.

2003-08-26 Thread Leo Lapworth
SVG::TT::Graph hit CPAN this morning. Version 0.2 has line, bar and pie charts. Thanks to everyone for their input. Leo

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Andy Wardley
Mark Fowler wrote: mynamespace:vxml xmlns:mynamespace=http://www.w3.org/2001/vxml; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd; version=2.0 Hands up who thinks XML sucks? A

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Tom Hukins
On Tue, Aug 26, 2003 at 03:44:51PM +0200, Robin Berjon wrote: Toby Corkindale wrote: Am I doing something wrong here, or is XML::LibXML, or is the VoiceXML standard? When you call findnodes, you are not providing the necessary namespace context, which is why it works when you remove the

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Roger Burton West
On Tue, Aug 26, 2003 at 04:11:15PM +0100, Andy Wardley wrote: Hands up who thinks XML sucks? For many things, yes. Now that it's less of a buzzword than it was a couple of years ago, people are doing more sensible things with it. Stick it on the stack with all the other computery techniques that

Re: Test Sweets?

2003-08-26 Thread Tony Bowden
On Tue, Aug 26, 2003 at 01:05:27PM +0100, Adam Spiers wrote: I beg to differ! There's a substantial difference between Test::More and Test::Unit. Test::Unit is best when you have a huge test suite to run on a huge OO code base I'd say Test::Class is best for thist :) - ok($foo, 'bar')

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Robin Berjon
Andy Wardley wrote: Mark Fowler wrote: mynamespace:vxml xmlns:mynamespace=http://www.w3.org/2001/vxml; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd; version=2.0 Hands up who thinks XML sucks? Hmmm. Same

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Andy Wardley
Robin Berjon wrote: Hands up who thinks XML Schema sucks? Now both my hands are up in the air. I'm typing this with my dick. A

Re: golf and reversed emails

2003-08-26 Thread Scott McWhirter
On Sun, Aug 24, 2003 at 10:36:35AM -0400, Chris Devers wrote: % echo hello there | \ perl -e 'print `rev`' ereht olleh Can anyone beat 11 characters? yeah... remove the space... =0) -- -Scott McWhirter- | -kungfuftr-

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Mark Fowler
On Tue, 26 Aug 2003, Andy Wardley wrote: Robin Berjon wrote: Hands up who thinks XML Schema sucks? Now both my hands are up in the air. I'm typing this with my dick. Hang on, I seem to remember you giving this big talk about how you were going to use XML Schema to do all this whizz bang

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Nigel Hamilton
Mark Fowler wrote: mynamespace:vxml xmlns:mynamespace=http://www.w3.org/2001/vxml; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd; version=2.0 Hands up who thinks XML sucks? Here!

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Dominic Mitchell
Mark Fowler [EMAIL PROTECTED] wrote: On Tue, 26 Aug 2003, Robin Berjon wrote: When you call findnodes, you are not providing the necessary namespace context, which is why it works when you remove the namespace but not when it's there. Allow me to rephrase to help make this painfully

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Dominic Mitchell
Mark Fowler [EMAIL PROTECTED] wrote: On Tue, 26 Aug 2003, Andy Wardley wrote: Robin Berjon wrote: Hands up who thinks XML Schema sucks? Now both my hands are up in the air. I'm typing this with my dick. Hang on, I seem to remember you giving this big talk about how you were going to

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Dominic Mitchell
Nigel Hamilton [EMAIL PROTECTED] wrote: Here! here! Just take the XML::Simple documentation, it starts off courageously simple but before you know it you're way past the synopsis and in a world of hurt. The escaping, unescaped, escape characters has been a nightmare, every XML feed

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Toby Corkindale
On Tue, Aug 26, 2003 at 11:06:37AM -0500, Nigel Hamilton wrote: Mark Fowler wrote: mynamespace:vxml xmlns:mynamespace=http://www.w3.org/2001/vxml; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.w3.org/2001/vxml

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Toby Corkindale
On Tue, Aug 26, 2003 at 03:12:06PM +0100, Mark Fowler wrote: On Tue, 26 Aug 2003, Robin Berjon wrote: When you call findnodes, you are not providing the necessary namespace context, which is why it works when you remove the namespace but not when it's there. Robin, Mark, many thanks.

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Dominic Mitchell
Andy Wardley [EMAIL PROTECTED] wrote: Mark Fowler wrote: mynamespace:vxml xmlns:mynamespace=http://www.w3.org/2001/vxml; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd; version=2.0 Hands up

Re: golf and reversed emails

2003-08-26 Thread Nick Cleaton
On Sun, Aug 24, 2003 at 05:29:02PM +0100, Scott McWhirter wrote: perl -e 'print `rev`' Can anyone beat 11 characters? yeah... remove the space... Or even perl -e 'exec rev' -- Nick

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Robin Berjon
Toby Corkindale wrote: I've implemented the fix using XML::LibXML::XPathContext, which seems to do the trick with it's registerNS function; it does tend to clutter things a bit though. :( It does clutter things a little bit, but it's the only right way to do it. The other thing I don't understand

Re: XML XML::LibXML declarations issue

2003-08-26 Thread Nigel Hamilton
Bring back tab-delimited! :-) Yes, because not knowing what your fields are labelled and what character set it's all in is really helpful. Not to mention not knowing about truncation of the file. Sorry for being flamish, I know that post was intended less seriously than I

stop this slrn nonsense

2003-08-26 Thread Sam Vilain
It's screwing up the threading!

XML::Schema (Re: XML XML::LibXML declarations issue)

2003-08-26 Thread Andy Wardley
Mark Fowler wrote: Hang on, I seem to remember you giving this big talk about how you were going to use XML Schema to do all this whizz bang stuff. Whatever happened to that? Proved to be too complex? It proved to be close to impossible to implement the full XML Schema specification. My