Re: Fast XML parser?

2012-10-31 Thread Octavian Rasnita
Perl and I don't know why. And strange, but I've seen that now it just crashes Perl, but it doesn't return that "Free to wrong pool" error. Octavian That must be something either within your perl or the XML::Parser::Expat. What versions of those two do you ha

Re: Fast XML parser?

2012-10-31 Thread Rob Coops
> > > But it doesn't work with the entire xml file which has more than 200 MB, > because it crashes Perl and I don't know why. > > > > And strange, but I've seen that now it just crashes Perl, but it doesn't > return that "Free to wrong pool"

Re: Fast XML parser?

2012-10-31 Thread Jenda Krynicky
gt; because it crashes Perl and I don't know why. > > And strange, but I've seen that now it just crashes Perl, but it doesn't > return that "Free to wrong pool" error. > > Octavian That must be something either within your perl or the XML::Pars

Re: Fast XML parser?

2012-10-31 Thread Octavian Rasnita
From: "Jenda Krynicky" > From: "Octavian Rasnita" > To: > Subject:Fast XML parser? > Date sent: Thu, 25 Oct 2012 14:33:15 +0300 > >> Hi, >> >> Can you recommend an XML parser which is faster than XML::Tw

Re: Fast XML parser?

2012-10-30 Thread Octavian Rasnita
From: "Jenda Krynicky" > From: "Octavian Rasnita" > To: > Subject:Fast XML parser? > Date sent: Thu, 25 Oct 2012 14:33:15 +0300 > >> Hi, >> >> Can you recommend an XML parser which is faster than XML::Tw

Re: Fast XML parser?

2012-10-30 Thread Jenda Krynicky
From: "Octavian Rasnita" To: Subject: Fast XML parser? Date sent: Thu, 25 Oct 2012 14:33:15 +0300 > Hi, > > Can you recommend an XML parser which is faster than XML::Twig? > > I need to use an XML pars

Re: Fast XML parser?

2012-10-29 Thread Octavian Rasnita
From: "Shlomi Fish" On Mon, 29 Oct 2012 10:09:53 +0200 Shlomi Fish wrote: > Hi Octavian, > > On Sun, 28 Oct 2012 17:45:15 +0200 > "Octavian Rasnita" wrote: > > > From: "Shlomi Fish" > > > > Hi Octavian, > > > > > > > > Hi Shlomi, > > > > I tried to use XML::LibXML::Reader which uses the

Re: Fast XML parser?

2012-10-29 Thread Octavian Rasnita
> -- > - > Shlomi Fish http://www.shlomifish.org/ > A little late I know but still... Unfortunately it is not so late. :-) > LibXML was my saviour and using XPath was the fastest solution. Though it is > possible

Re: Fast XML parser?

2012-10-29 Thread Rob Coops
pared on a element by element level and with some fuzzy logic needed to be the same. Things like floating point precision could change (1.00 = 1) and in some cases data could show up in a different order (repeating elements for multiple items on an order). The whole idea was system A that took flat t

Re: Fast XML parser?

2012-10-29 Thread Shlomi Fish
On Mon, 29 Oct 2012 10:09:53 +0200 Shlomi Fish wrote: > Hi Octavian, > > On Sun, 28 Oct 2012 17:45:15 +0200 > "Octavian Rasnita" wrote: > > > From: "Shlomi Fish" > > > > Hi Octavian, > > > > > > > > Hi Shlomi, > > > > I tried to use XML::LibXML::Reader which uses the pool parser, and I r

Re: Fast XML parser?

2012-10-29 Thread Shlomi Fish
Hi Octavian, On Sun, 28 Oct 2012 17:45:15 +0200 "Octavian Rasnita" wrote: > From: "Shlomi Fish" > > Hi Octavian, > > > > Hi Shlomi, > > I tried to use XML::LibXML::Reader which uses the pool parser, and I read > that: > > "" > However, it is also possible to mix Reader with DOM. At every

Re: Fast XML parser?

2012-10-28 Thread Octavian Rasnita
From: "Shlomi Fish" Hi Octavian, On Thu, 25 Oct 2012 14:33:15 +0300 "Octavian Rasnita" wrote: Hi, Can you recommend an XML parser which is faster than XML::Twig? I need to use an XML parser that can parse the XML files chunk by chunk and which works faster (much fa

Re: Fast XML parser?

2012-10-25 Thread Michiel Beijen
I'm sorry, I did not see Shlomi's reply, it was in my spam folder for some reason. On Thu, Oct 25, 2012 at 5:30 PM, Michiel Beijen wrote: > Hi Octavian, > > On Thu, Oct 25, 2012 at 1:33 PM, Octavian Rasnita wrote: > >> Can you recommend an XML parser which is faster

Re: Fast XML parser?

2012-10-25 Thread Michiel Beijen
Hi Octavian, On Thu, Oct 25, 2012 at 1:33 PM, Octavian Rasnita wrote: > Can you recommend an XML parser which is faster than XML::Twig? Did you try XML::LibXML ? https://www.metacpan.org/module/XML::LibXML -- Michiel -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additio

Re: Fast XML parser?

2012-10-25 Thread Shlomi Fish
Hi Octavian, On Thu, 25 Oct 2012 14:33:15 +0300 "Octavian Rasnita" wrote: > Hi, > > Can you recommend an XML parser which is faster than XML::Twig? > > I need to use an XML parser that can parse the XML files chunk by chunk and > which works faster (much faste

Fast XML parser?

2012-10-25 Thread Octavian Rasnita
Hi, Can you recommend an XML parser which is faster than XML::Twig? I need to use an XML parser that can parse the XML files chunk by chunk and which works faster (much faster) than XML::Twig, because I tried using this module but it is very slow. I tried something like the code below, but I

RE: A problem while using XML::Parser::PerlSAX

2010-07-01 Thread Jason Feng
2010 18:09:01 -0500 Subject: Re: A problem while using XML::Parser::PerlSAX From: greg.jar...@gmail.com To: q15...@hotmail.com Jason, I have not worked with PerlSAX, however I played around with SAX in Java and have an idea you can try out. I'm not sure if you can do this in PerlSAX, but in J

RE: A problem while using XML::Parser::PerlSAX

2010-07-01 Thread Jason Feng
1 Jul 2010 08:09:20 +0200 > Subject: Re: A problem while using XML::Parser::PerlSAX > > From: Jason Feng > > I am using XML::Parser::PerlSAX > > to parse a 300M XML file. I meet a strange issue with handler characters. > > This handler is supposed to return > >

Re: A problem while using XML::Parser::PerlSAX

2010-06-30 Thread Jenda Krynicky
From: Jason Feng > I am using XML::Parser::PerlSAX > to parse a 300M XML file. I meet a strange issue with handler characters. > This handler is supposed to return > all the contents between start markup and end markup. But sometimes it just > returns one part of the whole c

A problem while using XML::Parser::PerlSAX

2010-06-30 Thread Jason Feng
Hi there, I am using XML::Parser::PerlSAX to parse a 300M XML file. I meet a strange issue with handler characters. This handler is supposed to return all the contents between start markup and end markup. But sometimes it just returns one part of the whole contents. On the second call

Re: How to use the module: XML::Parser

2010-05-11 Thread Shlomi Fish
Hi Parag, On Tuesday 11 May 2010 08:50:21 Parag Kalra wrote: > Hey All, > > I am trying to design some scripts using the module - XML::Parser > > To start learning I have a very basic scenario. Suppose I have following > XML file: > > > My Tag1 > My Tag2 > M

Re: How to use the module: XML::Parser

2010-05-11 Thread Jeff Pang
2010/5/11 Parag Kalra : > Hey All, > > I am trying to design some scripts using the module - XML::Parser > > To start  learning I have a very basic scenario. Suppose I have following > XML file: > > > My Tag1 > My Tag2 > My Tag3 > > > I want to s

How to use the module: XML::Parser

2010-05-10 Thread Parag Kalra
Hey All, I am trying to design some scripts using the module - XML::Parser To start learning I have a very basic scenario. Suppose I have following XML file: My Tag1 My Tag2 My Tag3 I want to save the the tags as the keys of a Hash and respective content as the value of that hash So for

Re: XML Parser Error

2010-04-16 Thread Open Source
> - Original Message - > From: Brad Baxter > Sent: 04/16/10 01:31 AM > To: beginners@perl.org > Subject: Re: XML Parser Error > On 4/15/2010 1:40 PM, Open Source wrote: > I'm getting this error: > > Undefined subroutine&XML::Simple::XMLin called at ./

Re: XML Parser Error

2010-04-16 Thread Brad Baxter
On 4/15/2010 1:40 PM, Open Source wrote: I'm getting this error: Undefined subroutine&XML::Simple::XMLin called at ./sample.pl line 3. Here's my code and input file: use XML::Simple; use Data::Dumper; $data = XMLin("sample.xml"); print Dumper($data); John 43 M Operations There mu

RE: XML Parser Error

2010-04-16 Thread Wagner, David --- Senior Programmer Analyst --- CFS
>-Original Message- >From: Open Source [mailto:open.sou...@gmx.com] >Sent: Thursday, April 15, 2010 11:41 >To: Beginners, Perl >Subject: XML Parser Error > >I'm getting this error: > >Undefined subroutine &XML::Simple::XMLin called at ./sample.pl line

XML Parser Error

2010-04-15 Thread Open Source
I'm getting this error: Undefined subroutine &XML::Simple::XMLin called at ./sample.pl line 3. Here's my code and input file: use XML::Simple; use Data::Dumper; $data = XMLin("sample.xml"); print Dumper($data); John 43 M Operations -- To unsubscribe, e-mail: beginners-unsubscr...@perl.

Re: trying to parse out the simple xml file from the book with XML::Parser and I get not well-formed error

2008-11-02 Thread Richard Lee
/Parser.pm line 187 Partly Cloudy<\OUTLOOK> 12 use strict; use warnings; use XML::Parser; my %forecast; my @curr; my $type; my $p1 = new XML::Parser(Style => 'Stream'); my $yahoo = shift; $p1->parsefile($yahoo); print "Outlook: $forecast{outlook}\n

trying to parse out the simple xml file from the book with XML::Parser and I get not well-formed error

2008-11-02 Thread Richard Lee
Partly Cloudy<\OUTLOOK> 12 use strict; use warnings; use XML::Parser; my %forecast; my @curr; my $type; my $p1 = new XML::Parser(Style => 'Stream'); my $yahoo = shift; $p1->parsefile($yahoo); print "Outlook: $forecast{outlook}\n"; foreach (keys

Re: XML::Parser::Expat example

2008-09-02 Thread Mr. Shawn H. Corey
On Tue, 2008-09-02 at 11:53 +0300, Vyacheslav Karamov wrote: > Hi All! > > Could someone give me some examples how to use XML::Parser::Expat? You should use XML::Parser instead. Most Perl Mongers prefer to use XML::Twig or XML::SAX or XML::DOM. All are available at CPAN <http://sea

XML::Parser::Expat example

2008-09-02 Thread Vyacheslav Karamov
Hi All! Could someone give me some examples how to use XML::Parser::Expat? --- WBR, Vyacheslav. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

keep entity references while parsing with XML::Parser

2005-09-15 Thread Alois Heuboeck
t, do some more transformations using XML::DOM and 4- print out resulting XML My problem is that in the third step, when parsing its input, the XML::Parser seems to resolve those references that contain the HEX Unicode nb.; the "special name" references are not resolved. My input

Stop XML::Parser

2005-09-07 Thread [EMAIL PROTECTED]
Hi, I have a simple question about XML::Parser. Is there a way to stop parsing in progress and how ? Thanks in advance, Andre -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: Help regarding XML::Parser

2005-07-20 Thread Manish Uskaikar
xml document. Regards, Manish U From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED] Sent: Thu 7/21/2005 12:16 AM To: Manish Uskaikar Cc: beginners@perl.org Subject: Re: Help regarding XML::Parser On Jul 20, Manish Uskaikar said: > use XML::Pa

Re: Help regarding XML::Parser

2005-07-20 Thread Jeff 'japhy' Pinyan
On Jul 20, Manish Uskaikar said: use XML::Parser; my $p = XML::Parser->new(Style => 'Tree'); my $tree = $p->parsefile('tree.xml'); print $tree; when i give the command; perl tree.pl it tries to show me something like this:ARRAY(0x193da14) $tree is a reference

Help regarding XML::Parser

2005-07-20 Thread Manish Uskaikar
Hi guys, I am a newbie to xml-perl. i am trying to learn some egs from the documentation. my perl code looks like this tree.pl use XML::Parser; my $p = XML::Parser->new(Style => 'Tree'); my $tree = $p->parsefile('tree.xml'); print $tree; tree.xml Hello th

RE: Recommendation for a XML Parser defined against a DTD?

2005-06-17 Thread Bob Showalter
Ravi Malghan wrote: > Hi: I have a bunch of xml files defined against a DTD. > I want to parse them. I googled for perl XML reader > modules and found lots of them. Anybody have used > specific ones and have recommendations? Note that "parsing" is different from "validating". Not all parsers can d

Recommendation for a XML Parser defined against a DTD?

2005-06-17 Thread Ravi Malghan
Hi: I have a bunch of xml files defined against a DTD. I want to parse them. I googled for perl XML reader modules and found lots of them. Anybody have used specific ones and have recommendations? Thanks Ravi __ Do You Yahoo!? Tired of spam? Yahoo!

RE: xml parser

2005-06-09 Thread Dermot Paikkos
Yeap that seems to have done it. Thanx Thomas. Dp. On 9 Jun 2005 at 12:23, Thomas Bätzler wrote: > Dermot Paikkos <[EMAIL PROTECTED]> asked: > > Thanx for the replies. At the moment I am testing the water > > so I am using Activestate 5.8. All I have done with > > XML::Simple is below. > > > > =

RE: xml parser

2005-06-09 Thread Thomas Bätzler
Dermot Paikkos <[EMAIL PROTECTED]> asked: > Thanx for the replies. At the moment I am testing the water > so I am using Activestate 5.8. All I have done with > XML::Simple is below. > > = xml-parse.pl = > #!/bin/perl > use strict; > use XML::Simple; > use Data::Dumper; > > m

xml parser

2005-06-09 Thread Dermot Paikkos
Hi, Thanx for the replies. At the moment I am testing the water so I am using Activestate 5.8. All I have done with XML::Simple is below. = xml-parse.pl = #!/bin/perl use strict; use XML::Simple; use Data::Dumper; my $file = shift; # Doesn't like

Re: xml parser

2005-06-08 Thread Wiggins d'Anconia
at would be the best (easiest/fastest) way to parse > the file. Should I try and set the record separator to something like > > $/ = "\n"; > > Or should I use a XML::Parser (which looks a bit scary) or > XML::Simple (my first attempt at which failed). > Use a mo

Re: xml parser

2005-06-08 Thread Chris Devers
On Wed, 8 Jun 2005, Dermot Paikkos wrote: > My question is what would be the best (easiest/fastest) way to parse > the file. Should I try and set the record separator to something like > > $/ = "\n"; > > Or should I use a XML::Parser (which looks a bit scary) or > X

xml parser

2005-06-08 Thread Dermot Paikkos
file. Should I try and set the record separator to something like $/ = "\n"; Or should I use a XML::Parser (which looks a bit scary) or XML::Simple (my first attempt at which failed). I think i will eventally need to create a data structure like: $hashref = { 'n

RE: usage of xerces xml parser

2004-10-12 Thread Bob Showalter
E.Horn wrote: > hello! > now i have found xerces , a parser module. If you want to process XML with Perl, why not start here to get an overview of the topic: http://perl-xml.sourceforge.net/faq/ After you study that (see esp. section 2.1) you can come back with a more focused question. > how do

Re: usage of xerces xml parser

2004-10-12 Thread Gunnar Hjalmarsson
E.Horn wrote: now i have found xerces , a parser module. how do i extract with this one liks, out of a xmlfile!? As the documentation for the module says. -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

usage of xerces xml parser

2004-10-12 Thread E.Horn
hello! now i have found xerces , a parser module. how do i extract with this one liks, out of a xmlfile!? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: XMLin() not finding XML::SAX or XML::Parser modules Problem

2004-09-24 Thread Wiggins d Anconia
> Instructions for this will vary depending what OS you're running on. The > docs for whichever of XML::SAX or XML::Parser you're going with may have > more notes to go by here. > > Once Expat is installed, you need to set those variables for Perl to use > while bu

Re: XMLin() not finding XML::SAX or XML::Parser modules Problem

2004-09-24 Thread Chris Devers
ing what OS you're running on. The docs for whichever of XML::SAX or XML::Parser you're going with may have more notes to go by here. Once Expat is installed, you need to set those variables for Perl to use while building. The two ways I can think of doing this are: * set them befo

Re: XMLin() not finding XML::SAX or XML::Parser modules Problem

2004-09-24 Thread Ajey Kulkarni
I installed the expat libs,but the cpan shell is now asking for EXPATLIBPATH and EXPATINCPATH. It says perl Makefile.PL Now,how do i specify these paths for XML::Module installation?? Where is this Makefile.PL file? Regards again -Ajey On Thu, 23 Sep 2004, Chris Devers wrote: > Please send

Re: XMLin() not finding XML::SAX or XML::Parser modules Problem

2004-09-23 Thread Chris Devers
Please send all replies to the list, not me directly. Thanks. On Thu, 23 Sep 2004, Ajey Kulkarni wrote: > Thanks a bunch Chris. I FORCED the pms to be copied. > I'll try to install this and get it running. It usually isn't a good idea to force an install unless you understand what the error you

Re: XMLin() not finding XML::SAX or XML::Parser modules Problem

2004-09-23 Thread Chris Devers
On Thu, 23 Sep 2004, Ajey Kulkarni wrote: > XMLin() requires either XML::SAX or XML::Parser at line number blah blah. > I actually copied these two perl modules in the right place but still then > my script is not able to find these.(in @INC). What is XMLin() ? Ahh, I see, it&#

XMLin() not finding XML::SAX or XML::Parser modules Problem

2004-09-23 Thread Ajey Kulkarni
Hi, XMLin() requires either XML::SAX or XML::Parser at line number blah blah. I actually copied these two perl modules in the right place but still then my script is not able to find these.(in @INC). I'm trying to call this XMLin() function from another perl module. Am i missing anything

Re: Problem with XML::Parser

2003-04-03 Thread R. Joseph Newton
Keith Boynton wrote: > > This exact code works fine on another machine. Any ideas? > Did it touch a word-wrapping editor--the kind that is appropriate and SHOULD be used for discursive material only? I wonder because when I pated this into my interpreter, the only error I received was on the l

Re: Problem with XML::Parser

2003-04-03 Thread Keith Boynton
Yeah it knows its not "technically" valid xml but XML::Parser does not care about that. XML::Checker::Parser would. The versions of XML::Parser of the same, I have an idea it may be Expat chucking out the results in a different format but I cannot be sure. "Wiggins D'Anconi

Re: Problem with XML::Parser

2003-04-02 Thread Wiggins d'Anconia
Keith Boynton wrote: I am having some problems with the XML::Parser module. It is returning an error when passed some valid xml in the form of a string. The error it returns is: No element found at line 1, column 0 byte -1 This seems to suggest that the string is empty although if I print the

Problem with XML::Parser

2003-04-02 Thread Keith Boynton
I am having some problems with the XML::Parser module. It is returning an error when passed some valid xml in the form of a string. The error it returns is: No element found at line 1, column 0 byte -1 This seems to suggest that the string is empty although if I print the string immediately

Help installing XML::Parser 2.31

2003-03-19 Thread Brad Fike
Hello, I'm trying to install XML::Parser on my workstation. Win 2000 Perl 5 (revision 5 version 6 subversion 1) After "perl makefile.pl" I run "nmake" and get this error... --- Microsoft (R) Program Main

XML::Parser, getting parent from the char_handler

2003-01-31 Thread Nils-Anders Persson
Hello, Another XML-question. When the char_handler in XML::Parser is called it's easy to find which element that called it, but is there an easy way to tell the parent of the calling element? Regards, Nils-Anders -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

RE: XML -> Perl-variables using XML::Parser

2003-01-29 Thread NYIMI Jose (BMB)
Give a look to this : http://www.xml.com/pub/a/2001/02/14/perlsax.html José. > -Original Message- > From: Nils-Anders Persson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 29, 2003 10:09 AM > To: [EMAIL PROTECTED] > Subject: XML -> Perl-variables using XML::Pa

XML -> Perl-variables using XML::Parser

2003-01-29 Thread Nils-Anders Persson
Hello good people! I have a bit of a problem with turning this piece of XML into a Perl-variable using the XML::Parser. Earlier i have used the XML::Dt parser to do this and it works, but the amount of data is to big for the later (takes to much time to parse through the file). I wonder if there

RE: can't load XML::Parser::PerlSAX

2002-11-18 Thread Beau E. Cox
XML-DOM Author: T.J. Mather CPAN id: T/TJ/TJMATHER email: [EMAIL PROTECTED] Home page: http://maxmind.com/ Requires: ExtUtils::MakeMaker : create an extension Makefile... LWP::UserAgent : A WWW UserAgent class [in the libwww-perl-5.65 distribution] XML::Parser : A perl module for parsing XML

can't load XML::Parser::PerlSAX

2002-11-18 Thread Sorin Marti
Hi all I downloaded the XML Parser 2.31 from CPAN and installed it. Now I want to install XML-DOM-1.41 but I get following error Warning: prerequisite XML::Parser::PerlSAX failed to load: Can't locate XML/Parser/PerlSAX.pm Do I have to install something else before XML-DOM? Is PerlSAX n

XML::Parser [was while-problem]

2002-11-15 Thread Sorin Marti
ichnung"=> "", "wert" => "" ); %endsub = ( "energieverbrauch" => "", "energietraeger" => "", "bezeichnung"=> "", "wert" =>

XML::XPath / XML::Parser problems on Windows (cygwin)

2002-05-22 Thread Daryl J. Hoyt
I'm having problems getting XPATH to install on Cygwin Windows. I downloaded Expat from souceforge, and installed it, but for some reason XML::Parser can not find expat.h even though I supply the env vars EXPATINCPATH=d:\XML\expat and EXPATLIBPATH=d:\XML\expat\src\expat_win32bin_1_95_1 (I

RE: PERL and XML Parser

2002-02-01 Thread Stout, Joel R
I not sure how more experienced Perl developers feel but in addition to XML::Parser, I found XML::SimpleObject a great way to start parsing XML. Here's a link: http://www.xml.com/pub/a/2001/04/18/perlxmlqstart1.html Additionally, you can model the data anyway you want, but here'

Re: PERL and XML Parser

2002-02-01 Thread P0R0NG
oh yes thanks for that! thanks. i overlooked that. my big... anyways, here's the correct xml version: Percy Alice in Chains The Pixies Percy and the Test Tube Babies Bob Marley Peter Tosh Percy Gone Jazz in using xml parser, how can i ge

RE: PERL and XML Parser

2002-02-01 Thread Hanson, Robert
: P0R0NG [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 8:10 AM To: [EMAIL PROTECTED] Subject: Re: PERL and XML Parser On Fri, 1 Feb 2002 21:04:54 +0800 P0R0NG <[EMAIL PROTECTED]> wrote: |how can i get the PCDATA for the element "owner"? i want to get just |the "owner&qu

Re: PERL and XML Parser

2002-02-01 Thread P0R0NG
On Fri, 1 Feb 2002 21:04:54 +0800 P0R0NG <[EMAIL PROTECTED]> wrote: |how can i get the PCDATA for the element "owner"? i want to get just |the "owner" elements and the content of the "owner." | |i've created a code that will trap for the start and end tags of |the element "owner" as well as the

PERL and XML Parser

2002-02-01 Thread P0R0NG
Hi list. I'm currently doing a perl project involving XML parser. given this xml snippet: Percy Alice in Chains The Pixies Bob Marley Peter Tosh how can i get the PCDATA for the element "owner"? i want to get just the "owner" el

expat and XML::Parser on OS X, need some help

2002-01-14 Thread David Jacopille
see if I'm missing something obvious. Below are the 10 steps I've been banging my head against for the past 8 hours: 1) In order to install XML::Parser I first need to install expat. I downloaded 1.95.2.tar.gz from http://sourceforge.net/project/showfiles.php?group_id=10127 and unp

Carp and XML::Parser and INIT, oh my

2001-11-13 Thread Jon Cassorla
I ran into a problem using the Carp module in an INIT block while using the XML::Parser module. It seems as though there is something uninitialized within the module until after the INIT block. Once my INIT block is completed, all is well. Anyone understand why using it is problematic here

Re: XML::Parser -- Problem with undefined entities in element attributes

2001-08-15 Thread M.W. Koskamp
- Original Message - From: KAVANAGH, Michael <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 12:28 PM Subject: XML::Parser -- Problem with undefined entities in element attributes > Hi there, > I've been bumping my head up against t

Re: XML::Parser -- Problem with undefined entities in element attributes

2001-08-15 Thread Michel Rodriguez
On Wednesday 15 August 2001 13:19, KAVANAGH, Michael wrote: > Interestingly, in testing this problem, I found that XML::Parser handles > ® in the attribute fine, but not, as I said, ®. The ascii value > entity seems to be handled ok. Can you confirm that in your experience this >

RE: XML::Parser -- Problem with undefined entities in element attribu tes

2001-08-15 Thread KAVANAGH, Michael
That is very helpful Michel, thanks. And thanks for the reference to the mailing list... I didn't know about that one. One final follow-up point... Interestingly, in testing this problem, I found that XML::Parser handles ® in the attribute fine, but not, as I said, ®. The ascii value e

Re: XML::Parser -- Problem with undefined entities in element attribu tes

2001-08-15 Thread Michel Rodriguez
On Wednesday 15 August 2001 12:28, KAVANAGH, Michael wrote: > Is there any way to handle entity references in attribute values? > > My problem is I have tags in my xml that contain entity references like > this: > and XML::Parser generates the following error: > undefine

XML::Parser -- Problem with undefined entities in element attributes

2001-08-15 Thread KAVANAGH, Michael
Hi there, I've been bumping my head up against this problem all morning now, and can't come up with an answer, maybe someone with XML::Parser experience can help. The XML::Parser documentation doesn't really have any suggestions. Normally you can use the NoExpand method to pre

statically linked perl with XML::Parser

2001-06-23 Thread Pozsar Balazs
d, by the meaning that it doesn't require /lib/ld-linux.so.2 - it can dynamically load per-modules. If the above is not possible, then how do I compile a static perl, which includes the XML::Parser modules? Don't tell me to simply extract it into ext/, and recompile, because it doesn

Re: XML::Parser XML::SimpleObject -> First XML parsing pls help

2001-06-13 Thread Chas Owens
html > > I wanted something really simple for XML parsing that basically just reads > > values. But I'm stuck (again). > > > > #Here's what I'm trying to run: > > > > #!c:\perl\perl.exe > > > > use XML::Parser; > > use XML::S

Re: XML::Parser XML::SimpleObject -> First XML parsing pls help

2001-06-13 Thread Chas Owens
> I wanted something really simple for XML parsing that basically just reads > values. But I'm stuck (again). > > #Here's what I'm trying to run: > > #!c:\perl\perl.exe > > use XML::Parser; > use XML::SimpleObject; > use strict; > > my $fi

XML::Parser XML::SimpleObject -> First XML parsing pls help

2001-06-13 Thread Stout, Joel R
I took the example from http://www.xml.com/pub/a/2001/04/18/perlxmlqstart1.html I wanted something really simple for XML parsing that basically just reads values. But I'm stuck (again). #Here's what I'm trying to run: #!c:\perl\perl.exe use XML::Parser; use XML::SimpleObject;