Giter Site home page Giter Site logo

xml-parser's Introduction

Build Status

NAME

XML::Parser - A perl module for parsing XML documents

SYNOPSIS

use XML::Parser;

$p1 = XML::Parser->new(Style => 'Debug');
$p1->parsefile('REC-xml-19980210.xml');
$p1->parse('<foo id="me">Hello World</foo>');

# Alternative
$p2 = XML::Parser->new(Handlers => {Start => \&handle_start,
                                   End   => \&handle_end,
                                   Char  => \&handle_char});
$p2->parse($socket);

# Another alternative
$p3 = XML::Parser->new(ErrorContext => 2);

$p3->setHandlers(Char    => \&text,
                 Default => \&other);

open(my $fh, 'xmlgenerator |');
$p3->parse($fh, ProtocolEncoding => 'ISO-8859-1');
close($fh);

$p3->parsefile('junk.xml', ErrorContext => 3);

DESCRIPTION

This module provides ways to parse XML documents. It is built on top of XML::Parser::Expat, which is a lower level interface to James Clark's expat library. Each call to one of the parsing methods creates a new instance of XML::Parser::Expat which is then used to parse the document. Expat options may be provided when the XML::Parser object is created. These options are then passed on to the Expat object on each parse call. They can also be given as extra arguments to the parse methods, in which case they override options given at XML::Parser creation time.

The behavior of the parser is controlled either by ["STYLES"](#styles) and/or ["HANDLERS"](#handlers) options, or by "setHandlers" method. These all provide mechanisms for XML::Parser to set the handlers needed by XML::Parser::Expat. If neither Style nor Handlers are specified, then parsing just checks the document for being well-formed.

When underlying handlers get called, they receive as their first parameter the Expat object, not the Parser object.

METHODS

  • new

    This is a class method, the constructor for XML::Parser. Options are passed as keyword value pairs. Recognized options are:

    • Style

      This option provides an easy way to create a given style of parser. The built in styles are: "Debug", "Subs", "Tree", "Objects", and "Stream". These are all defined in separate packages under XML::Parser::Style::*, and you can find further documentation for each style both below, and in those packages.

      Custom styles can be provided by giving a full package name containing at least one '::'. This package should then have subs defined for each handler it wishes to have installed. See "STYLES" below for a discussion of each built in style.

    • Handlers

      When provided, this option should be an anonymous hash containing as keys the type of handler and as values a sub reference to handle that type of event. All the handlers get passed as their 1st parameter the instance of expat that is parsing the document. Further details on handlers can be found in "HANDLERS". Any handler set here overrides the corresponding handler set with the Style option.

    • Pkg

      Some styles will refer to subs defined in this package. If not provided, it defaults to the package which called the constructor.

    • ErrorContext

      This is an Expat option. When this option is defined, errors are reported in context. The value should be the number of lines to show on either side of the line in which the error occurred.

    • ProtocolEncoding

      This is an Expat option. This sets the protocol encoding name. It defaults to none. The built-in encodings are: UTF-8, ISO-8859-1, UTF-16, and US-ASCII. Other encodings may be used if they have encoding maps in one of the directories in the @Encoding_Path list. Check "ENCODINGS" for more information on encoding maps. Setting the protocol encoding overrides any encoding in the XML declaration.

    • Namespaces

      This is an Expat option. If this is set to a true value, then namespace processing is done during the parse. See "Namespaces" in XML::Parser::Expat for further discussion of namespace processing.

    • NoExpand

      This is an Expat option. Normally, the parser will try to expand references to entities defined in the internal subset. If this option is set to a true value, and a default handler is also set, then the default handler will be called when an entity reference is seen in text. This has no effect if a default handler has not been registered, and it has no effect on the expansion of entity references inside attribute values.

    • Stream_Delimiter

      This is an Expat option. It takes a string value. When this string is found alone on a line while parsing from a stream, then the parse is ended as if it saw an end of file. The intended use is with a stream of xml documents in a MIME multipart format. The string should not contain a trailing newline.

    • ParseParamEnt

      This is an Expat option. Unless standalone is set to "yes" in the XML declaration, setting this to a true value allows the external DTD to be read, and parameter entities to be parsed and expanded.

    • NoLWP

      This option has no effect if the ExternEnt or ExternEntFin handlers are directly set. Otherwise, if true, it forces the use of a file based external entity handler.

    • Non_Expat_Options

      If provided, this should be an anonymous hash whose keys are options that shouldn't be passed to Expat. This should only be of concern to those subclassing XML::Parser.

  • setHandlers(TYPE, HANDLER [, TYPE, HANDLER [...]])

    This method registers handlers for various parser events. It overrides any previous handlers registered through the Style or Handler options or through earlier calls to setHandlers. By providing a false or undefined value as the handler, the existing handler can be unset.

    This method returns a list of type, handler pairs corresponding to the input. The handlers returned are the ones that were in effect prior to the call.

    See a description of the handler types in "HANDLERS".

  • parse(SOURCE [, OPT => OPT_VALUE [...]])

    The SOURCE parameter should either be a string containing the whole XML document, or it should be an open IO::Handle. Constructor options to XML::Parser::Expat given as keyword-value pairs may follow the SOURCE parameter. These override, for this call, any options or attributes passed through from the XML::Parser instance.

    A die call is thrown if a parse error occurs. Otherwise it will return 1 or whatever is returned from the Final handler, if one is installed. In other words, what parse may return depends on the style.

  • parsestring

    This is just an alias for parse for backwards compatibility.

  • parsefile(FILE [, OPT => OPT_VALUE [...]])

    Open FILE for reading, then call parse with the open handle. The file is closed no matter how parse returns. Returns what parse returns.

  • parse_start([ OPT => OPT_VALUE [...]])

    Create and return a new instance of XML::Parser::ExpatNB. Constructor options may be provided. If an init handler has been provided, it is called before returning the ExpatNB object. Documents are parsed by making incremental calls to the parse_more method of this object, which takes a string. A single call to the parse_done method of this object, which takes no arguments, indicates that the document is finished.

    If there is a final handler installed, it is executed by the parse_done method before returning and the parse_done method returns whatever is returned by the final handler.

HANDLERS

Expat is an event based parser. As the parser recognizes parts of the document (say the start or end tag for an XML element), then any handlers registered for that type of an event are called with suitable parameters. All handlers receive an instance of XML::Parser::Expat as their first argument. See "METHODS" in XML::Parser::Expat for a discussion of the methods that can be called on this object.

Init (Expat)

This is called just before the parsing of the document starts.

Final (Expat)

This is called just after parsing has finished, but only if no errors occurred during the parse. Parse returns what this returns.

Start (Expat, Element [, Attr, Val [,...]])

This event is generated when an XML start tag is recognized. Element is the name of the XML element type that is opened with the start tag. The Attr & Val pairs are generated for each attribute in the start tag.

End (Expat, Element)

This event is generated when an XML end tag is recognized. Note that an XML empty tag (<foo/>) generates both a start and an end event.

Char (Expat, String)

This event is generated when non-markup is recognized. The non-markup sequence of characters is in String. A single non-markup sequence of characters may generate multiple calls to this handler. Whatever the encoding of the string in the original document, this is given to the handler in UTF-8.

Proc (Expat, Target, Data)

This event is generated when a processing instruction is recognized.

Comment (Expat, Data)

This event is generated when a comment is recognized.

CdataStart (Expat)

This is called at the start of a CDATA section.

CdataEnd (Expat)

This is called at the end of a CDATA section.

Default (Expat, String)

This is called for any characters that don't have a registered handler. This includes both characters that are part of markup for which no events are generated (markup declarations) and characters that could generate events, but for which no handler has been registered.

Whatever the encoding in the original document, the string is returned to the handler in UTF-8.

Unparsed (Expat, Entity, Base, Sysid, Pubid, Notation)

This is called for a declaration of an unparsed entity. Entity is the name of the entity. Base is the base to be used for resolving a relative URI. Sysid is the system id. Pubid is the public id. Notation is the notation name. Base and Pubid may be undefined.

Notation (Expat, Notation, Base, Sysid, Pubid)

This is called for a declaration of notation. Notation is the notation name. Base is the base to be used for resolving a relative URI. Sysid is the system id. Pubid is the public id. Base, Sysid, and Pubid may all be undefined.

ExternEnt (Expat, Base, Sysid, Pubid)

This is called when an external entity is referenced. Base is the base to be used for resolving a relative URI. Sysid is the system id. Pubid is the public id. Base, and Pubid may be undefined.

This handler should either return a string, which represents the contents of the external entity, or return an open filehandle that can be read to obtain the contents of the external entity, or return undef, which indicates the external entity couldn't be found and will generate a parse error.

If an open filehandle is returned, it must be returned as either a glob (*FOO) or as a reference to a glob (e.g. an instance of IO::Handle).

A default handler is installed for this event. The default handler is XML::Parser::lwp_ext_ent_handler unless the NoLWP option was provided with a true value, otherwise XML::Parser::file_ext_ent_handler is the default handler for external entities. Even without the NoLWP option, if the URI or LWP modules are missing, the file based handler ends up being used after giving a warning on the first external entity reference.

The LWP external entity handler will use proxies defined in the environment (http_proxy, ftp_proxy, etc.).

Please note that the LWP external entity handler reads the entire entity into a string and returns it, where as the file handler opens a filehandle.

Also note that the file external entity handler will likely choke on absolute URIs or file names that don't fit the conventions of the local operating system.

The expat base method can be used to set a basename for relative pathnames. If no basename is given, or if the basename is itself a relative name, then it is relative to the current working directory.

ExternEntFin (Expat)

This is called after parsing an external entity. It's not called unless an ExternEnt handler is also set. There is a default handler installed that pairs with the default ExternEnt handler.

If you're going to install your own ExternEnt handler, then you should set (or unset) this handler too.

Entity (Expat, Name, Val, Sysid, Pubid, Ndata, IsParam)

This is called when an entity is declared. For internal entities, the Val parameter will contain the value and the remaining three parameters will be undefined. For external entities, the Val parameter will be undefined, the Sysid parameter will have the system id, the Pubid parameter will have the public id if it was provided (it will be undefined otherwise), the Ndata parameter will contain the notation for unparsed entities. If this is a parameter entity declaration, then the IsParam parameter is true.

Note that this handler and the Unparsed handler above overlap. If both are set, then this handler will not be called for unparsed entities.

Element (Expat, Name, Model)

The element handler is called when an element declaration is found. Name is the element name, and Model is the content model as an XML::Parser::Content object. See "XML::Parser::ContentModel Methods" in XML::Parser::Expat for methods available for this class.

Attlist (Expat, Elname, Attname, Type, Default, Fixed)

This handler is called for each attribute in an ATTLIST declaration. So an ATTLIST declaration that has multiple attributes will generate multiple calls to this handler. The Elname parameter is the name of the element with which the attribute is being associated. The Attname parameter is the name of the attribute. Type is the attribute type, given as a string. Default is the default value, which will either be "#REQUIRED", "#IMPLIED" or a quoted string (i.e. the returned string will begin and end with a quote character). If Fixed is true, then this is a fixed attribute.

Doctype (Expat, Name, Sysid, Pubid, Internal)

This handler is called for DOCTYPE declarations. Name is the document type name. Sysid is the system id of the document type, if it was provided, otherwise it's undefined. Pubid is the public id of the document type, which will be undefined if no public id was given. Internal is the internal subset, given as a string. If there was no internal subset, it will be undefined. Internal will contain all whitespace, comments, processing instructions, and declarations seen in the internal subset. The declarations will be there whether or not they have been processed by another handler (except for unparsed entities processed by the Unparsed handler). However, comments and processing instructions will not appear if they've been processed by their respective handlers.

* DoctypeFin (Parser)

This handler is called after parsing of the DOCTYPE declaration has finished, including any internal or external DTD declarations.

XMLDecl (Expat, Version, Encoding, Standalone)

This handler is called for xml declarations. Version is a string containing the version. Encoding is either undefined or contains an encoding string. Standalone will be either true, false, or undefined if the standalone attribute is yes, no, or not made respectively.

STYLES

Debug

This just prints out the document in outline form. Nothing special is returned by parse.

Subs

Each time an element starts, a sub by that name in the package specified by the Pkg option is called with the same parameters that the Start handler gets called with.

Each time an element ends, a sub with that name appended with an underscore ("_"), is called with the same parameters that the End handler gets called with.

Nothing special is returned by parse.

Tree

Parse will return a parse tree for the document. Each node in the tree takes the form of a tag, content pair. Text nodes are represented with a pseudo-tag of "0" and the string that is their content. For elements, the content is an array reference. The first item in the array is a (possibly empty) hash reference containing attributes. The remainder of the array is a sequence of tag-content pairs representing the content of the element.

So for example the result of parsing:

<foo><head id="a">Hello <em>there</em></head><bar>Howdy<ref/></bar>do</foo>

would be:

           Tag   Content
==================================================================
[foo, [{}, head, [{id => "a"}, 0, "Hello ",  em, [{}, 0, "there"]],
            bar, [         {}, 0, "Howdy",  ref, [{}]],
              0, "do"
      ]
]

The root document "foo", has 3 children: a "head" element, a "bar" element and the text "do". After the empty attribute hash, these are represented in it's contents by 3 tag-content pairs.

Objects

This is similar to the Tree style, except that a hash object is created for each element. The corresponding object will be in the class whose name is created by appending "::" and the element name to the package set with the Pkg option. Non-markup text will be in the ::Characters class. The contents of the corresponding object will be in an anonymous array that is the value of the Kids property for that object.

Stream

This style also uses the Pkg package. If none of the subs that this style looks for is there, then the effect of parsing with this style is to print a canonical copy of the document without comments or declarations. All the subs receive as their 1st parameter the Expat instance for the document they're parsing.

It looks for the following routines:

  • StartDocument

    Called at the start of the parse .

  • StartTag

    Called for every start tag with a second parameter of the element type. The $_ variable will contain a copy of the tag and the %_ variable will contain attribute values supplied for that element.

  • EndTag

    Called for every end tag with a second parameter of the element type. The $_ variable will contain a copy of the end tag.

  • Text

    Called just before start or end tags with accumulated non-markup text in the $_ variable.

  • PI

    Called for processing instructions. The $_ variable will contain a copy of the PI and the target and data are sent as 2nd and 3rd parameters respectively.

  • EndDocument

    Called at conclusion of the parse.

ENCODINGS

XML documents may be encoded in character sets other than Unicode as long as they may be mapped into the Unicode character set. Expat has further restrictions on encodings. Read the xmlparse.h header file in the expat distribution to see details on these restrictions.

Expat has built-in encodings for: UTF-8, ISO-8859-1, UTF-16, and US-ASCII. Encodings are set either through the XML declaration encoding attribute or through the ProtocolEncoding option to XML::Parser or XML::Parser::Expat.

For encodings other than the built-ins, expat calls the function load_encoding in the Expat package with the encoding name. This function looks for a file in the path list @XML::Parser::Expat::Encoding_Path, that matches the lower-cased name with a '.enc' extension. The first one it finds, it loads.

If you wish to build your own encoding maps, check out the XML::Encoding module from CPAN.

AUTHORS

Larry Wall <[email protected]> wrote version 1.0.

Clark Cooper <[email protected]> picked up support, changed the API for this version (2.x), provided documentation, and added some standard package features.

Matt Sergeant <[email protected]> is now maintaining XML::Parser

xml-parser's People

Contributors

bulk88 avatar chorny avatar dolmen avatar dsteinbrunner avatar eserte avatar ferivoz avatar fluca1978 avatar mbeijen avatar plicease avatar ppisar avatar toddr avatar tsch avatar tzccinct avatar veryrusty avatar vpit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xml-parser's Issues

XML::Parser Improperly Compiles in dylds on Mac OS X [rt.cpan.org #1468]

Migrated from rt.cpan.org#1468 (status was 'new')

Requestors:

From [email protected] on 2002-08-22 18:55:22
:

Distribution: XML-Parser-2.31

I've found that, even though I've compiled and installed expat-1.95.4 into /usr/local/lib, XML::Parser will fail all of its tests after it builds. The failures look like this:

mercury# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/astress.........dyld: /usr/bin/perl Undefined symbols:
_XML_DefaultCurrent
_XML_ErrorString
_XML_ExternalEntityParserCreate
_XML_GetBase
_XML_GetBuffer
_XML_GetCurrentByteCount
_XML_GetCurrentByteIndex
_XML_GetCurrentColumnNumber
_XML_GetCurrentLineNumber
_XML_GetErrorCode
_XML_GetInputContext
<snip/>

The solution is to pass the paths in to Makefile.PL as you have documented in Makefile.PL:

perl Makefile.PL EXPATLIBPATH=/usr/local/lib EXPATINCPATH=/usr/local/include

The Makefile this generates is identical to the makefile generated without those arguments, so I can't tell how or why it makes a difference. But it does. All tests pass.

Note that, because C<ExtUtils::Liblist->ext('-lexpat')> returns a value on Mac OS X v. 10.2 (although it does generate the warning "Note (probably harmless): No library found for -lexpat"), the section in which you actually test for the presence of the dynamic library never gets executed. Therefore, the helpful information about the EXPATLIBPATH and EXPATINCPATH arguments never gets printed.

Hrm...I just commented out the whole ExtUtils::Liblist section, which allowed Makefile.PL to find the dyld in your "# Test for existence of libexpat" section. I'm not sure what kind of magic you're using to get this information to the compiler, but the upshot is that, on Mac OS X at least, C<ExtUtils::Liblist->ext('-lexpat')> isn't doing the job.

Enough blather. Here's my config:

mercury# perl -V  
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=darwin, osvers=6.0, archname=darwin
    uname='darwin mercury.kineticode.com 6.0 darwin kernel version 6.0: sat jul 27 13:18:52 pdt 2002; root:xnuxnu-344.obj~1release_ppc power macintosh powerpc '
    config_args='-des -Uversiononly -Dprefix=/usr/local -Dccflags=-I/sw/include -Dldflags=-L/sw/lib [email protected]'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-I/sw/include -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing',
    optimize='-O3',
    cppflags='-no-cpp-precomp -I/sw/include -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing'
    ccversion='', gccversion='3.1 20020420 (prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-L/sw/lib -flat_namespace'
    libpth=/usr/lib
    libs=-lm -lc
    perllibs=-lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-L/sw/lib -flat_namespace -bundle -undefined suppress'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under darwin
  Compiled at Aug 18 2002 23:33:47
  %ENV:
    PERL5LIB=":/usr/local/bricolage/lib:/Users/david/dev/perl/myco/classes:/usr/local/bricolage/lib:/Users/david/dev/perl/myco/classes"
  @INC:
    /usr/local/lib/perl5/5.8.0/darwin
    /usr/local/lib/perl5/5.8.0
    /usr/local/lib/perl5/site_perl/5.8.0/darwin
    /usr/local/lib/perl5/site_perl/5.8.0
    /usr/local/lib/perl5/site_perl
    .

Thanks!

David

From on 2006-01-07 18:41:03
:

[DWHEELER - Thu Aug 22 14:55:22 2002]:
TIGER:  perl Makefile.PL EXPATLIBPATH='/usr/local/lib -L/usr/X11R6/lib' EXPATINCPATH='/
usr/local/include -I/usr/X11R6/include'

> Distribution: XML-Parser-2.31
> 
> I've found that, even though I've compiled and installed expat-1.95.4
>    into /usr/local/lib, XML::Parser will fail all of its tests after
>    it builds. The failures look like this:
> 
> mercury# make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>    "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/astress.........dyld: /usr/bin/perl Undefined symbols:
> _XML_DefaultCurrent
> _XML_ErrorString
> _XML_ExternalEntityParserCreate
> _XML_GetBase
> _XML_GetBuffer
> _XML_GetCurrentByteCount
> _XML_GetCurrentByteIndex
> _XML_GetCurrentColumnNumber
> _XML_GetCurrentLineNumber
> _XML_GetErrorCode
> _XML_GetInputContext
> <snip/>
> 
> The solution is to pass the paths in to Makefile.PL as you have
>    documented in Makefile.PL:
> 
> perl Makefile.PL EXPATLIBPATH=/usr/local/lib
>    EXPATINCPATH=/usr/local/include
> 
> The Makefile this generates is identical to the makefile generated
>    without those arguments, so I can't tell how or why it makes a
>    difference. But it does. All tests pass.
> 
> Note that, because C<ExtUtils::Liblist->ext('-lexpat')> returns a
>    value on Mac OS X v. 10.2 (although it does generate the warning
>    "Note (probably harmless): No library found for -lexpat"), the
>    section in which you actually test for the presence of the dynamic
>    library never gets executed. Therefore, the helpful information
>    about the EXPATLIBPATH and EXPATINCPATH arguments never gets
>    printed.
> 
> Hrm...I just commented out the whole ExtUtils::Liblist section, which
>    allowed Makefile.PL to find the dyld in your "# Test for existence
>    of libexpat" section. I'm not sure what kind of magic you're using
>    to get this information to the compiler, but the upshot is that, on
>    Mac OS X at least, C<ExtUtils::Liblist->ext('-lexpat')> isn't doing
>    the job.
> 
> Enough blather. Here's my config:
> 
> mercury# perl -V
> Summary of my perl5 (revision 5.0 version 8 subversion 0)
>    configuration:
>   Platform:
>     osname=darwin, osvers=6.0, archname=darwin
>     uname='darwin mercury.kineticode.com 6.0 darwin kernel version
>    6.0: sat jul 27 13:18:52 pdt 2002; root:xnuxnu-344.obj~1release_ppc
>    power macintosh powerpc '
>     config_args='-des -Uversiononly -Dprefix=/usr/local
>    -Dccflags=-I/sw/include -Dldflags=-L/sw/lib
>    [email protected]'
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef use5005threads=undef useithreads=undef
>    usemultiplicity=undef
>     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>     use64bitint=undef use64bitall=undef uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='cc', ccflags ='-I/sw/include -pipe -fno-common -no-cpp-precomp
>    -fno-strict-aliasing',
>     optimize='-O3',
>     cppflags='-no-cpp-precomp -I/sw/include -pipe -fno-common
>    -no-cpp-precomp -fno-strict-aliasing'
>     ccversion='', gccversion='3.1 20020420 (prerelease)',
>    gccosandvers=''
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
>    lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='cc', ldflags ='-L/sw/lib -flat_namespace'
>     libpth=/usr/lib
>     libs=-lm -lc
>     perllibs=-lm -lc
>     libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
>    libperl=libperl.dylib
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags=' ', lddlflags='-L/sw/lib -flat_namespace -bundle
>    -undefined suppress'
> 
> 
> Characteristics of this binary (from libperl):
>   Compile-time options: USE_LARGE_FILES
>   Built under darwin
>   Compiled at Aug 18 2002 23:33:47
>   %ENV:
>     PERL5LIB=":/usr/local/bricolage/lib:/Users/david/dev/perl/myco/classes:/usr/local/
bricolage/lib:/Users/david/dev/perl/myco/classes"
>   @INC:
>     /usr/local/lib/perl5/5.8.0/darwin
>     /usr/local/lib/perl5/5.8.0
>     /usr/local/lib/perl5/site_perl/5.8.0/darwin
>     /usr/local/lib/perl5/site_perl/5.8.0
>     /usr/local/lib/perl5/site_perl
>     .
> 
> Thanks!
> 
> David




[PATCH] Allow globrefs as return value in ExternEnt handler [rt.cpan.org #7792]

Migrated from rt.cpan.org#7792 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2004-09-28 10:51:13
:

The attached patch allows refs to globs to be returned from an ExternEnt
handler. So the most natural form in recent perls can be used:

    sub extern_ent_handler {
        my(...) = @_;
        open(my $fh, "...") or die $!;
        return $fh;
    }

As a side effect, it is also possible to return \*FOO.

The patch includes this change, additional test cases in astress.t and
a minor warning fix in encoding.t.

Regards,
    Slaven


Warnings During Make [rt.cpan.org #4297]

Migrated from rt.cpan.org#4297 (status was 'new')

Requestors:

From on 2003-11-05 20:22:05
:

XML::Parser-2.34

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/astress...........ok
t/cdata.............ok
t/decl..............ok
t/defaulted.........ok
t/encoding.........."my" variable $p masks earlier declaration in same scope at t/encoding.t line 94.
t/encoding..........ok
t/external_ent......ok
t/file..............ok
t/finish............ok
t/namespaces........ok
t/parament..........ok
t/partial...........ok
t/skip..............ok
t/stream............ok
t/styles............ok
All tests successful.

This is perl, v5.6.1 built for i386-linux

make test fails with undefined symbols under Darwin 6.0 [rt.cpan.org #1449]

Migrated from rt.cpan.org#1449 (status was 'new')

Requestors:

From on 2002-08-16 03:17:50
:

I'm having a devil of a time installing XML::Parser 2.3.1 (and expat 1.95.4) with Perl 5.8.0 on Darwin 6.0/Mac OS X. 

Expat seems to make and install fine; no errors or warnings at any rate. XML::Parser warns me in 'perl Makefile.PL' that "Note (probably harmless): No library found for -lexpat" before building the two makefiles. It doesn't sound harmless, but there you go. 

make runs without complaint, and make test fails like this:

[malarkey: XML-Parser-2.31] make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/astress.........dyld: /usr/bin/perl Undefined symbols:
_XML_DefaultCurrent
_XML_ErrorString
_XML_ExternalEntityParserCreate
_XML_GetBase
_XML_GetBuffer
_XML_GetCurrentByteCount
_XML_GetCurrentByteIndex
_XML_GetCurrentColumnNumber
_XML_GetCurrentLineNumber
_XML_GetErrorCode
_XML_GetInputContext
_XML_GetSpecifiedAttributeCount
_XML_Parse
_XML_ParseBuffer
_XML_ParserCreate_MM
_XML_ParserFree
_XML_SetAttlistDeclHandler
_XML_SetBase
_XML_SetCdataSectionHandler
_XML_SetCharacterDataHandler
_XML_SetCommentHandler
_XML_SetDefaultHandler
_XML_SetDefaultHandlerExpand
_XML_SetElementDeclHandler
_XML_SetElementHandler
_XML_SetEndCdataSectionHandler
_XML_SetEndDoctypeDeclHandler
_XML_SetEntityDeclHandler
_XML_SetExternalEntityRefHandler
_XML_SetNamespaceDeclHandler
_XML_SetNotationDeclHandler
_XML_SetParamEntityParsing
_XML_SetProcessingInstructionHandler
_XML_SetStartCdataSectionHandler
_XML_SetStartDoctypeDeclHandler
_XML_SetUnknownEncodingHandler
_XML_SetUnparsedEntityDeclHandler
_XML_SetUserData
t/astress.........dubious                                                    
        Test returned status 0 (wstat 5, 0x5)
t/cdata...........dyld: /usr/bin/perl Undefined symbols:
_XML_DefaultCurrent
_XML_ErrorString
_XML_ExternalEntityParserCreate
_XML_GetBase
_XML_GetBuffer
_XML_GetCurrentByteCount
_XML_GetCurrentByteIndex
_XML_GetCurrentColumnNumber
_XML_GetCurrentLineNumber
_XML_GetErrorCode
_XML_GetInputContext
_XML_GetSpecifiedAttributeCount
_XML_Parse
_XML_ParseBuffer
_XML_ParserCreate_MM
_XML_ParserFree
_XML_SetAttlistDeclHandler
_XML_SetBase
_XML_SetCdataSectionHandler
_XML_SetCharacterDataHandler
_XML_SetCommentHandler
_XML_SetDefaultHandler
_XML_SetDefaultHandlerExpand
_XML_SetElementDeclHandler
_XML_SetElementHandler
_XML_SetEndCdataSectionHandler
_XML_SetEndDoctypeDeclHandler
_XML_SetEntityDeclHandler
_XML_SetExternalEntityRefHandler
_XML_SetNamespaceDeclHandler
_XML_SetNotationDeclHandler
_XML_SetParamEntityParsing
_XML_SetProcessingInstructionHandler
_XML_SetStartCdataSectionHandler
_XML_SetStartDoctypeDeclHandler
_XML_SetUnknownEncodingHandler
_XML_SetUnparsedEntityDeclHandler
_XML_SetUserData
t/cdata...........dubious                                                    
        Test returned status 0 (wstat 5, 0x5)

and so on and so on, throughout the tests. Here's the end:

t/stream..........dubious                                                    
        Test returned status 0 (wstat 5, 0x5)
FAILED--13 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2

Suggestions appreciated.

From [email protected] on 2002-08-22 19:01:55
:

[guest - Thu Aug 15 23:17:50 2002]:

> Suggestions appreciated.

See Ticket # 1468 for more information on this issue. A workaround is
documented there.


Encode Problem [rt.cpan.org #5721]

Migrated from rt.cpan.org#5721 (status was 'new')

Requestors:

From on 2004-03-19 05:04:47
:

perl, v5.8.0 built for i386-linux-thread-multi
Linux testlinux 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux

In the file Parser.pm, there is a function named CHar.
sub Char {
  my $expat = shift;
  my $text = shift;
  $text =~ s/([\x80-\xff])/sprintf "#x%X;", ord $1/eg;
  $text =~ s/([\t\n])/sprintf "#%d;", ord $1/eg;
  print STDERR "@{$expat->{Context}} || $text\n";
}

This function can not deal with Multibyte charset, such as Chinese.


FileHandle bug [rt.cpan.org #1939]

Migrated from rt.cpan.org#1939 (status was 'open')

Requestors:

Attachments:

From on 2003-01-11 23:48:35
:

XML::Parser 2.30 and 2.31

I've been trying for a while to figure out why
I'm getting this spewage from your module:

Can't locate object method "read" via package "FileHandle" (per
haps you forgot to load "FileHandle"?) at /usr/lib/perl5/vendor
_perl/5.6.1/i386-linux/XML/Parser/Expat.pm line 469.

I just upgraded XML::Parser from 2.30 to 2.31
in hopes that it would stop, yet I still got
the similar spewage:

Can't locate object method "read" via package "FileHandle" (per
haps you forgot to load "FileHandle"?) at /usr/lib/perl5/site_p
erl/5.6.1/i386-linux/XML/Parser/Expat.pm line 469.


Not sure if this is your bug, or if it's just
conflicting with something else on my system,
but I got fed up and finally just added it to
your Expat.pm file.  (A trivial patch has been
attached.)  And now it all works perfectly calm.
Let me know if you need any more details to
duplicate the problem.


From [email protected] on 2003-01-11 23:53:34
:

Sorry, I forgot to give my box info: 
 
$ perl -V 
Summary of my perl5 (revision 5.0 version 6 subversion 1) 
configuration: 
  Platform: 
    osname=linux, osvers=2.4.17-0.13smp, archname=i386-linux 
    uname='linux daffy.perf.redhat.com 2.4.17-0.13smp #1 smp fri feb 1 
10:30:48 est 2002 i686 unknown ' 
    config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc 
-Dcf_by=Red Hat, Inc. -Dcccdlflags=-fPIC -Dinstallprefix=/usr 
-Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr 
-Dsiteprefix=/usr -Uusethreads -Uuseithreads -Uuselargefiles 
-Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow 
-Di_syslog -Dman3ext=3pm' 
    hint=recommended, useposix=true, d_sigaction=define 
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef 
    useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef 
    use64bitint=undef use64bitall=undef uselongdouble=undef 
  Compiler: 
    cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include', 
    optimize='-O2 -march=i386 -mcpu=i686', 
    cppflags='-fno-strict-aliasing -I/usr/local/include' 
    ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.2 
2.96-109)', gccosandvers='' 
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 
    d_longlong=define, longlongsize=8, d_longdbl=define, 
longdblsize=12 
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=4 
    alignbytes=4, usemymalloc=n, prototype=define 
  Linker and Libraries: 
    ld='gcc', ldflags =' -L/usr/local/lib' 
    libpth=/usr/local/lib /lib /usr/lib 
    libs=-lnsl -ldl -lm -lc -lcrypt -lutil 
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil 
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, 
libperl=libperl.a 
  Dynamic Linking: 
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, 
ccdlflags='-rdynamic' 
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' 
 
 
Characteristics of this binary (from libperl):  
  Compile-time options: 
  Built under linux 
  Compiled at Apr  1 2002 12:23:22 
  @INC: 
    /usr/lib/perl5/5.6.1/i386-linux 
    /usr/lib/perl5/5.6.1 
    /usr/lib/perl5/site_perl/5.6.1/i386-linux 
    /usr/lib/perl5/site_perl/5.6.1 
    /usr/lib/perl5/site_perl/5.6.0 
    /usr/lib/perl5/site_perl 
    /usr/lib/perl5/vendor_perl/5.6.1/i386-linux 
    /usr/lib/perl5/vendor_perl/5.6.1 
    /usr/lib/perl5/vendor_perl 
    . 
 
$ uname -a 
Linux skip 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown 
 

From [email protected] on 2016-02-01 08:15:45
:

On 2003-01-11 18:48:35, guest wrote:
> XML::Parser 2.30 and 2.31
> 
> I've been trying for a while to figure out why
> I'm getting this spewage from your module:
> 
> Can't locate object method "read" via package "FileHandle" (per
> haps you forgot to load "FileHandle"?) at /usr/lib/perl5/vendor
> _perl/5.6.1/i386-linux/XML/Parser/Expat.pm line 469.
> 
> I just upgraded XML::Parser from 2.30 to 2.31
> in hopes that it would stop, yet I still got
> the similar spewage:
> 
> Can't locate object method "read" via package "FileHandle" (per
> haps you forgot to load "FileHandle"?) at /usr/lib/perl5/site_p
> erl/5.6.1/i386-linux/XML/Parser/Expat.pm line 469.
> 
> 
> Not sure if this is your bug, or if it's just
> conflicting with something else on my system,
> but I got fed up and finally just added it to
> your Expat.pm file.  (A trivial patch has been
> attached.)  And now it all works perfectly calm.
> Let me know if you need any more details to
> duplicate the problem.

Maybe related?
https://rt.cpan.org/Ticket/Display.html?id=100959


nmake test fails [rt.cpan.org #11471]

Migrated from rt.cpan.org#11471 (status was 'new')

Requestors:

From on 2005-02-11 12:19:51
:

-XML-Parser 2.34
-perl v5.8.4 built for MSWin32-x86-multi-thread
-winxp home 32-bit

I followed the instructions in Bug #4908, ran:

> perl Makefile.pl EXPATLIBPATH=F:\Net\Expat\Libs EXPATINCPATH=F:\Net\Expat\Source\lib

nmake fine, but nmake test fails 100%:

****

F:\cygwin\XML-Parser-2.34>nmake test

Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

        F:\Net\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\a
rch')" t\astress.t t\cdata.t t\decl.t t\defaulted.t t\encoding.t t\external_ent.t t\file.t t\finish.
t t\namespaces.t t\parament.t t\partial.t t\skip.t t\stream.t t\styles.t
t\astress.........Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\astress.t line 11.
BEGIN failed--compilation aborted at t\astress.t line 11.
t\astress.........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-27
        Failed 27/27 tests, 0.00% okay
t\cdata...........Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\cdata.t line 3.
BEGIN failed--compilation aborted at t\cdata.t line 3.
t\cdata...........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t\decl............Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\decl.t line 3.
BEGIN failed--compilation aborted at t\decl.t line 3.
t\decl............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-30
        Failed 30/30 tests, 0.00% okay
t\defaulted.......Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\defaulted.t line 3.
BEGIN failed--compilation aborted at t\defaulted.t line 3.
t\defaulted.......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
t\encoding........Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\encoding.t line 3.
BEGIN failed--compilation aborted at t\encoding.t line 3.
t\encoding........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
        Failed 6/6 tests, 0.00% okay
t\external_ent....Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\external_ent.t line 3.
BEGIN failed--compilation aborted at t\external_ent.t line 3.
t\external_ent....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
t\file............Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\file.t line 3.
BEGIN failed--compilation aborted at t\file.t line 3.
t\file............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
        Failed 2/2 tests, 0.00% okay
t\finish..........Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\finish.t line 3.
BEGIN failed--compilation aborted at t\finish.t line 3.
t\finish..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
t\namespaces......Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\namespaces.t line 3.
BEGIN failed--compilation aborted at t\namespaces.t line 3.
t\namespaces......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay
t\parament........Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\parament.t line 3.
BEGIN failed--compilation aborted at t\parament.t line 3.
t\parament........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
        Failed 12/12 tests, 0.00% okay
t\partial.........Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\partial.t line 3.
BEGIN failed--compilation aborted at t\partial.t line 3.
t\partial.........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
t\skip............Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\skip.t line 3.
BEGIN failed--compilation aborted at t\skip.t line 3.
t\skip............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
t\stream..........Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\stream.t line 3.
BEGIN failed--compilation aborted at t\stream.t line 3.
t\stream..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
        Failed 3/3 tests, 0.00% okay
t\styles..........Can't load 'F:\cygwin\XML-Parser-2.34\blib\arch/auto/XML/Parser/Expat/Expat.dll' f
or module XML::Parser::Expat: load_file:The specified module could not be found at F:/Net/Perl/lib/D
ynaLoader.pm line 230.
 at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14
Compilation failed in require at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 14.
BEGIN failed--compilation aborted at F:\cygwin\XML-Parser-2.34\blib\lib/XML/Parser.pm line 18.
Compilation failed in require at t\styles.t line 3.
BEGIN failed--compilation aborted at t\styles.t line 3.
t\styles..........dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-13
        Failed 13/13 tests, 0.00% okay
Failed Test      Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t\astress.t       255 65280    27   54 200.00%  1-27
t\cdata.t         255 65280     2    4 200.00%  1-2
t\decl.t          255 65280    30   60 200.00%  1-30
t\defaulted.t     255 65280     4    8 200.00%  1-4
t\encoding.t      255 65280     6   12 200.00%  1-6
t\external_ent.t  255 65280     5   10 200.00%  1-5
t\file.t          255 65280     2    4 200.00%  1-2
t\finish.t        255 65280     3    6 200.00%  1-3
t\namespaces.t    255 65280    16   32 200.00%  1-16
t\parament.t      255 65280    12   24 200.00%  1-12
t\partial.t       255 65280     3    6 200.00%  1-3
t\skip.t          255 65280     4    8 200.00%  1-4
t\stream.t        255 65280     3    6 200.00%  1-3
t\styles.t        255 65280    13   26 200.00%  1-13
Failed 14/14 test scripts, 0.00% okay. 130/130 subtests failed, 0.00% okay.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.

****

Using MS VC++ Toolkit 2003, .NET Framework 1.1 with SDK, Microsoft Platform SDK for Windows XP SP2.

From on 2005-02-12 10:34:29
:

fixed bud copying libexpat.dll to perl/bin folder

Bug Report in XML::Parser [rt.cpan.org #122970]

Migrated from rt.cpan.org#122970 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2017-09-06 10:04:27
:

Helo,

i'd like to report an Error in the Modul XML::Parser.

The bug is not depending on the Platform (Windows or Unix).
The bug takes only place with an XML-File exeeding a certain Size (about 108 kB).
The source XML-File is corectly written ant displayed in any Browser.

The Test-Perl Program is Attached:  xml2esr_bugRep.pl
The Output oft he Program is xxx2.txt, a Textfile.

The Bug is visible on line 2051 and 2052
Where twice the same line is displayed :
Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm
Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm

Probably because of a ร‚ยซ Memory allocation Problem ร‚ยป ? the  sub hdl_Char is called twice...
Effectiveli there is only 1 char element in the source xml file.

Before the Bug appeard, it was working more then 100 times correctly.
If the source XML-File is not so big, the Problem does not appear....

On the following Printscreen, the first Occurence of the yellow Highlighted AccptncDtTm is still processed well.
The next was displayed in two Steps:

Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm  201
Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm  7-08-31T20:00:00

It should be:

Document/BkToCstmrDbtCdtNtfctn/Ntfctn/Ntry/NtryDtls/TxDtls/RltdDts/AccptncDtTm  2017-08-31T20:00:00


[cid:[email protected]]



If somebody would take care of this Problem, I could send the source XML File as well.

Kind Regards
Peter Gander

D: 044 762 26 15
F:  044 762 26 10
[email protected]<mailto:[email protected]>

Schmidlin AG
Zรƒยผrichstrasse 19
8910 Affoltern am Albis
T: 044 762 26 26
F: 044 762 26 10
www.schmidlinag.ch<http://www.schmidlinag.ch/>

[cid:[email protected]]



Segmentation fault parsing fairly large XML file [rt.cpan.org #70965]

Migrated from rt.cpan.org#70965 (status was 'new')

Requestors:

From [email protected] on 2011-09-14 14:12:58
:

Hi, I found when processing an XML file a few megabytes big that perl
would segfault every time.  I have reduced it to a minimal test case for
XML::Parser and one for XML::Parser::Expat.  However, the segfault
depends on the size of the XML document, so you might need to tweak the
$count variable in the test case to reproduce it on your system.  My
system is Fedora 15 x86_64 and I am using the distribution-supplied
packages for perl and XML::Parser.

First here is a program that uses XML::Parser and segfaults every time:

use XML::Parser;
sub f {
    my $p = shift;
    my $x = $p->{x};
    my $e = {};
    $p->{x} = $e;
    $x->{y} = $e if $x;
    $p->{z} = $e if not $x;
}
my $count = 18400; # sufficient to give segfault on my machine, if not,
try increasing
$c = '<Y>' x $count;
$n = XML::Parser->new(%args);
$n->setHandlers(Start => \&f);
$n->parse($c);


This test case can be reduced further to some code that calls
XML::Parser::Expat directly:

require XML::Parser::Expat;
sub f {
    my $p = shift;
    my $x = $p->{x};
    my $e = {};
    $p->{x} = $e;
    $x->{y} = $e if $x;
    $p->{z} = $e if not $x;
}
my $count = 18400; # sufficient to give segfault on my machine, if not,
try increasing
my $c = '<Y>' x $count;
my $expat = XML::Parser::Expat->new;
$expat->setHandlers(Start => \&f);
$expat->parse($c);


Please try out these test cases and let me know if you are able to
reproduce the crash.

Performance: Allow strings to be passed by reference [rt.cpan.org #2342]

Migrated from rt.cpan.org#2342 (status was 'new')

Requestors:

Attachments:

From on 2003-04-04 18:52:09
:
We use XML::Parser in our product to parse very large XML documents. We noticed that passing the document into XML::Parser as a string took a long time, as Perl copies this data into a second buffer. Our solution was to pass the string by reference, but for this to work we had to modify XML::Parser to recognize references. The attached patch shows our change.

Buffer overflow in Expat.xs (patch) [rt.cpan.org #19860]

Migrated from rt.cpan.org#19860 (status was 'new')

Requestors:

Attachments:

From on 2006-06-13 09:26:38
:

While looking through the Expat.xs code, I noticed a potential heap
buffer overflow:

Expat.xs, line 498:
  if (cbv->st_serial_stackptr >= cbv->st_serial_stacksize) {
    unsigned int newsize = cbv->st_serial_stacksize + 512;
    Renew(cbv->st_serial_stack, newsize, unsigned int);
    cbv->st_serial_stacksize = newsize;
  }
  cbv->st_serial_stack[++cbv->st_serial_stackptr] =  cbv->st_serial;

Note that in the case (stackptr == stacksize - 1), the stack will NOT be
expanded. Then the new value will be written at location (++stackptr),
which equals stacksize and therefore falls just outside the allocated
buffer.

The bug can be observed using Valgrind when parsing an XML file with
very deep element nesting

A simple fix is to change the test to:
  if (cbv->st_serial_stackptr + 1 >= cbv->st_serial_stacksize) {

Package: XML-Parser-2.34
Perl version: v5.8.5 built for i386-linux-thread-multi
OS: Fedora Core release 3

Bye,
  Joris.

Problems during installing XML::Parser [rt.cpan.org #1758]

Migrated from rt.cpan.org#1758 (status was 'new')

Requestors:

Attachments:

From on 2002-11-03 23:32:20
:

Hello,

by trying to install the XML::Parser I always got an error.
I tried it on Suse 7.2 and RedHat 7.0 with perl 5.8.0.



From on 2003-04-10 16:16:36
:

[guest - Sun Nov  3 18:32:20 2002]:

> Hello,
> 
> by trying to install the XML::Parser I always got an error.
> I tried it on Suse 7.2 and RedHat 7.0 with perl 5.8.0.

I do not know if it is the same problem, but I also had a make break at that point. I was compiling in Cygwin. The problem was related with $LIB being defined with garbage. Try to set LIB="" and recompile. It should work. Anyway it is a bug, so it should be solved.

From on 2004-10-15 11:32:53
:

Same Problem i am facing while make

make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/usr/XLS/XML-Parser-2.31/Expat'
make: *** [subdirs] Error 2

Even its giving lot of error like

/usr/local/include/expat.h:301: error: parse error before '*' token
/usr/local/include/expat.h:321: error: parse error before '*' token
/usr/local/include/expat.h:333: error: parse error 
before "XML_SetEntityDeclHandler"
/usr/local/include/expat.h:334: error: parse error 
before "XML_EntityDeclHandler"
/usr/local/include/expat.h:345: error: parse error before '*' token
/usr/local/include/expat.h:357: error: parse error before '*' token
/usr/local/include/expat.h:370: error: parse error before '*' token
/usr/local/include/expat.h:375: error: parse error before '*' token
/usr/local/include/expat.h:388: error: parse error before '*' token
/usr/local/include/expat.h:424: error: parse error before '*' token
/usr/local/include/expat.h:441: error: parse error before '*' token
/usr/local/include/expat.h:501: error: parse error before '*' token
/usr/local/include/expat.h:502: error: parse error before '*' token
/usr/local/include/expat.h:520: error: parse error before '*' token
/usr/local/include/expat.h:526: error: parse error 
before "XML_SetElementHandler"
/usr/local/include/expat.h:527: error: parse error 
before "XML_StartElementHandler"
/usr/local/include/expat.h:531: error: parse error 
before "XML_SetStartElementHandler"
/usr/local/include/expat.h:532: error: parse error 
before "XML_StartElement



I am trying in Solaris

Anybody has any idea?

[guest - Sun Nov  3 18:32:20 2002]:

> Hello,
> 
> by trying to install the XML::Parser I always got an error.
> I tried it on Suse 7.2 and RedHat 7.0 with perl 5.8.0.
> 




expat should be included in XML::Parser source [rt.cpan.org #13762]

Migrated from rt.cpan.org#13762 (status was 'new')

Requestors:

From [email protected] on 2005-07-18 22:18:48
:

It would be very convenient if the expat sources were included with  
XML::Parser, or XML::Parser at least could download and compile  
them.  This is especially a problem on Mac OS X, which doesn't ship  
with expat by default (it can be optionally installed with X11, but  
XML::Parser won't pick that up by default).

Expat is MIT licensed and should be compatible.  It seems to be  
accepted practice to include expat with other software (for example,  
Python ships with expat sources).


Parse errors via xpcroak do not count as errors. [rt.cpan.org #54225]

Migrated from rt.cpan.org#54225 (status was 'new')

Requestors:

From [email protected] on 2010-02-02 17:45:55
:

Hello.

I believe I've found a bug in XML::Parser.  A test is included below.

The problem is that XML::Parser is over-aggressve in trapping parse errors, and as a result the xpcroak() method in XML::Parser::Expat can not be used to raise a parse error.

This is frustrating since I would like to abort processing in large documents when certain conditions occur, and I would also like to know what happened.  According to the documentation, xpcroak() should be the proper way to do that.

Versions in use:

XML::Parser: 2.36
XML::Parser::Expat: 2.36
Perl: v5.10.0
OS: OS X 10.6.2 (Mac Snow Leopard)

cheers

-- Kevin Frost

# It appears that XML::Parser 2.36 is not correctly handling
# XML::Parser::expat's xpcroak() method.
#
# The POD says, under parse: "A die call is thrown if a parse error occurs."

use strict;
use warnings;

use Test::More tests => 5;

BEGIN {
    use_ok('XML::Parser');
    cmp_ok( $XML::Parser::VERSION, '>=', 2.36, "version at least 2.36" );
}

test_bug();

sub test_bug {

    # We do a simple parse:
    my $xml    = '<foo id="me">Hello World</foo>';
    my $parser = XML::Parser->new( Style => 'Subs', Pkg => 'ParseBugDemo' );
    my $res    = $parser->parse($xml);

    # We make sure our parse class behaved constently:
    ok( $ParseBugDemo::I_DONE_CROAKED,    "parsing should have croaked" );
    ok( !$ParseBugDemo::CROAK_NOT_DEADLY, "croak aborted subroutine" );

    # And here we see the bug, in that the following fails:
    ok( !$res, "result of an xpcroaked parse is NOT true" );

}

# Here is our parser class for the "Subs" parsing style.

package ParseBugDemo;

our $I_DONE_CROAKED   = 0;
our $CROAK_NOT_DEADLY = 0;

sub foo {

    my $expat = shift;

    $I_DONE_CROAKED = 1;

    $expat->xpcroak("I croaketh.");

    $CROAK_NOT_DEADLY = 1;

}

1;



XML::Parser::Expat failed make [rt.cpan.org #1235]

Migrated from rt.cpan.org#1235 (status was 'new')

Requestors:

From on 2002-07-04 09:57:20
:

during a make of XML::Parser::Expat both 2.30 & 2.30 the following error occurs on Red Hat 7.1, Linux  2.4.2-2 #1 i686
perl 5.6.0
Expat-1.95.2

mkdir ../blib/arch/auto/XML/Parser/Expat
mkdir ../blib/lib/auto/XML/Parser/Expat
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/local/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
gcc -c  -fno-strict-aliasing -O2 -march=i386 -mcpu=i686     -DVERSION=\"2.31\" -DXS_VERSION=\"2.31\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/CORE  Expat.c
Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
LD_RUN_PATH="/usr/local/lib" gcc -o ../blib/arch/auto/XML/Parser/Expat/Expat.so  -shared -L/usr/local/lib Expat.o    -lexpat
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/XML/Parser/Expat/Expat.so] Error 1
make[1]: Leaving directory `/space/home/pjaol/.cpan/build/XML-Parser-2.31/Expat'
make: *** [subdirs] Error 2
  /usr/bin/make  -- NOT OK
Running make test
  Oops, make had returned bad status
Running make install
  Oops, make had returned bad status


please add more cyrilic and hebrew encodings [rt.cpan.org #11917]

Migrated from rt.cpan.org#11917 (status was 'new')

Requestors:

From on 2005-03-17 19:14:01
:

Hello,

Please consider adding more encodings to XML::Parser.
Some of them are available here:
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/XML/Parser/Encodings/

windows-1251 is main Cyrillic encoding for MS Windows.  koi8-r is main
Cyrillic encoding for UNIX-like systems.  Without these two XML::Parser
is simply deficient as for Russian communities.

windows-1255 is a wide-spread Hebrew encoding.

The discussion is available here: http://zilla.livejournal.org/986

There is also windows-1252 encoding there, which was also added in
recent XML::Parser releases, but please note that windows-1252.enc file
differs from what was added.  So this needs to be checked, as Anatoly
claims that windows-1252 mapping was taken from the  authoritative
source.  The discussion is here:
http://zilla.livejournal.org/show_bug.cgi?id=440

There is also ibm866 encoding for XML::Parser (the main Cyrillic
encoding for MS-DOS), which is available here:
http://uucode.com/xml/perl/


-- 
Alexey Tourbin
ALT Linux Team


XML::Parser screws up non-ascii text (and does so inconsistently) [rt.cpan.org #11899]

Migrated from rt.cpan.org#11899 (status was 'new')

Requestors:

Attachments:

From on 2005-03-16 08:25:18
:
Noticed on Debian Sarge:
libexpat1 1.95.8-1
libxml-parser-perl 2.34-3
perl 5.8.4-6

and Gentoo:
expat-1.95.8
XML-Parser-2.34
perl-5.8.5

XML::Parser is screwing around with non-ascii characters - most of the time, accented characters are converted from utf-8 down to iso-8859-1. After much debugging, I determined it wasn't Expat.so doing it but Parser.pm, despite the documentation saying that all text is returned as utf-8.

In the attached tar file, I have two xml files and a sample perl script... there is only one character difference between the xml file but perl handles them differently. the perl-unicode manpage says:

   If strings operating under byte semantics and strings with Unicode
   character data are concatenated, the new string will be created by
   decoding the byte strings as ISO 8859-1 (Latin-1) [...]

Anyway, putting "use encoding 'utf8';" at the top of XML::Parser made perl keep the string as utf-8 instead of munging the accented characters. It also worked putting it at the top of the script with the Char handler, but it really should be in XML::Parser if you want it to always return utf-8 like it claims to do, I think.

John McPherson

Compile warnings (W2k Cygwin) [rt.cpan.org #3656]

Migrated from rt.cpan.org#3656 (status was 'new')

Requestors:

From on 2003-08-27 19:20:28
:

FYI, you might want to check these for the next build. Let me know
how can I help to send more information for this.

Jari

cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc
make[1]: Entering directory `/cygdrive/e/home/jaalto/.cpan/build/XML-Parser-2.34/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/bin/perl.exe /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
gcc -c   -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB -O3   -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\"  "-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE"   Expat.c
Expat.xs: In function `externalEntityRef':
Expat.xs:1011: warning: cast from pointer to integer of different size
Expat.xs:1043: warning: cast from pointer to integer of different size
Expat.xs: In function `unknownEncoding':
Expat.xs:1166: warning: cast to pointer from integer of different size
Expat.c: In function `XS_XML__Parser__Expat_FreeEncoding':
Expat.c:2464: warning: cast to pointer from integer of different size
Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.dll
LD_RUN_PATH="" ld2  -s -L/usr/local/lib Expat.o  -o ../blib/arch/auto/XML/Parser/Expat/Expat.dll  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -lexpat   
dllwrap --dllname Expat.dll --driver-name gcc --dlltool dlltool --export-all-symbols --as as --output-def libExpat.def --output-lib libExpat.a \
-s -L/usr/local/lib Expat.o  /usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE/libperl.dll.a -lexpat
dllwrap: no export definition file provided.
Creating one, but that may not be what you want
mv Expat.dll libExpat.a ../blib/arch/auto/XML/Parser/Expat/
chmod 755 ../blib/arch/auto/XML/Parser/Expat/Expat.dll
cp Expat.bs ../blib/arch/auto/XML/Parser/Expat/Expat.bs
chmod 644 ../blib/arch/auto/XML/Parser/Expat/Expat.bs
make[1]: Leaving directory `/cygdrive/e/home/jaalto/.cpan/build/XML-Parser-2.34/Expat'
  /bin/make  -- OK


XML::Parser nmake fails [rt.cpan.org #4908]

Migrated from rt.cpan.org#4908 (status was 'new')

Requestors:

From on 2004-01-11 13:37:45
:

While trying to run 'nmake' under Win32 (Windows XP Pro), I get the following error(s):

C:\CPAN Packages\XML-Parser-2.34>nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cl -c    -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_ST
RICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"2.34\"  -DXS_VERSION=\
"2.34\"  "-IC:\Perl\lib\CORE"   Expat.c
Expat.c
Expat.xs(60) : error C2061: syntax error : identifier 'XML_Parser'
Expat.xs(78) : error C2143: syntax error : missing '{' before ':'
Expat.xs(78) : error C2059: syntax error : ':'
Expat.xs(79) : error C2143: syntax error : missing '{' before ':'
Expat.xs(79) : error C2059: syntax error : ':'
Expat.xs(80) : error C2143: syntax error : missing '{' before ':'
Expat.xs(80) : error C2059: syntax error : ':'
Expat.xs(106) : error C2059: syntax error : '}'
Expat.xs(111) : error C2061: syntax error : identifier 'nsdelim'
Expat.xs(111) : error C2059: syntax error : ';'
Expat.xs(111) : error C2059: syntax error : '['
Expat.xs(117) : error C2143: syntax error : missing ')' before '*'
Expat.xs(117) : error C2143: syntax error : missing '{' before '*'
Expat.xs(117) : error C2059: syntax error : ')'
Expat.xs(117) : error C2059: syntax error : ';'
Expat.xs(118) : error C2143: syntax error : missing ')' before '*'
Expat.xs(118) : error C2143: syntax error : missing '{' before '*'
Expat.xs(118) : error C2059: syntax error : ')'
Expat.xs(118) : error C2059: syntax error : ';'
Expat.xs(194) : error C2061: syntax error : identifier 'ms'
Expat.xs(194) : error C2059: syntax error : ';'
Expat.xs(194) : error C2513: '/*global*/ ' : no variable declared before '='
Expat.xs(197) : error C2146: syntax error : missing ')' before identifier 'parse
r'
Expat.xs(197) : error C2061: syntax error : identifier 'parser'
Expat.xs(197) : error C2059: syntax error : ';'
Expat.xs(197) : error C2059: syntax error : ','
Expat.xs(197) : error C2059: syntax error : ')'
Expat.xs(249) : error C2143: syntax error : missing ')' before '*'
Expat.xs(249) : error C2143: syntax error : missing '{' before '*'
Expat.xs(249) : error C2059: syntax error : ')'
Expat.xs(249) : error C2054: expected '(' to follow 'model'
Expat.xs(286) : error C2146: syntax error : missing ')' before identifier 'parse
r'
Expat.xs(286) : error C2061: syntax error : identifier 'parser'
Expat.xs(286) : error C2059: syntax error : ';'
Expat.xs(286) : error C2059: syntax error : ','
Expat.xs(286) : error C2059: syntax error : ')'
Expat.xs(460) : error C2065: 'CallbackVector' : undeclared identifier
Expat.xs(460) : error C2065: 'cbv' : undeclared identifier
Expat.xs(460) : error C2059: syntax error : ')'
Expat.xs(467) : error C2223: left of '->self_sv' must point to struct/union
Expat.xs(470) : error C2223: left of '->char_sv' must point to struct/union
Expat.xs(470) : warning C4047: 'function' : 'struct sv *' differs in levels of i
ndirection from 'const int '
Expat.xs(470) : warning C4024: 'Perl_call_sv' : different types for formal and a
ctual parameter 2
Expat.xs(470) : error C2198: 'Perl_call_sv' : too few actual parameters
Expat.xs(480) : error C2059: syntax error : ')'
Expat.xs(481) : error C2275: 'SV' : illegal use of this type as an expression
        C:\Perl\lib\CORE\perl.h(1711) : see declaration of 'SV'
Expat.xs(481) : error C2065: 'pcontext' : undeclared identifier
Expat.xs(481) : error C2100: illegal indirection
Expat.xs(482) : error C2143: syntax error : missing ';' before 'type'
Expat.xs(483) : error C2143: syntax error : missing ';' before 'type'
Expat.xs(484) : error C2275: 'SV' : illegal use of this type as an expression
        C:\Perl\lib\CORE\perl.h(1711) : see declaration of 'SV'
Expat.xs(484) : error C2065: 'pnstab' : undeclared identifier
Expat.xs(484) : error C2100: illegal indirection
Expat.xs(485) : error C2275: 'SV' : illegal use of this type as an expression
        C:\Perl\lib\CORE\perl.h(1711) : see declaration of 'SV'
Expat.xs(485) : error C2065: 'pnslst' : undeclared identifier
Expat.xs(485) : error C2100: illegal indirection
Expat.xs(486) : error C2275: 'SV' : illegal use of this type as an expression
        C:\Perl\lib\CORE\perl.h(1711) : see declaration of 'SV'
Expat.xs(486) : error C2065: 'elname' : undeclared identifier
Expat.xs(488) : error C2223: left of '->st_serial' must point to struct/union
Expat.xs(490) : error C2223: left of '->skip_until' must point to struct/union
Expat.xs(491) : error C2065: 'skipping' : undeclared identifier
Expat.xs(491) : error C2223: left of '->st_serial' must point to struct/union
Expat.xs(491) : error C2223: left of '->skip_until' must point to struct/union
Expat.xs(493) : warning C4013: 'resume_callbacks' undefined; assuming extern ret
urning int
Expat.xs(494) : error C2223: left of '->skip_until' must point to struct/union
Expat.xs(498) : error C2223: left of '->st_serial_stackptr' must point to struct
/union
Expat.xs(498) : error C2223: left of '->st_serial_stacksize' must point to struc
t/union
Expat.xs(499) : error C2223: left of '->st_serial_stacksize' must point to struc
t/union
Expat.xs(501) : error C2223: left of '->st_serial_stack' must point to struct/un
ion
Expat.xs(501) : error C2223: left of '->st_serial_stack' must point to struct/un
ion
Expat.xs(501) : warning C4022: 'Perl_safesysrealloc' : pointer mismatch for actu
al parameter 1
Expat.xs(501) : error C2198: 'Perl_safesysrealloc' : too few actual parameters
Expat.xs(502) : error C2223: left of '->st_serial_stacksize' must point to struc
t/union
Expat.xs(505) : error C2223: left of '->st_serial_stack' must point to struct/un
ion
Expat.xs(505) : error C2223: left of '->st_serial_stackptr' must point to struct
/union
Expat.xs(505) : fatal error C1903: unable to recover from previous error(s); sto
pping compilation
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.


Can't install manually either - won't recognize the package

From on 2004-11-02 10:27:22
:

I have built XML::Parser on WinXP/Perl 5.8.5 following these steps:

1. Download expat_win32bin_[version here].exe from SourceForge

2. Install, add 'Libs' subfolder to PATH (or copy all dll files from 
this dir to folder which is in PATH).

3. Download from CPAN and unzip XML::Parser

4. patch XML-Parser-2.34/Expat/Makefile.PL:

--- Makefile.PL.orig	Tue Nov 02 13:19:36 2004
+++ Makefile.PL	Tue Nov 02 13:04:54 2004
@@ -2,7 +2,7 @@
 use Config;
 use English;
 
-my $libs = "-lexpat";
+my $libs = $OSNAME eq 'MSWin32' ? "-llibexpat.lib" : "-lexpat";
 @extras = ();
 
 push(@extras, INC => "-I$expat_incpath")

5. run XML-Parser-2.34/Makefile.PL (that is NOT the same file as in 
step 4):

  perl Makefile.PL EXPATLIBPATH=[path to 'Libs' subfolder from expath] 
EXPATINCPATH=[path to 'Source/lib' subfolder from expath]

6. nmake && nmake test && nmake install

XML::Parser::Expat Fails make [rt.cpan.org #7121]

Migrated from rt.cpan.org#7121 (status was 'new')

Requestors:

From on 2004-07-26 20:04:45
:

Error Codes:

******************************************************************************
*** Error code 1
make: Fatal error: Command failed for target `Expat.o'
Current working directory /var/perl_mods/XML-Parser-2.34/Expat
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
******************************************************************************

Perl Build:

This is perl, v5.8.5 built for sun4-solaris

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit

System Build:

SunOS steve 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-60

Compiler used:

GCC 3.2.2

Expat Version:

expat-1.95.8

obscure extern ent handler issue (lexical GLOB) [rt.cpan.org #36096]

Migrated from rt.cpan.org#36096 (status was 'new')

Requestors:

  • 0

Attachments:

From [email protected] on 2008-05-22 12:46:39
:

You might argue that this bug isn't a bug because, the docs clearly
indicate that you must return any one of the                           
                                         following from an external
entity handler:                                                        
                                 
                                                                       
                                                            
 - return a *GLOB (the global all caps symbols as a glob)              
                                                            
 - return a ref (to an object like IO::Handle)                         
                                                            
 - return undef                                                        
                                                            
                                                                       
                                                            
I was returning a lexical glob (ie open my $fh, "filename") and        
                                                            
that waas passing on 85% of the perls out there.  I had to build quite a
few perls to produce the problem on my one machine so I could track it down.

I feel that it'd be best to treat it as a bug since it's shockingly
difficult to figure out when your tests pass on all your own machines
but not *some* of the CPAN Testers machines.

I have attached a test which, if you include in the XML::Parser
distribution, will fail on 15% of the perl5.8 and perl5.10s (and
100% of the perl5.6es, since it uses open my $fh).

-- 
If riding in an airplane is flying, then riding in a boat is swimming.
85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.


XML::Parser::Expat::current_byte() reports negative offsets for large files [rt.cpan.org #14583]

Migrated from rt.cpan.org#14583 (status was 'new')

Requestors:

From on 2005-09-14 12:28:09

XML::Parser::Expat::current_byte() reports negative offsets for large files -- I discovered this by piping data from the Wikipedia dump files into this script:
https://secure.mysociety.org/cvstrac/getfile/mysociety/placeopedia/bin/wikipediatitles?v=1.2
after 2**31 bytes, it starts printing negative progress indications.

perl 5.8.6, FreeBSD 5.2.1-RELEASE-p13, x86

Presumably the issue here is that it's using a 32-bit counter for the file offset. perl is compiled with -Duse64bitint, so I don't think this is a limitation of the perl interpreter.

Failed tests in astress.t with expat 2.0.0 perl 5.8.8 on AIX 5.3 [rt.cpan.org #20102]

Migrated from rt.cpan.org#20102 (status was 'new')

Requestors:

From on 2006-06-26 04:15:36
:

Trying to build XML::Parser on AIX 5.3.0.0 with expat 2.0.0 and perl 5.
8.8 and getting a warning and on error during make test.  Make runs 
okay, and there is a PerlMonks thread describing this and some debugging 
at: http://perlmonks.org/?node_id=557342

Basically, make goes okay but during make test I get:
t/astress.........FAILED tests 19-20, 24
        Failed 3/27 tests, 88.89% okay
and:
t/encoding........"my" variable $p masks earlier declaration in same 
scope at t/encoding.t line 94.

When I run astress.t manually with some prints inserted to see the 
actual values what I get is:
test 19 -> $p->current_line = 0 (NOT 17)
test 20 -> $p->current_column = 0 (NOT 20)
test 24 -> the values are definitely not equal (see below)
$cmpstr:
    <blah> 2nd line in bar </blah>
    3rd line in bar <!-- Isn't this a doozy -->
===================^
  </bar>

$pos:
    <blah> 2nd line in bar </blah>
    3rd line in bar <!-- Isn't this a doozy -->
^

Any help in resolving this would be much appreciated!

XML::Parser::Expat failed make [rt.cpan.org #4092]

Migrated from rt.cpan.org#4092 (status was 'open')

Requestors:

From on 2003-10-13 19:06:27
:

make[1]: Entering directory `/root/.cpan/build/XML-Parser-2.34/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap  Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
cc -c   -fno-strict-aliasing -O3   -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" -fpic "-I/usr/lib/perl5/5.8.0/i686-linux/CORE"   Expat.c
Expat.xs:12:19: expat.h: No such file or directory
Expat.xs:60: parse error before "XML_Parser"
Expat.xs:60: warning: no semicolon at end of struct or union
Expat.xs:78: parse error before ':' token
Expat.xs:79: parse error before ':' token
Expat.xs:80: parse error before ':' token
Expat.xs:106: parse error before '}' token
Expat.xs:106: warning: data definition has no type or storage class
Expat.xs:111: parse error before "nsdelim"
Expat.xs:111: warning: data definition has no type or storage class
Expat.xs:117: parse error before '*' token
Expat.xs:118: parse error before '*' token
Expat.xs:194: parse error before "ms"
Expat.xs:194: warning: initialization makes integer from pointer without a cast
Expat.xs:194: warning: excess elements in scalar initializer
Expat.xs:194: warning: (near initialization for `ms')
Expat.xs:194: warning: excess elements in scalar initializer
Expat.xs:194: warning: (near initialization for `ms')
Expat.xs:194: warning: data definition has no type or storage class
Expat.xs:197: parse error before "parser"
Expat.xs: In function `append_error':
Expat.xs:200: `cbv' undeclared (first use in this function)
Expat.xs:200: (Each undeclared identifier is reported only once
Expat.xs:200: for each function it appears in.)
Expat.xs:203: parse error before ')' token
Expat.xs:210: `err' undeclared (first use in this function)
Expat.xs:213: `parser' undeclared (first use in this function)
Expat.xs: At top level:
Expat.xs:249: parse error before '*' token
Expat.xs: In function `generate_model':
Expat.xs:255: `model' undeclared (first use in this function)
Expat.xs:256: `XML_CQUANT_NONE' undeclared (first use in this function)
Expat.xs:261: `XML_CTYPE_NAME' undeclared (first use in this function)
Expat.xs:265: `XML_CTYPE_MIXED' undeclared (first use in this function)
Expat.xs:266: `XML_CTYPE_CHOICE' undeclared (first use in this function)
Expat.xs:267: `XML_CTYPE_SEQ' undeclared (first use in this function)
Expat.xs: At top level:
Expat.xs:286: parse error before "parser"
Expat.xs: In function `parse_stream':
Expat.xs:298: `cbv' undeclared (first use in this function)
Expat.xs:301: parse error before ')' token
Expat.xs:311: `ioref' undeclared (first use in this function)
Expat.xs:350: `parser' undeclared (first use in this function)
Expat.xs:350: warning: initialization makes pointer from integer without a cast
Expat.xs: In function `characterData':
Expat.xs:460: `cbv' undeclared (first use in this function)
Expat.xs:460: parse error before ')' token
Expat.xs: In function `startElement':
Expat.xs:480: `cbv' undeclared (first use in this function)
Expat.xs:480: parse error before ')' token
Expat.xs: In function `endElement':
Expat.xs:556: `cbv' undeclared (first use in this function)
Expat.xs:556: parse error before ')' token
Expat.xs: In function `processingInstruction':
Expat.xs:590: `cbv' undeclared (first use in this function)
Expat.xs:590: parse error before ')' token
Expat.xs: In function `commenthandle':
Expat.xs:611: `cbv' undeclared (first use in this function)
Expat.xs:611: parse error before ')' token
Expat.xs: In function `startCdata':
Expat.xs:631: `cbv' undeclared (first use in this function)
Expat.xs:631: parse error before ')' token
Expat.xs: In function `endCdata':
Expat.xs:651: `cbv' undeclared (first use in this function)
Expat.xs:651: parse error before ')' token
Expat.xs: At top level:
Expat.xs:668: parse error before '*' token
Expat.xs: In function `nsStart':
Expat.xs:670: `cbv' undeclared (first use in this function)
Expat.xs:670: parse error before ')' token
Expat.xs:678: `prefix' undeclared (first use in this function)
Expat.xs:679: `uri' undeclared (first use in this function)
Expat.xs: At top level:
Expat.xs:688: parse error before '*' token
Expat.xs: In function `nsEnd':
Expat.xs:690: `cbv' undeclared (first use in this function)
Expat.xs:690: parse error before ')' token
Expat.xs:698: `prefix' undeclared (first use in this function)
Expat.xs: In function `defaulthandle':
Expat.xs:710: `cbv' undeclared (first use in this function)
Expat.xs:710: parse error before ')' token
Expat.xs: At top level:
Expat.xs:729: parse error before "XML_Content"
Expat.xs: In function `elementDecl':
Expat.xs:731: `cbv' undeclared (first use in this function)
Expat.xs:731: parse error before ')' token
Expat.xs:738: `model' undeclared (first use in this function)
Expat.xs:744: `name' undeclared (first use in this function)
Expat.xs: In function `attributeDecl':
Expat.xs:761: `cbv' undeclared (first use in this function)
Expat.xs:761: parse error before ')' token
Expat.xs: In function `entityDecl':
Expat.xs:802: `cbv' undeclared (first use in this function)
Expat.xs:802: parse error before ')' token
Expat.xs: In function `doctypeStart':
Expat.xs:831: `cbv' undeclared (first use in this function)
Expat.xs:831: parse error before ')' token
Expat.xs: In function `doctypeEnd':
Expat.xs:852: `cbv' undeclared (first use in this function)
Expat.xs:852: parse error before ')' token
Expat.xs: In function `xmlDecl':
Expat.xs:872: `cbv' undeclared (first use in this function)
Expat.xs:872: parse error before ')' token
Expat.xs: In function `unparsedEntityDecl':
Expat.xs:901: `cbv' undeclared (first use in this function)
Expat.xs:901: parse error before ')' token
Expat.xs: In function `notationDecl':
Expat.xs:929: `cbv' undeclared (first use in this function)
Expat.xs:929: parse error before ')' token
Expat.xs: At top level:
Expat.xs:960: parse error before "parser"
Expat.xs: In function `externalEntityRef':
Expat.xs:975: `cbv' undeclared (first use in this function)
Expat.xs:975: parse error before ')' token
Expat.xs:983: `pubid' undeclared (first use in this function)
Expat.xs:985: `base' undeclared (first use in this function)
Expat.xs:986: `sysid' undeclared (first use in this function)
Expat.xs:1002: `parser' undeclared (first use in this function)
Expat.xs:1004: `XML_Parser' undeclared (first use in this function)
Expat.xs:1004: parse error before "entpar"
Expat.xs:1007: `entpar' undeclared (first use in this function)
Expat.xs: At top level:
Expat.xs:1115: parse error before "XML_Encoding"
Expat.xs: In function `unknownEncoding':
Expat.xs:1123: `name' undeclared (first use in this function)
Expat.xs:1167: `info' undeclared (first use in this function)
Expat.xs: In function `recString':
Expat.xs:1185: `cbv' undeclared (first use in this function)
Expat.xs:1185: parse error before ')' token
Expat.xs: At top level:
Expat.xs:1196: parse error before '*' token
Expat.xs: In function `suspend_callbacks':
Expat.xs:1197: `cbv' undeclared (first use in this function)
Expat.xs:1199: `XML_CharacterDataHandler' undeclared (first use in this function)
Expat.xs:1199: parse error before numeric constant
Expat.xs:1204: `XML_ProcessingInstructionHandler' undeclared (first use in this function)
Expat.xs:1204: parse error before numeric constant
Expat.xs:1209: `XML_CommentHandler' undeclared (first use in this function)
Expat.xs:1209: parse error before numeric constant
Expat.xs:1215: `XML_StartCdataSectionHandler' undeclared (first use in this function)
Expat.xs:1215: parse error before numeric constant
Expat.xs:1221: `XML_UnparsedEntityDeclHandler' undeclared (first use in this function)
Expat.xs:1221: parse error before numeric constant
Expat.xs:1226: `XML_NotationDeclHandler' undeclared (first use in this function)
Expat.xs:1226: parse error before numeric constant
Expat.xs:1231: `XML_ExternalEntityRefHandler' undeclared (first use in this function)
Expat.xs:1231: parse error before numeric constant
Expat.xs: At top level:
Expat.xs:1237: parse error before '*' token
Expat.xs: In function `resume_callbacks':
Expat.xs:1238: `cbv' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_ParserCreate':
Expat.c:1290: `XML_Parser' undeclared (first use in this function)
Expat.c:1290: parse error before "RETVAL"
Expat.xs:1279: `cbv' undeclared (first use in this function)
Expat.xs:1280: variable `pep' has initializer but incomplete type
Expat.xs:1280: `XML_PARAM_ENTITY_PARSING_NEVER' undeclared (first use in this function)
Expat.xs:1280: storage size of `pep' isn't known
Expat.xs:1284: parse error before ')' token
Expat.xs:1284: parse error before ')' token
Expat.xs:1284: `__s' undeclared (first use in this function)
Expat.xs:1284: parse error before ')' token
Expat.xs:1284: parse error before ')' token
Expat.xs: At top level:
Expat.xs:1284: parse error before ')' token
Expat.xs:1285: warning: data definition has no type or storage class
Expat.xs:1285: parse error before '}' token
Expat.xs:1286: parse error before '->' token
Expat.xs:1286: parse error before "__uint8_t"
Expat.xs:1286: `__s' used prior to declaration
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before '}' token
Expat.xs:1286: warning: initialization makes pointer from integer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: parse error before "switch"
Expat.xs:1286: conflicting types for `__u'
Expat.xs:1286: previous declaration of `__u'
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before '->' token
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: redefinition of `__u'
Expat.xs:1286: `__u' previously defined here
Expat.xs:1286: warning: initialization makes integer from pointer without a cast
Expat.xs:1286: initializer element is not constant
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before "case"
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before '}' token
Expat.xs:1286: parse error before '\x0'
Expat.xs:1286: warning: data definition has no type or storage class
Expat.xs:1286: parse error before '}' token
Expat.xs:1287: `cbv' undeclared here (not in a function)
Expat.xs:1287: warning: initialization makes integer from pointer without a cast
Expat.xs:1287: initializer element is not constant
Expat.xs:1287: warning: data definition has no type or storage class
Expat.xs:1288: parse error before "if"
Expat.xs:1291: redefinition of `spp'
Expat.xs:1287: `spp' previously defined here
Expat.xs:1291: `cbv' undeclared here (not in a function)
Expat.xs:1291: warning: initialization makes integer from pointer without a cast
Expat.xs:1291: initializer element is not constant
Expat.xs:1291: warning: data definition has no type or storage class
Expat.xs:1292: parse error before "if"
Expat.xs:1306: redefinition of `spp'
Expat.xs:1291: `spp' previously defined here
Expat.xs:1306: `cbv' undeclared here (not in a function)
Expat.xs:1307: warning: initialization makes integer from pointer without a cast
Expat.xs:1307: initializer element is not constant
Expat.xs:1307: warning: data definition has no type or storage class
Expat.xs:1308: parse error before "if"
Expat.xs:1313: redefinition of `spp'
Expat.xs:1306: `spp' previously defined here
Expat.xs:1313: `cbv' undeclared here (not in a function)
Expat.xs:1314: warning: initialization makes integer from pointer without a cast
Expat.xs:1314: initializer element is not constant
Expat.xs:1314: warning: data definition has no type or storage class
Expat.xs:1315: parse error before "if"
Expat.xs:1320: `enc' undeclared here (not in a function)
Expat.xs:1320: initializer element is not constant
Expat.xs:1320: warning: data definition has no type or storage class
Expat.xs:1321: warning: parameter names (without types) in function declaration
Expat.xs:1321: warning: data definition has no type or storage class
Expat.xs:1322: parse error before '}' token
Expat.xs:1329: parse error before '(' token
Expat.xs:1330: warning: parameter names (without types) in function declaration
Expat.xs:1330: warning: data definition has no type or storage class
Expat.xs:1331: parse error before numeric constant
Expat.xs:1331: warning: data definition has no type or storage class
Expat.xs:1333: redefinition of `spp'
Expat.xs:1313: `spp' previously defined here
Expat.xs:1333: `cbv' undeclared here (not in a function)
Expat.xs:1334: warning: initialization makes integer from pointer without a cast
Expat.xs:1334: initializer element is not constant
Expat.xs:1334: warning: data definition has no type or storage class
Expat.xs:1336: parse error before "if"
Expat.xs:1341: warning: parameter names (without types) in function declaration
Expat.xs:1341: warning: data definition has no type or storage class
Expat.xs:1342: parse error before '}' token
Expat.c:1359: parse error before '=' token
Expat.c:1359: parse error before '++' token
Expat.c: In function `XS_XML__Parser__Expat_ParserRelease':
Expat.c:1371: `XML_Parser' undeclared (first use in this function)
Expat.c:1371: parse error before "parser"
Expat.xs:1351: `cbv' undeclared (first use in this function)
Expat.xs:1351: parse error before ')' token
Expat.c: In function `XS_XML__Parser__Expat_ParserFree':
Expat.c:1390: `XML_Parser' undeclared (first use in this function)
Expat.c:1390: parse error before "parser"
Expat.xs:1361: `cbv' undeclared (first use in this function)
Expat.xs:1361: parse error before ')' token
Expat.xs:1430: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_ParseString':
Expat.c:1476: `XML_Parser' undeclared (first use in this function)
Expat.c:1476: parse error before "parser"
Expat.xs:1439: `cbv' undeclared (first use in this function)
Expat.xs:1443: parse error before ')' token
Expat.xs:1446: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_ParseStream':
Expat.c:1508: `XML_Parser' undeclared (first use in this function)
Expat.c:1508: parse error before "parser"
Expat.xs:1463: `cbv' undeclared (first use in this function)
Expat.xs:1465: parse error before ')' token
Expat.xs:1473: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_ParsePartial':
Expat.c:1543: `XML_Parser' undeclared (first use in this function)
Expat.c:1543: parse error before "parser"
Expat.xs:1488: `cbv' undeclared (first use in this function)
Expat.xs:1488: parse error before ')' token
Expat.xs:1490: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_ParseDone':
Expat.c:1571: `XML_Parser' undeclared (first use in this function)
Expat.c:1571: parse error before "parser"
Expat.xs:1504: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetStartElementHandler':
Expat.c:1594: `XML_Parser' undeclared (first use in this function)
Expat.c:1594: parse error before "parser"
Expat.xs:1518: `cbv' undeclared (first use in this function)
Expat.xs:1518: parse error before ')' token
Expat.c: In function `XS_XML__Parser__Expat_SetEndElementHandler':
Expat.c:1615: `XML_Parser' undeclared (first use in this function)
Expat.c:1615: parse error before "parser"
Expat.xs:1529: `cbv' undeclared (first use in this function)
Expat.xs:1529: parse error before ')' token
Expat.c: In function `XS_XML__Parser__Expat_SetCharacterDataHandler':
Expat.c:1636: `XML_Parser' undeclared (first use in this function)
Expat.c:1636: parse error before "parser"
Expat.xs:1540: `XML_CharacterDataHandler' undeclared (first use in this function)
Expat.xs:1540: parse error before "charhndl"
Expat.xs:1541: `cbv' undeclared (first use in this function)
Expat.xs:1541: parse error before ')' token
Expat.xs:1545: `charhndl' undeclared (first use in this function)
Expat.xs:1547: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetProcessingInstructionHandler':
Expat.c:1663: `XML_Parser' undeclared (first use in this function)
Expat.c:1663: parse error before "parser"
Expat.xs:1557: `XML_ProcessingInstructionHandler' undeclared (first use in this function)
Expat.xs:1557: parse error before "prochndl"
Expat.xs:1559: `cbv' undeclared (first use in this function)
Expat.xs:1559: parse error before ')' token
Expat.xs:1563: `prochndl' undeclared (first use in this function)
Expat.xs:1565: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetCommentHandler':
Expat.c:1691: `XML_Parser' undeclared (first use in this function)
Expat.c:1691: parse error before "parser"
Expat.xs:1575: `XML_CommentHandler' undeclared (first use in this function)
Expat.xs:1575: parse error before "cmnthndl"
Expat.xs:1576: `cbv' undeclared (first use in this function)
Expat.xs:1576: parse error before ')' token
Expat.xs:1580: `cmnthndl' undeclared (first use in this function)
Expat.xs:1582: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetDefaultHandler':
Expat.c:1718: `XML_Parser' undeclared (first use in this function)
Expat.c:1718: parse error before "parser"
Expat.xs:1592: `XML_DefaultHandler' undeclared (first use in this function)
Expat.xs:1592: parse error before "dflthndl"
Expat.xs:1593: `cbv' undeclared (first use in this function)
Expat.xs:1593: parse error before ')' token
Expat.xs:1597: `dflthndl' undeclared (first use in this function)
Expat.xs:1600: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetUnparsedEntityDeclHandler':
Expat.c:1749: `XML_Parser' undeclared (first use in this function)
Expat.c:1749: parse error before "parser"
Expat.xs:1613: `XML_UnparsedEntityDeclHandler' undeclared (first use in this function)
Expat.xs:1613: parse error before "unprsdhndl"
Expat.xs:1615: `cbv' undeclared (first use in this function)
Expat.xs:1615: parse error before ')' token
Expat.xs:1619: `unprsdhndl' undeclared (first use in this function)
Expat.xs:1621: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetNotationDeclHandler':
Expat.c:1777: `XML_Parser' undeclared (first use in this function)
Expat.c:1777: parse error before "parser"
Expat.xs:1631: `XML_NotationDeclHandler' undeclared (first use in this function)
Expat.xs:1631: parse error before "nothndlr"
Expat.xs:1632: `cbv' undeclared (first use in this function)
Expat.xs:1632: parse error before ')' token
Expat.xs:1636: `nothndlr' undeclared (first use in this function)
Expat.xs:1638: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetExternalEntityRefHandler':
Expat.c:1804: `XML_Parser' undeclared (first use in this function)
Expat.c:1804: parse error before "parser"
Expat.xs:1648: `XML_ExternalEntityRefHandler' undeclared (first use in this function)
Expat.xs:1648: parse error before "exthndlr"
Expat.xs:1650: `cbv' undeclared (first use in this function)
Expat.xs:1650: parse error before ')' token
Expat.xs:1654: `exthndlr' undeclared (first use in this function)
Expat.xs:1656: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetExtEntFinishHandler':
Expat.c:1832: `XML_Parser' undeclared (first use in this function)
Expat.c:1832: parse error before "parser"
Expat.xs:1666: `cbv' undeclared (first use in this function)
Expat.xs:1666: parse error before ')' token
Expat.c: In function `XS_XML__Parser__Expat_SetEntityDeclHandler':
Expat.c:1858: `XML_Parser' undeclared (first use in this function)
Expat.c:1858: parse error before "parser"
Expat.xs:1683: `XML_EntityDeclHandler' undeclared (first use in this function)
Expat.xs:1683: parse error before "enthndlr"
Expat.xs:1685: `cbv' undeclared (first use in this function)
Expat.xs:1685: parse error before ')' token
Expat.xs:1689: `enthndlr' undeclared (first use in this function)
Expat.xs:1691: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetElementDeclHandler':
Expat.c:1886: `XML_Parser' undeclared (first use in this function)
Expat.c:1886: parse error before "parser"
Expat.xs:1701: `XML_ElementDeclHandler' undeclared (first use in this function)
Expat.xs:1701: parse error before "eldeclhndlr"
Expat.xs:1703: `cbv' undeclared (first use in this function)
Expat.xs:1703: parse error before ')' token
Expat.xs:1707: `eldeclhndlr' undeclared (first use in this function)
Expat.xs:1709: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetAttListDeclHandler':
Expat.c:1914: `XML_Parser' undeclared (first use in this function)
Expat.c:1914: parse error before "parser"
Expat.xs:1719: `XML_AttlistDeclHandler' undeclared (first use in this function)
Expat.xs:1719: parse error before "attdeclhndlr"
Expat.xs:1721: `cbv' undeclared (first use in this function)
Expat.xs:1721: parse error before ')' token
Expat.xs:1725: `attdeclhndlr' undeclared (first use in this function)
Expat.xs:1727: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetDoctypeHandler':
Expat.c:1942: `XML_Parser' undeclared (first use in this function)
Expat.c:1942: parse error before "parser"
Expat.xs:1737: `XML_StartDoctypeDeclHandler' undeclared (first use in this function)
Expat.xs:1737: parse error before "dtsthndlr"
Expat.xs:1739: `cbv' undeclared (first use in this function)
Expat.xs:1739: parse error before ')' token
Expat.xs:1744: `dtsthndlr' undeclared (first use in this function)
Expat.xs:1746: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetEndDoctypeHandler':
Expat.c:1971: `XML_Parser' undeclared (first use in this function)
Expat.c:1971: parse error before "parser"
Expat.xs:1756: `XML_EndDoctypeDeclHandler' undeclared (first use in this function)
Expat.xs:1756: parse error before "dtendhndlr"
Expat.xs:1758: `cbv' undeclared (first use in this function)
Expat.xs:1758: parse error before ')' token
Expat.xs:1762: `dtendhndlr' undeclared (first use in this function)
Expat.xs:1764: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetXMLDeclHandler':
Expat.c:1999: `XML_Parser' undeclared (first use in this function)
Expat.c:1999: parse error before "parser"
Expat.xs:1775: `XML_XmlDeclHandler' undeclared (first use in this function)
Expat.xs:1775: parse error before "xmldechndlr"
Expat.xs:1777: `cbv' undeclared (first use in this function)
Expat.xs:1777: parse error before ')' token
Expat.xs:1781: `xmldechndlr' undeclared (first use in this function)
Expat.xs:1783: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetBase':
Expat.c:2027: `XML_Parser' undeclared (first use in this function)
Expat.c:2027: parse error before "parser"
Expat.xs:1803: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_GetBase':
Expat.c:2054: `XML_Parser' undeclared (first use in this function)
Expat.c:2054: parse error before "parser"
Expat.xs:1812: `parser' undeclared (first use in this function)
Expat.xs:1812: warning: initialization makes pointer from integer without a cast
Expat.c: In function `XS_XML__Parser__Expat_PositionContext':
Expat.c:2080: `XML_Parser' undeclared (first use in this function)
Expat.c:2080: parse error before "parser"
Expat.xs:1829: `parser' undeclared (first use in this function)
Expat.xs:1829: warning: initialization makes pointer from integer without a cast
Expat.c: In function `XS_XML__Parser__Expat_DefaultCurrent':
Expat.c:2194: `XML_Parser' undeclared (first use in this function)
Expat.c:2194: parse error before "parser"
Expat.xs:1920: `cbv' undeclared (first use in this function)
Expat.xs:1920: parse error before ')' token
Expat.xs:1922: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_RecognizedString':
Expat.c:2213: `XML_Parser' undeclared (first use in this function)
Expat.c:2213: parse error before "parser"
Expat.xs:1930: `XML_DefaultHandler' undeclared (first use in this function)
Expat.xs:1930: parse error before "dflthndl"
Expat.xs:1931: `cbv' undeclared (first use in this function)
Expat.xs:1931: parse error before ')' token
Expat.xs:1934: `dflthndl' undeclared (first use in this function)
Expat.xs:1942: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_GetErrorCode':
Expat.c:2256: `XML_Parser' undeclared (first use in this function)
Expat.c:2256: parse error before "parser"
Expat.c:2260: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_GetCurrentLineNumber':
Expat.c:2273: `XML_Parser' undeclared (first use in this function)
Expat.c:2273: parse error before "parser"
Expat.c:2277: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_GetCurrentColumnNumber':
Expat.c:2290: `XML_Parser' undeclared (first use in this function)
Expat.c:2290: parse error before "parser"
Expat.c:2294: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_GetCurrentByteIndex':
Expat.c:2307: `XML_Parser' undeclared (first use in this function)
Expat.c:2307: parse error before "parser"
Expat.c:2311: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_GetSpecifiedAttributeCount':
Expat.c:2324: `XML_Parser' undeclared (first use in this function)
Expat.c:2324: parse error before "parser"
Expat.c:2328: `parser' undeclared (first use in this function)
Expat.xs: In function `XS_XML__Parser__Expat_ErrorString':
Expat.xs:1983: warning: initialization makes pointer from integer without a cast
Expat.c: In function `XS_XML__Parser__Expat_OriginalString':
Expat.c:2484: `XML_Parser' undeclared (first use in this function)
Expat.c:2484: parse error before "parser"
Expat.xs:2091: `parser' undeclared (first use in this function)
Expat.xs:2091: warning: initialization makes pointer from integer without a cast
Expat.c: In function `XS_XML__Parser__Expat_SetStartCdataHandler':
Expat.c:2512: `XML_Parser' undeclared (first use in this function)
Expat.c:2512: parse error before "parser"
Expat.xs:2109: `cbv' undeclared (first use in this function)
Expat.xs:2109: parse error before ')' token
Expat.xs:2110: `XML_StartCdataSectionHandler' undeclared (first use in this function)
Expat.xs:2115: `scdhndl' undeclared (first use in this function)
Expat.xs:2117: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_SetEndCdataHandler':
Expat.c:2540: `XML_Parser' undeclared (first use in this function)
Expat.c:2540: parse error before "parser"
Expat.xs:2127: `cbv' undeclared (first use in this function)
Expat.xs:2127: parse error before ')' token
Expat.xs:2128: `XML_EndCdataSectionHandler' undeclared (first use in this function)
Expat.xs:2133: `ecdhndl' undeclared (first use in this function)
Expat.xs:2135: `parser' undeclared (first use in this function)
Expat.c: In function `XS_XML__Parser__Expat_UnsetAllHandlers':
Expat.c:2568: `XML_Parser' undeclared (first use in this function)
Expat.c:2568: parse error before "parser"
Expat.xs:2144: `cbv' undeclared (first use in this function)
Expat.xs:2144: parse error before ')' token
Expat.xs:2149: `XML_StartNamespaceDeclHandler' undeclared (first use in this function)
Expat.xs:2149: parse error before numeric constant
Expat.xs:2153: `parser' undeclared (first use in this function)
Expat.xs:2154: `XML_StartElementHandler' undeclared (first use in this function)
Expat.xs:2154: parse error before numeric constant
Expat.xs:2158: `XML_UnknownEncodingHandler' undeclared (first use in this function)
Expat.xs:2158: parse error before numeric constant
Expat.c: In function `XS_XML__Parser__Expat_ElementIndex':
Expat.c:2600: `XML_Parser' undeclared (first use in this function)
Expat.c:2600: parse error before "parser"
Expat.xs:2167: `cbv' undeclared (first use in this function)
Expat.xs:2167: parse error before ')' token
Expat.c: In function `XS_XML__Parser__Expat_SkipUntil':
Expat.c:2621: `XML_Parser' undeclared (first use in this function)
Expat.c:2621: parse error before "parser"
Expat.xs:2179: `cbv' undeclared (first use in this function)
Expat.xs:2179: parse error before ')' token
Expat.c: In function `XS_XML__Parser__Expat_Do_External_Parse':
Expat.c:2643: `XML_Parser' undeclared (first use in this function)
Expat.c:2643: parse error before "parser"
Expat.xs:2194: `cbv' undeclared (first use in this function)
Expat.xs:2194: parse error before ')' token
Expat.xs:2197: `parser' undeclared (first use in this function)
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.34/Expat'
make: *** [subdirs] Error 2
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible


From on 2006-02-27 21:00:04
:

On Mon Oct 13 15:06:27 2003, guest wrote:
> make[1]: Entering directory `/root/.cpan/build/XML-Parser-2.34/Expat'
> cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
> /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes
> -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap
> Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
> cc -c   -fno-strict-aliasing -O3   -DVERSION=\"2.34\"
> -DXS_VERSION=\"2.34\" -fpic "-I/usr/lib/perl5/5.8.0/i686-linux/CORE"
> Expat.c
> Expat.xs:12:19: expat.h: No such file or directory
> Expat.xs:60: parse error before "XML_Parser"
> Expat.xs:60: warning: no semicolon at end of struct or union
> Expat.xs:78: parse error before ':' token
> Expat.xs:79: parse error before ':' token
> Expat.xs:80: parse error before ':' token
> Expat.xs:106: parse error before '}' token
> Expat.xs:106: warning: data definition has no type or storage class
> Expat.xs:111: parse error before "nsdelim"
> Expat.xs:111: warning: data definition has no type or storage class
> Expat.xs:117: parse error before '*' token
> Expat.xs:118: parse error before '*' token
> Expat.xs:194: parse error before "ms"
> Expat.xs:194: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:194: warning: excess elements in scalar initializer
> Expat.xs:194: warning: (near initialization for `ms')
> Expat.xs:194: warning: excess elements in scalar initializer
> Expat.xs:194: warning: (near initialization for `ms')
> Expat.xs:194: warning: data definition has no type or storage class
> Expat.xs:197: parse error before "parser"
> Expat.xs: In function `append_error':
> Expat.xs:200: `cbv' undeclared (first use in this function)
> Expat.xs:200: (Each undeclared identifier is reported only once
> Expat.xs:200: for each function it appears in.)
> Expat.xs:203: parse error before ')' token
> Expat.xs:210: `err' undeclared (first use in this function)
> Expat.xs:213: `parser' undeclared (first use in this function)
> Expat.xs: At top level:
> Expat.xs:249: parse error before '*' token
> Expat.xs: In function `generate_model':
> Expat.xs:255: `model' undeclared (first use in this function)
> Expat.xs:256: `XML_CQUANT_NONE' undeclared (first use in this
> function)
> Expat.xs:261: `XML_CTYPE_NAME' undeclared (first use in this function)
> Expat.xs:265: `XML_CTYPE_MIXED' undeclared (first use in this
> function)
> Expat.xs:266: `XML_CTYPE_CHOICE' undeclared (first use in this
> function)
> Expat.xs:267: `XML_CTYPE_SEQ' undeclared (first use in this function)
> Expat.xs: At top level:
> Expat.xs:286: parse error before "parser"
> Expat.xs: In function `parse_stream':
> Expat.xs:298: `cbv' undeclared (first use in this function)
> Expat.xs:301: parse error before ')' token
> Expat.xs:311: `ioref' undeclared (first use in this function)
> Expat.xs:350: `parser' undeclared (first use in this function)
> Expat.xs:350: warning: initialization makes pointer from integer
> without a cast
> Expat.xs: In function `characterData':
> Expat.xs:460: `cbv' undeclared (first use in this function)
> Expat.xs:460: parse error before ')' token
> Expat.xs: In function `startElement':
> Expat.xs:480: `cbv' undeclared (first use in this function)
> Expat.xs:480: parse error before ')' token
> Expat.xs: In function `endElement':
> Expat.xs:556: `cbv' undeclared (first use in this function)
> Expat.xs:556: parse error before ')' token
> Expat.xs: In function `processingInstruction':
> Expat.xs:590: `cbv' undeclared (first use in this function)
> Expat.xs:590: parse error before ')' token
> Expat.xs: In function `commenthandle':
> Expat.xs:611: `cbv' undeclared (first use in this function)
> Expat.xs:611: parse error before ')' token
> Expat.xs: In function `startCdata':
> Expat.xs:631: `cbv' undeclared (first use in this function)
> Expat.xs:631: parse error before ')' token
> Expat.xs: In function `endCdata':
> Expat.xs:651: `cbv' undeclared (first use in this function)
> Expat.xs:651: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:668: parse error before '*' token
> Expat.xs: In function `nsStart':
> Expat.xs:670: `cbv' undeclared (first use in this function)
> Expat.xs:670: parse error before ')' token
> Expat.xs:678: `prefix' undeclared (first use in this function)
> Expat.xs:679: `uri' undeclared (first use in this function)
> Expat.xs: At top level:
> Expat.xs:688: parse error before '*' token
> Expat.xs: In function `nsEnd':
> Expat.xs:690: `cbv' undeclared (first use in this function)
> Expat.xs:690: parse error before ')' token
> Expat.xs:698: `prefix' undeclared (first use in this function)
> Expat.xs: In function `defaulthandle':
> Expat.xs:710: `cbv' undeclared (first use in this function)
> Expat.xs:710: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:729: parse error before "XML_Content"
> Expat.xs: In function `elementDecl':
> Expat.xs:731: `cbv' undeclared (first use in this function)
> Expat.xs:731: parse error before ')' token
> Expat.xs:738: `model' undeclared (first use in this function)
> Expat.xs:744: `name' undeclared (first use in this function)
> Expat.xs: In function `attributeDecl':
> Expat.xs:761: `cbv' undeclared (first use in this function)
> Expat.xs:761: parse error before ')' token
> Expat.xs: In function `entityDecl':
> Expat.xs:802: `cbv' undeclared (first use in this function)
> Expat.xs:802: parse error before ')' token
> Expat.xs: In function `doctypeStart':
> Expat.xs:831: `cbv' undeclared (first use in this function)
> Expat.xs:831: parse error before ')' token
> Expat.xs: In function `doctypeEnd':
> Expat.xs:852: `cbv' undeclared (first use in this function)
> Expat.xs:852: parse error before ')' token
> Expat.xs: In function `xmlDecl':
> Expat.xs:872: `cbv' undeclared (first use in this function)
> Expat.xs:872: parse error before ')' token
> Expat.xs: In function `unparsedEntityDecl':
> Expat.xs:901: `cbv' undeclared (first use in this function)
> Expat.xs:901: parse error before ')' token
> Expat.xs: In function `notationDecl':
> Expat.xs:929: `cbv' undeclared (first use in this function)
> Expat.xs:929: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:960: parse error before "parser"
> Expat.xs: In function `externalEntityRef':
> Expat.xs:975: `cbv' undeclared (first use in this function)
> Expat.xs:975: parse error before ')' token
> Expat.xs:983: `pubid' undeclared (first use in this function)
> Expat.xs:985: `base' undeclared (first use in this function)
> Expat.xs:986: `sysid' undeclared (first use in this function)
> Expat.xs:1002: `parser' undeclared (first use in this function)
> Expat.xs:1004: `XML_Parser' undeclared (first use in this function)
> Expat.xs:1004: parse error before "entpar"
> Expat.xs:1007: `entpar' undeclared (first use in this function)
> Expat.xs: At top level:
> Expat.xs:1115: parse error before "XML_Encoding"
> Expat.xs: In function `unknownEncoding':
> Expat.xs:1123: `name' undeclared (first use in this function)
> Expat.xs:1167: `info' undeclared (first use in this function)
> Expat.xs: In function `recString':
> Expat.xs:1185: `cbv' undeclared (first use in this function)
> Expat.xs:1185: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:1196: parse error before '*' token
> Expat.xs: In function `suspend_callbacks':
> Expat.xs:1197: `cbv' undeclared (first use in this function)
> Expat.xs:1199: `XML_CharacterDataHandler' undeclared (first use in
> this function)
> Expat.xs:1199: parse error before numeric constant
> Expat.xs:1204: `XML_ProcessingInstructionHandler' undeclared (first
> use in this function)
> Expat.xs:1204: parse error before numeric constant
> Expat.xs:1209: `XML_CommentHandler' undeclared (first use in this
> function)
> Expat.xs:1209: parse error before numeric constant
> Expat.xs:1215: `XML_StartCdataSectionHandler' undeclared (first use in
> this function)
> Expat.xs:1215: parse error before numeric constant
> Expat.xs:1221: `XML_UnparsedEntityDeclHandler' undeclared (first use
> in this function)
> Expat.xs:1221: parse error before numeric constant
> Expat.xs:1226: `XML_NotationDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1226: parse error before numeric constant
> Expat.xs:1231: `XML_ExternalEntityRefHandler' undeclared (first use in
> this function)
> Expat.xs:1231: parse error before numeric constant
> Expat.xs: At top level:
> Expat.xs:1237: parse error before '*' token
> Expat.xs: In function `resume_callbacks':
> Expat.xs:1238: `cbv' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParserCreate':
> Expat.c:1290: `XML_Parser' undeclared (first use in this function)
> Expat.c:1290: parse error before "RETVAL"
> Expat.xs:1279: `cbv' undeclared (first use in this function)
> Expat.xs:1280: variable `pep' has initializer but incomplete type
> Expat.xs:1280: `XML_PARAM_ENTITY_PARSING_NEVER' undeclared (first use
> in this function)
> Expat.xs:1280: storage size of `pep' isn't known
> Expat.xs:1284: parse error before ')' token
> Expat.xs:1284: parse error before ')' token
> Expat.xs:1284: `__s' undeclared (first use in this function)
> Expat.xs:1284: parse error before ')' token
> Expat.xs:1284: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:1284: parse error before ')' token
> Expat.xs:1285: warning: data definition has no type or storage class
> Expat.xs:1285: parse error before '}' token
> Expat.xs:1286: parse error before '->' token
> Expat.xs:1286: parse error before "__uint8_t"
> Expat.xs:1286: `__s' used prior to declaration
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before '}' token
> Expat.xs:1286: warning: initialization makes pointer from integer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: parse error before "switch"
> Expat.xs:1286: conflicting types for `__u'
> Expat.xs:1286: previous declaration of `__u'
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before '->' token
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before '}' token
> Expat.xs:1286: parse error before '\x0'
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before '}' token
> Expat.xs:1287: `cbv' undeclared here (not in a function)
> Expat.xs:1287: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1287: initializer element is not constant
> Expat.xs:1287: warning: data definition has no type or storage class
> Expat.xs:1288: parse error before "if"
> Expat.xs:1291: redefinition of `spp'
> Expat.xs:1287: `spp' previously defined here
> Expat.xs:1291: `cbv' undeclared here (not in a function)
> Expat.xs:1291: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1291: initializer element is not constant
> Expat.xs:1291: warning: data definition has no type or storage class
> Expat.xs:1292: parse error before "if"
> Expat.xs:1306: redefinition of `spp'
> Expat.xs:1291: `spp' previously defined here
> Expat.xs:1306: `cbv' undeclared here (not in a function)
> Expat.xs:1307: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1307: initializer element is not constant
> Expat.xs:1307: warning: data definition has no type or storage class
> Expat.xs:1308: parse error before "if"
> Expat.xs:1313: redefinition of `spp'
> Expat.xs:1306: `spp' previously defined here
> Expat.xs:1313: `cbv' undeclared here (not in a function)
> Expat.xs:1314: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1314: initializer element is not constant
> Expat.xs:1314: warning: data definition has no type or storage class
> Expat.xs:1315: parse error before "if"
> Expat.xs:1320: `enc' undeclared here (not in a function)
> Expat.xs:1320: initializer element is not constant
> Expat.xs:1320: warning: data definition has no type or storage class
> Expat.xs:1321: warning: parameter names (without types) in function
> declaration
> Expat.xs:1321: warning: data definition has no type or storage class
> Expat.xs:1322: parse error before '}' token
> Expat.xs:1329: parse error before '(' token
> Expat.xs:1330: warning: parameter names (without types) in function
> declaration
> Expat.xs:1330: warning: data definition has no type or storage class
> Expat.xs:1331: parse error before numeric constant
> Expat.xs:1331: warning: data definition has no type or storage class
> Expat.xs:1333: redefinition of `spp'
> Expat.xs:1313: `spp' previously defined here
> Expat.xs:1333: `cbv' undeclared here (not in a function)
> Expat.xs:1334: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1334: initializer element is not constant
> Expat.xs:1334: warning: data definition has no type or storage class
> Expat.xs:1336: parse error before "if"
> Expat.xs:1341: warning: parameter names (without types) in function
> declaration
> Expat.xs:1341: warning: data definition has no type or storage class
> Expat.xs:1342: parse error before '}' token
> Expat.c:1359: parse error before '=' token
> Expat.c:1359: parse error before '++' token
> Expat.c: In function `XS_XML__Parser__Expat_ParserRelease':
> Expat.c:1371: `XML_Parser' undeclared (first use in this function)
> Expat.c:1371: parse error before "parser"
> Expat.xs:1351: `cbv' undeclared (first use in this function)
> Expat.xs:1351: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_ParserFree':
> Expat.c:1390: `XML_Parser' undeclared (first use in this function)
> Expat.c:1390: parse error before "parser"
> Expat.xs:1361: `cbv' undeclared (first use in this function)
> Expat.xs:1361: parse error before ')' token
> Expat.xs:1430: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParseString':
> Expat.c:1476: `XML_Parser' undeclared (first use in this function)
> Expat.c:1476: parse error before "parser"
> Expat.xs:1439: `cbv' undeclared (first use in this function)
> Expat.xs:1443: parse error before ')' token
> Expat.xs:1446: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParseStream':
> Expat.c:1508: `XML_Parser' undeclared (first use in this function)
> Expat.c:1508: parse error before "parser"
> Expat.xs:1463: `cbv' undeclared (first use in this function)
> Expat.xs:1465: parse error before ')' token
> Expat.xs:1473: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParsePartial':
> Expat.c:1543: `XML_Parser' undeclared (first use in this function)
> Expat.c:1543: parse error before "parser"
> Expat.xs:1488: `cbv' undeclared (first use in this function)
> Expat.xs:1488: parse error before ')' token
> Expat.xs:1490: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParseDone':
> Expat.c:1571: `XML_Parser' undeclared (first use in this function)
> Expat.c:1571: parse error before "parser"
> Expat.xs:1504: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetStartElementHandler':
> Expat.c:1594: `XML_Parser' undeclared (first use in this function)
> Expat.c:1594: parse error before "parser"
> Expat.xs:1518: `cbv' undeclared (first use in this function)
> Expat.xs:1518: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_SetEndElementHandler':
> Expat.c:1615: `XML_Parser' undeclared (first use in this function)
> Expat.c:1615: parse error before "parser"
> Expat.xs:1529: `cbv' undeclared (first use in this function)
> Expat.xs:1529: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_SetCharacterDataHandler':
> Expat.c:1636: `XML_Parser' undeclared (first use in this function)
> Expat.c:1636: parse error before "parser"
> Expat.xs:1540: `XML_CharacterDataHandler' undeclared (first use in
> this function)
> Expat.xs:1540: parse error before "charhndl"
> Expat.xs:1541: `cbv' undeclared (first use in this function)
> Expat.xs:1541: parse error before ')' token
> Expat.xs:1545: `charhndl' undeclared (first use in this function)
> Expat.xs:1547: `parser' undeclared (first use in this function)
> Expat.c: In function
> `XS_XML__Parser__Expat_SetProcessingInstructionHandler':
> Expat.c:1663: `XML_Parser' undeclared (first use in this function)
> Expat.c:1663: parse error before "parser"
> Expat.xs:1557: `XML_ProcessingInstructionHandler' undeclared (first
> use in this function)
> Expat.xs:1557: parse error before "prochndl"
> Expat.xs:1559: `cbv' undeclared (first use in this function)
> Expat.xs:1559: parse error before ')' token
> Expat.xs:1563: `prochndl' undeclared (first use in this function)
> Expat.xs:1565: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetCommentHandler':
> Expat.c:1691: `XML_Parser' undeclared (first use in this function)
> Expat.c:1691: parse error before "parser"
> Expat.xs:1575: `XML_CommentHandler' undeclared (first use in this
> function)
> Expat.xs:1575: parse error before "cmnthndl"
> Expat.xs:1576: `cbv' undeclared (first use in this function)
> Expat.xs:1576: parse error before ')' token
> Expat.xs:1580: `cmnthndl' undeclared (first use in this function)
> Expat.xs:1582: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetDefaultHandler':
> Expat.c:1718: `XML_Parser' undeclared (first use in this function)
> Expat.c:1718: parse error before "parser"
> Expat.xs:1592: `XML_DefaultHandler' undeclared (first use in this
> function)
> Expat.xs:1592: parse error before "dflthndl"
> Expat.xs:1593: `cbv' undeclared (first use in this function)
> Expat.xs:1593: parse error before ')' token
> Expat.xs:1597: `dflthndl' undeclared (first use in this function)
> Expat.xs:1600: `parser' undeclared (first use in this function)
> Expat.c: In function
> `XS_XML__Parser__Expat_SetUnparsedEntityDeclHandler':
> Expat.c:1749: `XML_Parser' undeclared (first use in this function)
> Expat.c:1749: parse error before "parser"
> Expat.xs:1613: `XML_UnparsedEntityDeclHandler' undeclared (first use
> in this function)
> Expat.xs:1613: parse error before "unprsdhndl"
> Expat.xs:1615: `cbv' undeclared (first use in this function)
> Expat.xs:1615: parse error before ')' token
> Expat.xs:1619: `unprsdhndl' undeclared (first use in this function)
> Expat.xs:1621: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetNotationDeclHandler':
> Expat.c:1777: `XML_Parser' undeclared (first use in this function)
> Expat.c:1777: parse error before "parser"
> Expat.xs:1631: `XML_NotationDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1631: parse error before "nothndlr"
> Expat.xs:1632: `cbv' undeclared (first use in this function)
> Expat.xs:1632: parse error before ')' token
> Expat.xs:1636: `nothndlr' undeclared (first use in this function)
> Expat.xs:1638: `parser' undeclared (first use in this function)
> Expat.c: In function
> `XS_XML__Parser__Expat_SetExternalEntityRefHandler':
> Expat.c:1804: `XML_Parser' undeclared (first use in this function)
> Expat.c:1804: parse error before "parser"
> Expat.xs:1648: `XML_ExternalEntityRefHandler' undeclared (first use in
> this function)
> Expat.xs:1648: parse error before "exthndlr"
> Expat.xs:1650: `cbv' undeclared (first use in this function)
> Expat.xs:1650: parse error before ')' token
> Expat.xs:1654: `exthndlr' undeclared (first use in this function)
> Expat.xs:1656: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetExtEntFinishHandler':
> Expat.c:1832: `XML_Parser' undeclared (first use in this function)
> Expat.c:1832: parse error before "parser"
> Expat.xs:1666: `cbv' undeclared (first use in this function)
> Expat.xs:1666: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_SetEntityDeclHandler':
> Expat.c:1858: `XML_Parser' undeclared (first use in this function)
> Expat.c:1858: parse error before "parser"
> Expat.xs:1683: `XML_EntityDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1683: parse error before "enthndlr"
> Expat.xs:1685: `cbv' undeclared (first use in this function)
> Expat.xs:1685: parse error before ')' token
> Expat.xs:1689: `enthndlr' undeclared (first use in this function)
> Expat.xs:1691: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetElementDeclHandler':
> Expat.c:1886: `XML_Parser' undeclared (first use in this function)
> Expat.c:1886: parse error before "parser"
> Expat.xs:1701: `XML_ElementDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1701: parse error before "eldeclhndlr"
> Expat.xs:1703: `cbv' undeclared (first use in this function)
> Expat.xs:1703: parse error before ')' token
> Expat.xs:1707: `eldeclhndlr' undeclared (first use in this function)
> Expat.xs:1709: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetAttListDeclHandler':
> Expat.c:1914: `XML_Parser' undeclared (first use in this function)
> Expat.c:1914: parse error before "parser"
> Expat.xs:1719: `XML_AttlistDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1719: parse error before "attdeclhndlr"
> Expat.xs:1721: `cbv' undeclared (first use in this function)
> Expat.xs:1721: parse error before ')' token
> Expat.xs:1725: `attdeclhndlr' undeclared (first use in this function)
> Expat.xs:1727: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetDoctypeHandler':
> Expat.c:1942: `XML_Parser' undeclared (first use in this function)
> Expat.c:1942: parse error before "parser"
> Expat.xs:1737: `XML_StartDoctypeDeclHandler' undeclared (first use in
> this function)
> Expat.xs:1737: parse error before "dtsthndlr"
> Expat.xs:1739: `cbv' undeclared (first use in this function)
> Expat.xs:1739: parse error before ')' token
> Expat.xs:1744: `dtsthndlr' undeclared (first use in this function)
> Expat.xs:1746: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetEndDoctypeHandler':
> Expat.c:1971: `XML_Parser' undeclared (first use in this function)
> Expat.c:1971: parse error before "parser"
> Expat.xs:1756: `XML_EndDoctypeDeclHandler' undeclared (first use in
> this function)
> Expat.xs:1756: parse error before "dtendhndlr"
> Expat.xs:1758: `cbv' undeclared (first use in this function)
> Expat.xs:1758: parse error before ')' token
> Expat.xs:1762: `dtendhndlr' undeclared (first use in this function)
> Expat.xs:1764: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetXMLDeclHandler':
> Expat.c:1999: `XML_Parser' undeclared (first use in this function)
> Expat.c:1999: parse error before "parser"
> Expat.xs:1775: `XML_XmlDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1775: parse error before "xmldechndlr"
> Expat.xs:1777: `cbv' undeclared (first use in this function)
> Expat.xs:1777: parse error before ')' token
> Expat.xs:1781: `xmldechndlr' undeclared (first use in this function)
> Expat.xs:1783: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetBase':
> Expat.c:2027: `XML_Parser' undeclared (first use in this function)
> Expat.c:2027: parse error before "parser"
> Expat.xs:1803: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetBase':
> Expat.c:2054: `XML_Parser' undeclared (first use in this function)
> Expat.c:2054: parse error before "parser"
> Expat.xs:1812: `parser' undeclared (first use in this function)
> Expat.xs:1812: warning: initialization makes pointer from integer
> without a cast
> Expat.c: In function `XS_XML__Parser__Expat_PositionContext':
> Expat.c:2080: `XML_Parser' undeclared (first use in this function)
> Expat.c:2080: parse error before "parser"
> Expat.xs:1829: `parser' undeclared (first use in this function)
> Expat.xs:1829: warning: initialization makes pointer from integer
> without a cast
> Expat.c: In function `XS_XML__Parser__Expat_DefaultCurrent':
> Expat.c:2194: `XML_Parser' undeclared (first use in this function)
> Expat.c:2194: parse error before "parser"
> Expat.xs:1920: `cbv' undeclared (first use in this function)
> Expat.xs:1920: parse error before ')' token
> Expat.xs:1922: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_RecognizedString':
> Expat.c:2213: `XML_Parser' undeclared (first use in this function)
> Expat.c:2213: parse error before "parser"
> Expat.xs:1930: `XML_DefaultHandler' undeclared (first use in this
> function)
> Expat.xs:1930: parse error before "dflthndl"
> Expat.xs:1931: `cbv' undeclared (first use in this function)
> Expat.xs:1931: parse error before ')' token
> Expat.xs:1934: `dflthndl' undeclared (first use in this function)
> Expat.xs:1942: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetErrorCode':
> Expat.c:2256: `XML_Parser' undeclared (first use in this function)
> Expat.c:2256: parse error before "parser"
> Expat.c:2260: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetCurrentLineNumber':
> Expat.c:2273: `XML_Parser' undeclared (first use in this function)
> Expat.c:2273: parse error before "parser"
> Expat.c:2277: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetCurrentColumnNumber':
> Expat.c:2290: `XML_Parser' undeclared (first use in this function)
> Expat.c:2290: parse error before "parser"
> Expat.c:2294: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetCurrentByteIndex':
> Expat.c:2307: `XML_Parser' undeclared (first use in this function)
> Expat.c:2307: parse error before "parser"
> Expat.c:2311: `parser' undeclared (first use in this function)
> Expat.c: In function
> `XS_XML__Parser__Expat_GetSpecifiedAttributeCount':
> Expat.c:2324: `XML_Parser' undeclared (first use in this function)
> Expat.c:2324: parse error before "parser"
> Expat.c:2328: `parser' undeclared (first use in this function)
> Expat.xs: In function `XS_XML__Parser__Expat_ErrorString':
> Expat.xs:1983: warning: initialization makes pointer from integer
> without a cast
> Expat.c: In function `XS_XML__Parser__Expat_OriginalString':
> Expat.c:2484: `XML_Parser' undeclared (first use in this function)
> Expat.c:2484: parse error before "parser"
> Expat.xs:2091: `parser' undeclared (first use in this function)
> Expat.xs:2091: warning: initialization makes pointer from integer
> without a cast
> Expat.c: In function `XS_XML__Parser__Expat_SetStartCdataHandler':
> Expat.c:2512: `XML_Parser' undeclared (first use in this function)
> Expat.c:2512: parse error before "parser"
> Expat.xs:2109: `cbv' undeclared (first use in this function)
> Expat.xs:2109: parse error before ')' token
> Expat.xs:2110: `XML_StartCdataSectionHandler' undeclared (first use in
> this function)
> Expat.xs:2115: `scdhndl' undeclared (first use in this function)
> Expat.xs:2117: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetEndCdataHandler':
> Expat.c:2540: `XML_Parser' undeclared (first use in this function)
> Expat.c:2540: parse error before "parser"
> Expat.xs:2127: `cbv' undeclared (first use in this function)
> Expat.xs:2127: parse error before ')' token
> Expat.xs:2128: `XML_EndCdataSectionHandler' undeclared (first use in
> this function)
> Expat.xs:2133: `ecdhndl' undeclared (first use in this function)
> Expat.xs:2135: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_UnsetAllHandlers':
> Expat.c:2568: `XML_Parser' undeclared (first use in this function)
> Expat.c:2568: parse error before "parser"
> Expat.xs:2144: `cbv' undeclared (first use in this function)
> Expat.xs:2144: parse error before ')' token
> Expat.xs:2149: `XML_StartNamespaceDeclHandler' undeclared (first use
> in this function)
> Expat.xs:2149: parse error before numeric constant
> Expat.xs:2153: `parser' undeclared (first use in this function)
> Expat.xs:2154: `XML_StartElementHandler' undeclared (first use in this
> function)
> Expat.xs:2154: parse error before numeric constant
> Expat.xs:2158: `XML_UnknownEncodingHandler' undeclared (first use in
> this function)
> Expat.xs:2158: parse error before numeric constant
> Expat.c: In function `XS_XML__Parser__Expat_ElementIndex':
> Expat.c:2600: `XML_Parser' undeclared (first use in this function)
> Expat.c:2600: parse error before "parser"
> Expat.xs:2167: `cbv' undeclared (first use in this function)
> Expat.xs:2167: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_SkipUntil':
> Expat.c:2621: `XML_Parser' undeclared (first use in this function)
> Expat.c:2621: parse error before "parser"
> Expat.xs:2179: `cbv' undeclared (first use in this function)
> Expat.xs:2179: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_Do_External_Parse':
> Expat.c:2643: `XML_Parser' undeclared (first use in this function)
> Expat.c:2643: parse error before "parser"
> Expat.xs:2194: `cbv' undeclared (first use in this function)
> Expat.xs:2194: parse error before ')' token
> Expat.xs:2197: `parser' undeclared (first use in this function)
> make[1]: *** [Expat.o] Error 1
> make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.34/Expat'
> make: *** [subdirs] Error 2
>   /usr/bin/make  -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible




From on 2006-03-26 15:51:41
:

Your system doesn't have expat installed
(thats why expat.h can't be found)
Install expat, then make again

On Mon Oct 13 15:06:27 2003, guest wrote:
> make[1]: Entering directory `/root/.cpan/build/XML-Parser-2.34/Expat'
> cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
> /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -noprototypes
> -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap
> Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
> cc -c   -fno-strict-aliasing -O3   -DVERSION=\"2.34\"
> -DXS_VERSION=\"2.34\" -fpic "-I/usr/lib/perl5/5.8.0/i686-linux/CORE"
> Expat.c
> Expat.xs:12:19: expat.h: No such file or directory
> Expat.xs:60: parse error before "XML_Parser"
> Expat.xs:60: warning: no semicolon at end of struct or union
> Expat.xs:78: parse error before ':' token
> Expat.xs:79: parse error before ':' token
> Expat.xs:80: parse error before ':' token
> Expat.xs:106: parse error before '}' token
> Expat.xs:106: warning: data definition has no type or storage class
> Expat.xs:111: parse error before "nsdelim"
> Expat.xs:111: warning: data definition has no type or storage class
> Expat.xs:117: parse error before '*' token
> Expat.xs:118: parse error before '*' token
> Expat.xs:194: parse error before "ms"
> Expat.xs:194: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:194: warning: excess elements in scalar initializer
> Expat.xs:194: warning: (near initialization for `ms')
> Expat.xs:194: warning: excess elements in scalar initializer
> Expat.xs:194: warning: (near initialization for `ms')
> Expat.xs:194: warning: data definition has no type or storage class
> Expat.xs:197: parse error before "parser"
> Expat.xs: In function `append_error':
> Expat.xs:200: `cbv' undeclared (first use in this function)
> Expat.xs:200: (Each undeclared identifier is reported only once
> Expat.xs:200: for each function it appears in.)
> Expat.xs:203: parse error before ')' token
> Expat.xs:210: `err' undeclared (first use in this function)
> Expat.xs:213: `parser' undeclared (first use in this function)
> Expat.xs: At top level:
> Expat.xs:249: parse error before '*' token
> Expat.xs: In function `generate_model':
> Expat.xs:255: `model' undeclared (first use in this function)
> Expat.xs:256: `XML_CQUANT_NONE' undeclared (first use in this
> function)
> Expat.xs:261: `XML_CTYPE_NAME' undeclared (first use in this function)
> Expat.xs:265: `XML_CTYPE_MIXED' undeclared (first use in this
> function)
> Expat.xs:266: `XML_CTYPE_CHOICE' undeclared (first use in this
> function)
> Expat.xs:267: `XML_CTYPE_SEQ' undeclared (first use in this function)
> Expat.xs: At top level:
> Expat.xs:286: parse error before "parser"
> Expat.xs: In function `parse_stream':
> Expat.xs:298: `cbv' undeclared (first use in this function)
> Expat.xs:301: parse error before ')' token
> Expat.xs:311: `ioref' undeclared (first use in this function)
> Expat.xs:350: `parser' undeclared (first use in this function)
> Expat.xs:350: warning: initialization makes pointer from integer
> without a cast
> Expat.xs: In function `characterData':
> Expat.xs:460: `cbv' undeclared (first use in this function)
> Expat.xs:460: parse error before ')' token
> Expat.xs: In function `startElement':
> Expat.xs:480: `cbv' undeclared (first use in this function)
> Expat.xs:480: parse error before ')' token
> Expat.xs: In function `endElement':
> Expat.xs:556: `cbv' undeclared (first use in this function)
> Expat.xs:556: parse error before ')' token
> Expat.xs: In function `processingInstruction':
> Expat.xs:590: `cbv' undeclared (first use in this function)
> Expat.xs:590: parse error before ')' token
> Expat.xs: In function `commenthandle':
> Expat.xs:611: `cbv' undeclared (first use in this function)
> Expat.xs:611: parse error before ')' token
> Expat.xs: In function `startCdata':
> Expat.xs:631: `cbv' undeclared (first use in this function)
> Expat.xs:631: parse error before ')' token
> Expat.xs: In function `endCdata':
> Expat.xs:651: `cbv' undeclared (first use in this function)
> Expat.xs:651: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:668: parse error before '*' token
> Expat.xs: In function `nsStart':
> Expat.xs:670: `cbv' undeclared (first use in this function)
> Expat.xs:670: parse error before ')' token
> Expat.xs:678: `prefix' undeclared (first use in this function)
> Expat.xs:679: `uri' undeclared (first use in this function)
> Expat.xs: At top level:
> Expat.xs:688: parse error before '*' token
> Expat.xs: In function `nsEnd':
> Expat.xs:690: `cbv' undeclared (first use in this function)
> Expat.xs:690: parse error before ')' token
> Expat.xs:698: `prefix' undeclared (first use in this function)
> Expat.xs: In function `defaulthandle':
> Expat.xs:710: `cbv' undeclared (first use in this function)
> Expat.xs:710: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:729: parse error before "XML_Content"
> Expat.xs: In function `elementDecl':
> Expat.xs:731: `cbv' undeclared (first use in this function)
> Expat.xs:731: parse error before ')' token
> Expat.xs:738: `model' undeclared (first use in this function)
> Expat.xs:744: `name' undeclared (first use in this function)
> Expat.xs: In function `attributeDecl':
> Expat.xs:761: `cbv' undeclared (first use in this function)
> Expat.xs:761: parse error before ')' token
> Expat.xs: In function `entityDecl':
> Expat.xs:802: `cbv' undeclared (first use in this function)
> Expat.xs:802: parse error before ')' token
> Expat.xs: In function `doctypeStart':
> Expat.xs:831: `cbv' undeclared (first use in this function)
> Expat.xs:831: parse error before ')' token
> Expat.xs: In function `doctypeEnd':
> Expat.xs:852: `cbv' undeclared (first use in this function)
> Expat.xs:852: parse error before ')' token
> Expat.xs: In function `xmlDecl':
> Expat.xs:872: `cbv' undeclared (first use in this function)
> Expat.xs:872: parse error before ')' token
> Expat.xs: In function `unparsedEntityDecl':
> Expat.xs:901: `cbv' undeclared (first use in this function)
> Expat.xs:901: parse error before ')' token
> Expat.xs: In function `notationDecl':
> Expat.xs:929: `cbv' undeclared (first use in this function)
> Expat.xs:929: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:960: parse error before "parser"
> Expat.xs: In function `externalEntityRef':
> Expat.xs:975: `cbv' undeclared (first use in this function)
> Expat.xs:975: parse error before ')' token
> Expat.xs:983: `pubid' undeclared (first use in this function)
> Expat.xs:985: `base' undeclared (first use in this function)
> Expat.xs:986: `sysid' undeclared (first use in this function)
> Expat.xs:1002: `parser' undeclared (first use in this function)
> Expat.xs:1004: `XML_Parser' undeclared (first use in this function)
> Expat.xs:1004: parse error before "entpar"
> Expat.xs:1007: `entpar' undeclared (first use in this function)
> Expat.xs: At top level:
> Expat.xs:1115: parse error before "XML_Encoding"
> Expat.xs: In function `unknownEncoding':
> Expat.xs:1123: `name' undeclared (first use in this function)
> Expat.xs:1167: `info' undeclared (first use in this function)
> Expat.xs: In function `recString':
> Expat.xs:1185: `cbv' undeclared (first use in this function)
> Expat.xs:1185: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:1196: parse error before '*' token
> Expat.xs: In function `suspend_callbacks':
> Expat.xs:1197: `cbv' undeclared (first use in this function)
> Expat.xs:1199: `XML_CharacterDataHandler' undeclared (first use in
> this function)
> Expat.xs:1199: parse error before numeric constant
> Expat.xs:1204: `XML_ProcessingInstructionHandler' undeclared (first
> use in this function)
> Expat.xs:1204: parse error before numeric constant
> Expat.xs:1209: `XML_CommentHandler' undeclared (first use in this
> function)
> Expat.xs:1209: parse error before numeric constant
> Expat.xs:1215: `XML_StartCdataSectionHandler' undeclared (first use in
> this function)
> Expat.xs:1215: parse error before numeric constant
> Expat.xs:1221: `XML_UnparsedEntityDeclHandler' undeclared (first use
> in this function)
> Expat.xs:1221: parse error before numeric constant
> Expat.xs:1226: `XML_NotationDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1226: parse error before numeric constant
> Expat.xs:1231: `XML_ExternalEntityRefHandler' undeclared (first use in
> this function)
> Expat.xs:1231: parse error before numeric constant
> Expat.xs: At top level:
> Expat.xs:1237: parse error before '*' token
> Expat.xs: In function `resume_callbacks':
> Expat.xs:1238: `cbv' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParserCreate':
> Expat.c:1290: `XML_Parser' undeclared (first use in this function)
> Expat.c:1290: parse error before "RETVAL"
> Expat.xs:1279: `cbv' undeclared (first use in this function)
> Expat.xs:1280: variable `pep' has initializer but incomplete type
> Expat.xs:1280: `XML_PARAM_ENTITY_PARSING_NEVER' undeclared (first use
> in this function)
> Expat.xs:1280: storage size of `pep' isn't known
> Expat.xs:1284: parse error before ')' token
> Expat.xs:1284: parse error before ')' token
> Expat.xs:1284: `__s' undeclared (first use in this function)
> Expat.xs:1284: parse error before ')' token
> Expat.xs:1284: parse error before ')' token
> Expat.xs: At top level:
> Expat.xs:1284: parse error before ')' token
> Expat.xs:1285: warning: data definition has no type or storage class
> Expat.xs:1285: parse error before '}' token
> Expat.xs:1286: parse error before '->' token
> Expat.xs:1286: parse error before "__uint8_t"
> Expat.xs:1286: `__s' used prior to declaration
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before '}' token
> Expat.xs:1286: warning: initialization makes pointer from integer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: parse error before "switch"
> Expat.xs:1286: conflicting types for `__u'
> Expat.xs:1286: previous declaration of `__u'
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before '->' token
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: redefinition of `__u'
> Expat.xs:1286: `__u' previously defined here
> Expat.xs:1286: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1286: initializer element is not constant
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before "case"
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before '}' token
> Expat.xs:1286: parse error before '\x0'
> Expat.xs:1286: warning: data definition has no type or storage class
> Expat.xs:1286: parse error before '}' token
> Expat.xs:1287: `cbv' undeclared here (not in a function)
> Expat.xs:1287: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1287: initializer element is not constant
> Expat.xs:1287: warning: data definition has no type or storage class
> Expat.xs:1288: parse error before "if"
> Expat.xs:1291: redefinition of `spp'
> Expat.xs:1287: `spp' previously defined here
> Expat.xs:1291: `cbv' undeclared here (not in a function)
> Expat.xs:1291: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1291: initializer element is not constant
> Expat.xs:1291: warning: data definition has no type or storage class
> Expat.xs:1292: parse error before "if"
> Expat.xs:1306: redefinition of `spp'
> Expat.xs:1291: `spp' previously defined here
> Expat.xs:1306: `cbv' undeclared here (not in a function)
> Expat.xs:1307: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1307: initializer element is not constant
> Expat.xs:1307: warning: data definition has no type or storage class
> Expat.xs:1308: parse error before "if"
> Expat.xs:1313: redefinition of `spp'
> Expat.xs:1306: `spp' previously defined here
> Expat.xs:1313: `cbv' undeclared here (not in a function)
> Expat.xs:1314: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1314: initializer element is not constant
> Expat.xs:1314: warning: data definition has no type or storage class
> Expat.xs:1315: parse error before "if"
> Expat.xs:1320: `enc' undeclared here (not in a function)
> Expat.xs:1320: initializer element is not constant
> Expat.xs:1320: warning: data definition has no type or storage class
> Expat.xs:1321: warning: parameter names (without types) in function
> declaration
> Expat.xs:1321: warning: data definition has no type or storage class
> Expat.xs:1322: parse error before '}' token
> Expat.xs:1329: parse error before '(' token
> Expat.xs:1330: warning: parameter names (without types) in function
> declaration
> Expat.xs:1330: warning: data definition has no type or storage class
> Expat.xs:1331: parse error before numeric constant
> Expat.xs:1331: warning: data definition has no type or storage class
> Expat.xs:1333: redefinition of `spp'
> Expat.xs:1313: `spp' previously defined here
> Expat.xs:1333: `cbv' undeclared here (not in a function)
> Expat.xs:1334: warning: initialization makes integer from pointer
> without a cast
> Expat.xs:1334: initializer element is not constant
> Expat.xs:1334: warning: data definition has no type or storage class
> Expat.xs:1336: parse error before "if"
> Expat.xs:1341: warning: parameter names (without types) in function
> declaration
> Expat.xs:1341: warning: data definition has no type or storage class
> Expat.xs:1342: parse error before '}' token
> Expat.c:1359: parse error before '=' token
> Expat.c:1359: parse error before '++' token
> Expat.c: In function `XS_XML__Parser__Expat_ParserRelease':
> Expat.c:1371: `XML_Parser' undeclared (first use in this function)
> Expat.c:1371: parse error before "parser"
> Expat.xs:1351: `cbv' undeclared (first use in this function)
> Expat.xs:1351: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_ParserFree':
> Expat.c:1390: `XML_Parser' undeclared (first use in this function)
> Expat.c:1390: parse error before "parser"
> Expat.xs:1361: `cbv' undeclared (first use in this function)
> Expat.xs:1361: parse error before ')' token
> Expat.xs:1430: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParseString':
> Expat.c:1476: `XML_Parser' undeclared (first use in this function)
> Expat.c:1476: parse error before "parser"
> Expat.xs:1439: `cbv' undeclared (first use in this function)
> Expat.xs:1443: parse error before ')' token
> Expat.xs:1446: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParseStream':
> Expat.c:1508: `XML_Parser' undeclared (first use in this function)
> Expat.c:1508: parse error before "parser"
> Expat.xs:1463: `cbv' undeclared (first use in this function)
> Expat.xs:1465: parse error before ')' token
> Expat.xs:1473: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParsePartial':
> Expat.c:1543: `XML_Parser' undeclared (first use in this function)
> Expat.c:1543: parse error before "parser"
> Expat.xs:1488: `cbv' undeclared (first use in this function)
> Expat.xs:1488: parse error before ')' token
> Expat.xs:1490: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_ParseDone':
> Expat.c:1571: `XML_Parser' undeclared (first use in this function)
> Expat.c:1571: parse error before "parser"
> Expat.xs:1504: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetStartElementHandler':
> Expat.c:1594: `XML_Parser' undeclared (first use in this function)
> Expat.c:1594: parse error before "parser"
> Expat.xs:1518: `cbv' undeclared (first use in this function)
> Expat.xs:1518: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_SetEndElementHandler':
> Expat.c:1615: `XML_Parser' undeclared (first use in this function)
> Expat.c:1615: parse error before "parser"
> Expat.xs:1529: `cbv' undeclared (first use in this function)
> Expat.xs:1529: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_SetCharacterDataHandler':
> Expat.c:1636: `XML_Parser' undeclared (first use in this function)
> Expat.c:1636: parse error before "parser"
> Expat.xs:1540: `XML_CharacterDataHandler' undeclared (first use in
> this function)
> Expat.xs:1540: parse error before "charhndl"
> Expat.xs:1541: `cbv' undeclared (first use in this function)
> Expat.xs:1541: parse error before ')' token
> Expat.xs:1545: `charhndl' undeclared (first use in this function)
> Expat.xs:1547: `parser' undeclared (first use in this function)
> Expat.c: In function
> `XS_XML__Parser__Expat_SetProcessingInstructionHandler':
> Expat.c:1663: `XML_Parser' undeclared (first use in this function)
> Expat.c:1663: parse error before "parser"
> Expat.xs:1557: `XML_ProcessingInstructionHandler' undeclared (first
> use in this function)
> Expat.xs:1557: parse error before "prochndl"
> Expat.xs:1559: `cbv' undeclared (first use in this function)
> Expat.xs:1559: parse error before ')' token
> Expat.xs:1563: `prochndl' undeclared (first use in this function)
> Expat.xs:1565: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetCommentHandler':
> Expat.c:1691: `XML_Parser' undeclared (first use in this function)
> Expat.c:1691: parse error before "parser"
> Expat.xs:1575: `XML_CommentHandler' undeclared (first use in this
> function)
> Expat.xs:1575: parse error before "cmnthndl"
> Expat.xs:1576: `cbv' undeclared (first use in this function)
> Expat.xs:1576: parse error before ')' token
> Expat.xs:1580: `cmnthndl' undeclared (first use in this function)
> Expat.xs:1582: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetDefaultHandler':
> Expat.c:1718: `XML_Parser' undeclared (first use in this function)
> Expat.c:1718: parse error before "parser"
> Expat.xs:1592: `XML_DefaultHandler' undeclared (first use in this
> function)
> Expat.xs:1592: parse error before "dflthndl"
> Expat.xs:1593: `cbv' undeclared (first use in this function)
> Expat.xs:1593: parse error before ')' token
> Expat.xs:1597: `dflthndl' undeclared (first use in this function)
> Expat.xs:1600: `parser' undeclared (first use in this function)
> Expat.c: In function
> `XS_XML__Parser__Expat_SetUnparsedEntityDeclHandler':
> Expat.c:1749: `XML_Parser' undeclared (first use in this function)
> Expat.c:1749: parse error before "parser"
> Expat.xs:1613: `XML_UnparsedEntityDeclHandler' undeclared (first use
> in this function)
> Expat.xs:1613: parse error before "unprsdhndl"
> Expat.xs:1615: `cbv' undeclared (first use in this function)
> Expat.xs:1615: parse error before ')' token
> Expat.xs:1619: `unprsdhndl' undeclared (first use in this function)
> Expat.xs:1621: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetNotationDeclHandler':
> Expat.c:1777: `XML_Parser' undeclared (first use in this function)
> Expat.c:1777: parse error before "parser"
> Expat.xs:1631: `XML_NotationDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1631: parse error before "nothndlr"
> Expat.xs:1632: `cbv' undeclared (first use in this function)
> Expat.xs:1632: parse error before ')' token
> Expat.xs:1636: `nothndlr' undeclared (first use in this function)
> Expat.xs:1638: `parser' undeclared (first use in this function)
> Expat.c: In function
> `XS_XML__Parser__Expat_SetExternalEntityRefHandler':
> Expat.c:1804: `XML_Parser' undeclared (first use in this function)
> Expat.c:1804: parse error before "parser"
> Expat.xs:1648: `XML_ExternalEntityRefHandler' undeclared (first use in
> this function)
> Expat.xs:1648: parse error before "exthndlr"
> Expat.xs:1650: `cbv' undeclared (first use in this function)
> Expat.xs:1650: parse error before ')' token
> Expat.xs:1654: `exthndlr' undeclared (first use in this function)
> Expat.xs:1656: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetExtEntFinishHandler':
> Expat.c:1832: `XML_Parser' undeclared (first use in this function)
> Expat.c:1832: parse error before "parser"
> Expat.xs:1666: `cbv' undeclared (first use in this function)
> Expat.xs:1666: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_SetEntityDeclHandler':
> Expat.c:1858: `XML_Parser' undeclared (first use in this function)
> Expat.c:1858: parse error before "parser"
> Expat.xs:1683: `XML_EntityDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1683: parse error before "enthndlr"
> Expat.xs:1685: `cbv' undeclared (first use in this function)
> Expat.xs:1685: parse error before ')' token
> Expat.xs:1689: `enthndlr' undeclared (first use in this function)
> Expat.xs:1691: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetElementDeclHandler':
> Expat.c:1886: `XML_Parser' undeclared (first use in this function)
> Expat.c:1886: parse error before "parser"
> Expat.xs:1701: `XML_ElementDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1701: parse error before "eldeclhndlr"
> Expat.xs:1703: `cbv' undeclared (first use in this function)
> Expat.xs:1703: parse error before ')' token
> Expat.xs:1707: `eldeclhndlr' undeclared (first use in this function)
> Expat.xs:1709: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetAttListDeclHandler':
> Expat.c:1914: `XML_Parser' undeclared (first use in this function)
> Expat.c:1914: parse error before "parser"
> Expat.xs:1719: `XML_AttlistDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1719: parse error before "attdeclhndlr"
> Expat.xs:1721: `cbv' undeclared (first use in this function)
> Expat.xs:1721: parse error before ')' token
> Expat.xs:1725: `attdeclhndlr' undeclared (first use in this function)
> Expat.xs:1727: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetDoctypeHandler':
> Expat.c:1942: `XML_Parser' undeclared (first use in this function)
> Expat.c:1942: parse error before "parser"
> Expat.xs:1737: `XML_StartDoctypeDeclHandler' undeclared (first use in
> this function)
> Expat.xs:1737: parse error before "dtsthndlr"
> Expat.xs:1739: `cbv' undeclared (first use in this function)
> Expat.xs:1739: parse error before ')' token
> Expat.xs:1744: `dtsthndlr' undeclared (first use in this function)
> Expat.xs:1746: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetEndDoctypeHandler':
> Expat.c:1971: `XML_Parser' undeclared (first use in this function)
> Expat.c:1971: parse error before "parser"
> Expat.xs:1756: `XML_EndDoctypeDeclHandler' undeclared (first use in
> this function)
> Expat.xs:1756: parse error before "dtendhndlr"
> Expat.xs:1758: `cbv' undeclared (first use in this function)
> Expat.xs:1758: parse error before ')' token
> Expat.xs:1762: `dtendhndlr' undeclared (first use in this function)
> Expat.xs:1764: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetXMLDeclHandler':
> Expat.c:1999: `XML_Parser' undeclared (first use in this function)
> Expat.c:1999: parse error before "parser"
> Expat.xs:1775: `XML_XmlDeclHandler' undeclared (first use in this
> function)
> Expat.xs:1775: parse error before "xmldechndlr"
> Expat.xs:1777: `cbv' undeclared (first use in this function)
> Expat.xs:1777: parse error before ')' token
> Expat.xs:1781: `xmldechndlr' undeclared (first use in this function)
> Expat.xs:1783: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetBase':
> Expat.c:2027: `XML_Parser' undeclared (first use in this function)
> Expat.c:2027: parse error before "parser"
> Expat.xs:1803: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetBase':
> Expat.c:2054: `XML_Parser' undeclared (first use in this function)
> Expat.c:2054: parse error before "parser"
> Expat.xs:1812: `parser' undeclared (first use in this function)
> Expat.xs:1812: warning: initialization makes pointer from integer
> without a cast
> Expat.c: In function `XS_XML__Parser__Expat_PositionContext':
> Expat.c:2080: `XML_Parser' undeclared (first use in this function)
> Expat.c:2080: parse error before "parser"
> Expat.xs:1829: `parser' undeclared (first use in this function)
> Expat.xs:1829: warning: initialization makes pointer from integer
> without a cast
> Expat.c: In function `XS_XML__Parser__Expat_DefaultCurrent':
> Expat.c:2194: `XML_Parser' undeclared (first use in this function)
> Expat.c:2194: parse error before "parser"
> Expat.xs:1920: `cbv' undeclared (first use in this function)
> Expat.xs:1920: parse error before ')' token
> Expat.xs:1922: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_RecognizedString':
> Expat.c:2213: `XML_Parser' undeclared (first use in this function)
> Expat.c:2213: parse error before "parser"
> Expat.xs:1930: `XML_DefaultHandler' undeclared (first use in this
> function)
> Expat.xs:1930: parse error before "dflthndl"
> Expat.xs:1931: `cbv' undeclared (first use in this function)
> Expat.xs:1931: parse error before ')' token
> Expat.xs:1934: `dflthndl' undeclared (first use in this function)
> Expat.xs:1942: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetErrorCode':
> Expat.c:2256: `XML_Parser' undeclared (first use in this function)
> Expat.c:2256: parse error before "parser"
> Expat.c:2260: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetCurrentLineNumber':
> Expat.c:2273: `XML_Parser' undeclared (first use in this function)
> Expat.c:2273: parse error before "parser"
> Expat.c:2277: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetCurrentColumnNumber':
> Expat.c:2290: `XML_Parser' undeclared (first use in this function)
> Expat.c:2290: parse error before "parser"
> Expat.c:2294: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_GetCurrentByteIndex':
> Expat.c:2307: `XML_Parser' undeclared (first use in this function)
> Expat.c:2307: parse error before "parser"
> Expat.c:2311: `parser' undeclared (first use in this function)
> Expat.c: In function
> `XS_XML__Parser__Expat_GetSpecifiedAttributeCount':
> Expat.c:2324: `XML_Parser' undeclared (first use in this function)
> Expat.c:2324: parse error before "parser"
> Expat.c:2328: `parser' undeclared (first use in this function)
> Expat.xs: In function `XS_XML__Parser__Expat_ErrorString':
> Expat.xs:1983: warning: initialization makes pointer from integer
> without a cast
> Expat.c: In function `XS_XML__Parser__Expat_OriginalString':
> Expat.c:2484: `XML_Parser' undeclared (first use in this function)
> Expat.c:2484: parse error before "parser"
> Expat.xs:2091: `parser' undeclared (first use in this function)
> Expat.xs:2091: warning: initialization makes pointer from integer
> without a cast
> Expat.c: In function `XS_XML__Parser__Expat_SetStartCdataHandler':
> Expat.c:2512: `XML_Parser' undeclared (first use in this function)
> Expat.c:2512: parse error before "parser"
> Expat.xs:2109: `cbv' undeclared (first use in this function)
> Expat.xs:2109: parse error before ')' token
> Expat.xs:2110: `XML_StartCdataSectionHandler' undeclared (first use in
> this function)
> Expat.xs:2115: `scdhndl' undeclared (first use in this function)
> Expat.xs:2117: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_SetEndCdataHandler':
> Expat.c:2540: `XML_Parser' undeclared (first use in this function)
> Expat.c:2540: parse error before "parser"
> Expat.xs:2127: `cbv' undeclared (first use in this function)
> Expat.xs:2127: parse error before ')' token
> Expat.xs:2128: `XML_EndCdataSectionHandler' undeclared (first use in
> this function)
> Expat.xs:2133: `ecdhndl' undeclared (first use in this function)
> Expat.xs:2135: `parser' undeclared (first use in this function)
> Expat.c: In function `XS_XML__Parser__Expat_UnsetAllHandlers':
> Expat.c:2568: `XML_Parser' undeclared (first use in this function)
> Expat.c:2568: parse error before "parser"
> Expat.xs:2144: `cbv' undeclared (first use in this function)
> Expat.xs:2144: parse error before ')' token
> Expat.xs:2149: `XML_StartNamespaceDeclHandler' undeclared (first use
> in this function)
> Expat.xs:2149: parse error before numeric constant
> Expat.xs:2153: `parser' undeclared (first use in this function)
> Expat.xs:2154: `XML_StartElementHandler' undeclared (first use in this
> function)
> Expat.xs:2154: parse error before numeric constant
> Expat.xs:2158: `XML_UnknownEncodingHandler' undeclared (first use in
> this function)
> Expat.xs:2158: parse error before numeric constant
> Expat.c: In function `XS_XML__Parser__Expat_ElementIndex':
> Expat.c:2600: `XML_Parser' undeclared (first use in this function)
> Expat.c:2600: parse error before "parser"
> Expat.xs:2167: `cbv' undeclared (first use in this function)
> Expat.xs:2167: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_SkipUntil':
> Expat.c:2621: `XML_Parser' undeclared (first use in this function)
> Expat.c:2621: parse error before "parser"
> Expat.xs:2179: `cbv' undeclared (first use in this function)
> Expat.xs:2179: parse error before ')' token
> Expat.c: In function `XS_XML__Parser__Expat_Do_External_Parse':
> Expat.c:2643: `XML_Parser' undeclared (first use in this function)
> Expat.c:2643: parse error before "parser"
> Expat.xs:2194: `cbv' undeclared (first use in this function)
> Expat.xs:2194: parse error before ')' token
> Expat.xs:2197: `parser' undeclared (first use in this function)
> make[1]: *** [Expat.o] Error 1
> make[1]: Leaving directory `/root/.cpan/build/XML-Parser-2.34/Expat'
> make: *** [subdirs] Error 2
>   /usr/bin/make  -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible




Support UseForeignDTD option for loading DTD for documents without DOCTYPE [rt.cpan.org #41440]

Migrated from rt.cpan.org#41440 (status was 'new')

Requestors:

From [email protected] on 2008-12-05 00:20:12
:

It would be handy if XML::Parser supported the Expat UseForeignDTD
option which allows the application to provide a DTD for document that
do not contain a DOCTYPE declaration.  The "UseForeignDTD" option to
new() should use the Expat XML_UseForeignDTD function to set this
option.  For document without a DOCTYPE, the ExternEnt handler will be
called with NULL (presumably translated to undef) systemId and publicId.
 This would allow applications to provide a DTD instead of rewriting the
input.


current_byte method returns overflowed data when parsing very large XML files [rt.cpan.org #50781]

Migrated from rt.cpan.org#50781 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2009-10-23 18:17:28
:

When parsing a very large XML file, somewhere over 2 gigabytes, the value returned from the 
current_byte method of XML::Parser::Expat will return negative values. Attached to this ticket 
is a simple program to parse an XML file and print the current byte value every second. The 
output when this bug shows its head looks like this:

2134412390
2137250345
2140088951
2142891080
2145707930
-2146463171
-2143671866
-2140868846
-2138058386
-2135266961
-2132475521

This is a particular problem because the Wikipedia dump files are extremely large.

From [email protected] on 2009-11-14 21:56:11
:

I've confirmed this is not an issue when using a 64 bit version of perl. 

Memory leak in XML::Parser::Expat (with patch) [rt.cpan.org #7630]

Migrated from rt.cpan.org#7630 (status was 'new')

Requestors:

From on 2004-09-13 16:12:35
:
There is a memory leak in XML::Parser::Expat in sub parse: it attempts to use the argument as a IO::Handle, and while doing this auto-instantiates a variable named after it. It gets even worse if the variable contains quotes which are interpreted as package name separators.

There was an earlier attempt to fix it by adding a if (defined *{$arg}) but this apparently does not work in all versions of perl, since the problem still appears both in 5.005_03 and in 5.6.1.

The following patch fixes the issue in the above versions:

--- XML-Parser-2.34/Expat/Expat.pm.orig Mon Sep 13 18:06:34 2004
+++ XML-Parser-2.34/Expat/Expat.pm      Mon Sep 13 18:06:47 2004
@@ -453,7 +453,7 @@
       require IO::Handle;
       eval {
         no strict 'refs';
-        $ioref = *{$arg}{IO} if defined *{$arg};
+        $ioref = *{$arg}{IO} if (ref $args && defined *{$arg});
       };
       undef $@;
     }

Let me know if you need any further information.

Thanks,

Jacques.

support for XSLoader [rt.cpan.org #13420]

Migrated from rt.cpan.org#13420 (status was 'new')

Requestors:

From on 2005-06-26 02:32:10
:

Please add support for XSLoader.  XSLoader is noticeably faster than DynaLoader.

With DynaLoader:
perl -MXML::Parser -e1  0,24s user 0,03s system 96% cpu 0,280 total
perl -MXML::Parser -e1  0,25s user 0,02s system 96% cpu 0,279 total
perl -MXML::Parser -e1  0,25s user 0,02s system 96% cpu 0,280 total

With XSLoader:
perl -MXML::Parser -e1  0,23s user 0,00s system 97% cpu 0,235 total
perl -MXML::Parser -e1  0,22s user 0,01s system 97% cpu 0,235 total
perl -MXML::Parser -e1  0,22s user 0,01s system 97% cpu 0,235 total

--- XML-Parser-2.34/Expat/Expat.pm-	2003-08-19 00:50:10 +0400
+++ XML-Parser-2.34/Expat/Expat.pm	2005-06-26 06:29:09 +0400
@@ -7,9 +7,6 @@
             $have_File_Spec);
 use Carp;
 
-require DynaLoader;
-
-@ISA = qw(DynaLoader);
 $VERSION = "2.34" ;
 
 $have_File_Spec = $INC{'File/Spec.pm'} || do 'File/Spec.pm';
@@ -26,7 +23,15 @@
 }
   
 
-bootstrap XML::Parser::Expat $VERSION;
+eval {
+    require XSLoader;
+    XSLoader::load('XML::Parser::Expat', $VERSION);
+    1;
+} or do {
+    require DynaLoader;
+    local @ISA = qw(DynaLoader);
+    bootstrap XML::Parser::Expat $VERSION;
+};
 
 %Handler_Setters = (
                     Start => \&SetStartElementHandler,
End of patch

-- 
Alexey Tourbin
ALT Linux Team


make test fails with undefined symbols under Darwin 6.0 [rt.cpan.org #1450]

Migrated from rt.cpan.org#1450 (status was 'new')

Requestors:

From on 2002-08-16 04:44:02
:

I'm having a devil of a time installing XML::Parser 2.3.1 (and expat 1.95.4) with Perl 5.8.0 on Darwin 6.0/Mac OS X. 

Expat seems to make and install fine; no errors or warnings at any rate. XML::Parser warns me in 'perl Makefile.PL' that "Note (probably harmless): No library found for -lexpat" before building the two makefiles. It doesn't sound harmless, but there you go. 

make runs without complaint, and make test fails like this:

[malarkey: XML-Parser-2.31] make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/astress.........dyld: /usr/bin/perl Undefined symbols:
_XML_DefaultCurrent
_XML_ErrorString
_XML_ExternalEntityParserCreate
_XML_GetBase
_XML_GetBuffer
_XML_GetCurrentByteCount
_XML_GetCurrentByteIndex
_XML_GetCurrentColumnNumber
_XML_GetCurrentLineNumber
_XML_GetErrorCode
_XML_GetInputContext
_XML_GetSpecifiedAttributeCount
_XML_Parse
_XML_ParseBuffer
_XML_ParserCreate_MM
_XML_ParserFree
_XML_SetAttlistDeclHandler
_XML_SetBase
_XML_SetCdataSectionHandler
_XML_SetCharacterDataHandler
_XML_SetCommentHandler
_XML_SetDefaultHandler
_XML_SetDefaultHandlerExpand
_XML_SetElementDeclHandler
_XML_SetElementHandler
_XML_SetEndCdataSectionHandler
_XML_SetEndDoctypeDeclHandler
_XML_SetEntityDeclHandler
_XML_SetExternalEntityRefHandler
_XML_SetNamespaceDeclHandler
_XML_SetNotationDeclHandler
_XML_SetParamEntityParsing
_XML_SetProcessingInstructionHandler
_XML_SetStartCdataSectionHandler
_XML_SetStartDoctypeDeclHandler
_XML_SetUnknownEncodingHandler
_XML_SetUnparsedEntityDeclHandler
_XML_SetUserData
t/astress.........dubious                                                    
        Test returned status 0 (wstat 5, 0x5)
t/cdata...........dyld: /usr/bin/perl Undefined symbols:
_XML_DefaultCurrent
_XML_ErrorString
_XML_ExternalEntityParserCreate
_XML_GetBase
_XML_GetBuffer
_XML_GetCurrentByteCount
_XML_GetCurrentByteIndex
_XML_GetCurrentColumnNumber
_XML_GetCurrentLineNumber
_XML_GetErrorCode
_XML_GetInputContext
_XML_GetSpecifiedAttributeCount
_XML_Parse
_XML_ParseBuffer
_XML_ParserCreate_MM
_XML_ParserFree
_XML_SetAttlistDeclHandler
_XML_SetBase
_XML_SetCdataSectionHandler
_XML_SetCharacterDataHandler
_XML_SetCommentHandler
_XML_SetDefaultHandler
_XML_SetDefaultHandlerExpand
_XML_SetElementDeclHandler
_XML_SetElementHandler
_XML_SetEndCdataSectionHandler
_XML_SetEndDoctypeDeclHandler
_XML_SetEntityDeclHandler
_XML_SetExternalEntityRefHandler
_XML_SetNamespaceDeclHandler
_XML_SetNotationDeclHandler
_XML_SetParamEntityParsing
_XML_SetProcessingInstructionHandler
_XML_SetStartCdataSectionHandler
_XML_SetStartDoctypeDeclHandler
_XML_SetUnknownEncodingHandler
_XML_SetUnparsedEntityDeclHandler
_XML_SetUserData
t/cdata...........dubious                                                    
        Test returned status 0 (wstat 5, 0x5)

and so on and so on, throughout the tests. Here's the end:

t/stream..........dubious                                                    
        Test returned status 0 (wstat 5, 0x5)
FAILED--13 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2

Suggestions appreciated.

XML:Parser on Irix ld64: FATAL 12 : Expecting n64 objects: /usr/local/lib/libexpat.so is n32. [rt.cpan.org #13328]

Migrated from rt.cpan.org#13328 (status was 'new')

Requestors:

From on 2005-06-21 01:07:58
:

When attempting to install using XML::Parser the test fails with the following error.  I cannot override the 64 bit requirement even though this is a 32 bin machine.

gcc 
-Wl,-woff,84 -mabi=64 -L/usr/lib64 -L/usr/local/lib -o perl -O3 ./perlmain.o  /export/local/pkg/perl/perl-5.8.7/wrk/modules/XML-Parser-2.34/blib/arch/auto/XML/Parser/Expat/Expat.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/threads/threads.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/threads/shared/shared.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/re/re.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/attrs/attrs.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Unicode/Normalize/Normalize.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Time/HiRes/HiRes.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Sys/Syslog/Syslog.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Sys/Hostname/Hostname.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Storable/Storable.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Socket/Socket.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/SDBM_File/SDBM_File.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/PerlIO/via/via.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/PerlIO/scalar/scalar.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/PerlIO/encoding/encoding.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/POSIX/POSIX.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Opcode/Opcode.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/ODBM_File/ODBM_File.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/NDBM_File/NDBM_File.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/MIME/Base64/Base64.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/List/Util/Util.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/IPC/SysV/SysV.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/IO/IO.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/I18N/Langinfo/Langinfo.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Filter/Util/Call/Call.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/File/Glob/Glob.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Fcntl/Fcntl.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/Unicode/Unicode.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/TW/TW.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/Symbol/Symbol.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/KR/KR.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/JP/JP.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/Encode.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/EBCDIC/EBCDIC.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/CN/CN.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Encode/Byte/Byte.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/DynaLoader/DynaLoader.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Digest/MD5/MD5.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Devel/Peek/Peek.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Devel/PPPort/PPPort.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Devel/DProf/DProf.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Data/Dumper/Dumper.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/DB_File/DB_File.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/Cwd/Cwd.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/ByteLoader/ByteLoader.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/B/C/C.a /export/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/auto/B/B.a /usr/local/pkg/perl/perl-5.8.7/lib/5.8.7/IP30-irix/CORE/libperl.a `cat blib/arch/auto/XML/Parser/extralibs.all` -ldb -lm -lc 
ld64: FATAL   12 : Expecting n64 objects: /usr/local/lib/libexpat.so is n32.
collect2: ld returned 4 exit status
gmake[1]: *** [perl] Error 1
gmake[1]: Leaving directory `/export/local/pkg/perl/prl-5.8.7/wrk/modules/XML-Parser-2.34'
gmake: *** [perl] Error 2


Patch for new feature: event length [rt.cpan.org #51533]

Migrated from rt.cpan.org#51533 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2009-11-14 21:53:55
:

I'm implementing a module that will allow random access to the contents of XML files too big to 
fit into memory. I plan to scan the input file for specific element names and build byte offsets 
for the XML content of each of those elements. Using XML::Parser::Expat->current_byte almost 
allows for this but it does not leave a good way to remove markup from start events. 

The attached patch includes a new accessor method for XML::Parser::Expat called 
current_length. It wraps the XML_GetCurrentByteCount function exactly like 
XML_GetCurrentByteIndex does. The patch also includes changes to the documentation to 
reflect the new method.

Thanks for maintaing this great module. 

Parameter entity references in internal subset break parser? [rt.cpan.org #80567]

Migrated from rt.cpan.org#80567 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2012-11-02 12:32:20
:

Hi,

the first occurrence of a parameter reference in the internal subset
fires the default handler.  After that the default handler is called for
everything instead of the dedicated handlers specified in the
constructor to XML::Parser.

I wouldn't bet my life on this not being an error in my XML instead of a
bug in XML::Parser but all other parsers I have tested (xmllint, Xerces)
do not report any well-formedness errors and process everything as expected.

The following script (also attached) illustrates the problem.  Compare
the behavior of the original version to the one where "%common;" removed.

It actually doesn't matter whether the file "common.txt" exists.  I also
didn't see any difference, when NoExpand was set to false.

Regards,
Guido

use strict; 

use XML::Parser;
use Data::Dumper;

my $xml = <<EOF; 
<!DOCTYPE mytype [ 
<!ENTITY % common SYSTEM "common.txt">
%common; <!-- Remove this line for comparison! -->
<!ATTLIST mytype foo CDATA "bar">
]> 
<mytype foo="bar"/>
EOF

sub default_handler { shift; print "Default: ", Dumper \@_ }
sub catchall_handler { shift; print "Catch all: ", Dumper \@_ }

my $p = XML::Parser->new (NoExpand => 1,
                          Handlers => {
                              Default => \&default_handler,
                              Doctype => \&catchall_handler,
                              DoctypeFin => \&catchall_handler,
                              Attlist => \&catchall_handler,
                          });
$p->parse($xml);


Expat.xs performance, callbacks need to be in void context [rt.cpan.org #18374]

Migrated from rt.cpan.org#18374 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2006-03-26 16:35:06

Hi, the following perlmonks thread

XML::Parser ( or Perl internals ) speed mysticism
http://perlmonks.org/?node_id=539223

has hilighted that callbacks (and methods)
whose return values aren't used,
aren't being called in void context,
which can impact performance significantly.
Patch is attached (test suite passes, speeds things up).

line 192: die $err; [rt.cpan.org #120777]

Migrated from rt.cpan.org#120777 (status was 'new')

Requestors:

From [email protected] on 2017-03-28 14:58:27
:

Code starting at line 184 (Version 2.44):

       my @result = ();
       my $result;
       eval {
         $result = $expat->parse($arg);
       };
       my $err = $@;
       if ($err) {
         $expat->release;
         die $err;
       }

Perl guidelines discourage arbitrarily killing a process from within a 
utility library.  So I am reporting this issue as a bug.

Please excuse the peevishness:  I am frustrated that one of our 
production processes crashed because this code doesn't distinguish 
between an exception for unexpected data and a fatal error.  I expect 
any useful module to perform basic error handling.

Although I understand that I can wrap inside a a perl "try" (ie, eval):

 1. Error handling is not discussed in the documentation
 2. It's impractical to wrap every single method call "just to be safe"
 3. Forcing consumer code to distinguish between exceptions and errors
    violates the principle of encapsulation.

I notice [email protected] is listed as the original author.  (Error 
handling seems like a systemic weakness. :)  Notwithstanding, this code 
falls short of my expectations, which are established by the overall 
quality of other CPAN modules.  Either the code should be upgraded to 
current standards, or it should be designated as obsolete.  Either way, 
I am happy to contribute.  Please let me know.

Thanks for your attention, etc.

-- 

Jim Schueler
Software Developer
The NoCheck Group, LLC
Office: 248-865-3048
Fax: 248-799-1004
Support Line: 734-224-4066
____________
*NOTICE:*
This message (including any attachments) is confidential and may be 
privileged.
If you have received it by mistake please notify the sender by return 
e-mail and delete this message from your system. Any  nauthorized use or 
dissemination of this message in whole or in part is strictly 
prohibited. Please note that e-mails are susceptible to change.  oCheck 
Payment Service, LLC (including its group companies) shall not be liable 
for the improper or incomplete transmission of the information contained 
in this communication nor for any delay in its receipt or damage to your 
system.NoCheck Payment Service, LLC (including its group companies) does 
not guarantee that the integrity of this communication has been 
maintained nor that this communication is free of viruses, interceptions 
or interference.



SEGV in XML-Parser [rt.cpan.org #14943]

Migrated from rt.cpan.org#14943 (status was 'open')

Requestors:

From on 2005-10-05 15:58:44
:

I'm getting failures in "make test" from XML-Encoding, but I believe the actual problem may be in XML-Parser.  Here's the stripped down test case:
####################################################################
use XML::Encoding;

$doc1 =<<'End_of_doc;';
<encmap name="foo" expat="yes">
  <range byte='xa0' uni='x3000' len='200'/>
</encmap>
End_of_doc;

$p = new XML::Encoding();

eval { $p->parse($doc1); };
######################################################################

Running perl (5.6.1) on this program causes a core dump.  It works if
the "eval" is removed from the last line.


From [email protected] on 2009-01-14 16:36:18
:

I'm getting bitten by this bug or a similar one in XML-RSS too:

http://www.cpantesters.org/show/XML-RSS.html#XML-RSS-1.43

Please fix it.

Regards,

-- Shlomi Fish

ERROR when data contains "<" or ">". [rt.cpan.org #115976]

Migrated from rt.cpan.org#115976 (status was 'new')

Requestors:

From [email protected] on 2016-07-08 11:08:35
:

Customer does not have an XML editor that validates data and there was a typo in XML data and I got this error: 

"not well-formed (invalid token) at line 15, column 39, byte 616 at /usr/lib/perl5/XML/Parser.pm line 187.". 

I was using XML::Simple 2.20 but the error actually came from XML::Parser. This was the XML data that had the error: 

<StreetOne>221 <atteson Ct.</StreetOne>

Seems like there is no way for me, the programmer, to check the data because this is an error from the parsing step, before the data in the object is populated. Keep in mind that not every user has an XML editor that validates XML. 

IDEA: If an opening tag "<" symbol appears and there is no tag close ">" on the same line, or there is the incorrect number of closing symbols ">", there's probably something wrong with that line. 

For testing create a very simple XML file with that typo above, like: 

<base>
<StreetOne>221 <atteson Ct.</StreetOne>
</base>


From [email protected] on 2016-07-08 11:10:44
:

Version of XML::Parser I used: 2.41. 

use strict problem in XML::Parser [rt.cpan.org #1868]

Migrated from rt.cpan.org#1868 (status was 'new')

Requestors:

From on 2002-12-11 21:09:26
:

I'm seeing an error in my SOAP logs regarding XML/Parser/Expat.pm at line 456.

I'm using Perl 5.6.1 on a stock RedHat 7.3 box, with XML::Parser 2.31 and SOAP::Lite 0.55.

Here's the error:

Can't use string ("<?xml version="1.0" encoding="UT") as a symbol ref while "strict refs" in use at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/Parser/Expat.pm line 456.

Not doing anything special with the SOAP client -- just defining URI and PROXY and calling my service.

Have you ever seen this error?

Adding no strict refs seems to fix it.

Line: 456
     eval {
         no strict 'refs';
         $ioref = *{$arg}{IO};
     };

Your thoughts?

PaulM


From [email protected] on 2003-04-20 01:39:15
:

[guest - Wed Dec 11 16:09:26 2002]:
> Adding no strict refs seems to fix it.
> 
> Your thoughts?

My thoughts are that strict complained for a reason and this bug should
not have been fixed by disabling strict.

Debian seems to have patched their copy using your suggestion, but that
introduced a severe memory leak that renders the module unusable in
persistent Perl environments.

For details, see http://perlmonks.org/index.pl?node_id=251630
-- 
Juerd

From on 2003-04-20 02:13:53
:

Since submitting this bug, have learned a lot.

Fully agree with you about not disabling strict; I did it because I saw
it done elsewhere in the code. As you indicate, it produces all kinds of
evilness.

The problem, as it turned out, was a die SIG handler in the code that
was using XML::Parser. Dies in XML::Parser were getting handled by this
handler. That seems unfortunate. The solution was to localize the
handler (this was possible because the handler was installed in a
subroutine -- don't know what people would do if their SIG handler is
global).

Anyway, thanks for the response. Anybody reading this: don't disable strict!



XML::Parser::Expat::xml_escape only escapes first occurence of some chars [rt.cpan.org #21497]

Migrated from rt.cpan.org#21497 (status was 'new')

Requestors:

From [email protected] on 2006-09-14 20:30:28
:

Hello,

This applies to XML-Parser-2.34 and earlier.

XML::Parser::Expat::xml_escape only escapes the first quote (be it double or
simple).
Shouldn't "/g;" be added to s/// in Expat.pm?

    elsif ($_ eq '"') {
      $text =~ s/\"/\&quot;/g;
    }
    elsif ($_ eq "'") {
      $text =~ s/\'/\&apos;/g;
    }

Cheers,
V.



Gcc 3.x in Solaris "11" doesn't know ildoff [rt.cpan.org #16328]

Migrated from rt.cpan.org#16328 (status was 'new')

Requestors:

From on 2005-12-06 22:52:59
:

XML-Parser-2.34
perl, v5.8.7 built for i86pc-solaris-thread-multi
SunOS unknown 5.11 snv_27 i86pc i386 i86pc

# gmake
gmake[1]: Entering directory `/tmp/XML-Parser-2.34/Expat'
gcc -c   -D_REENTRANT -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xarch=386 -xspace -xildoff   -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\"  "-I/opt/csw/lib/perl/5.8.7/CORE"   Expat.c
gcc: sprรƒ๏ฟฝร‚ยฅk ildoff kรƒ๏ฟฝร‚ยคnns inte igen
gcc: Expat.c: linker input file unused because linking not done
rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.so
LD_RUN_PATH="/opt/csw/lib" cc  -G -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/lib Expat.o  -o ../blib/arch/auto/XML/Parser/Expat/Expat.so   -lexpat
cc: Expat.o: No such file or directory
gmake[1]: *** [../blib/arch/auto/XML/Parser/Expat/Expat.so] Fel 1
gmake[1]: Leaving directory `/tmp/XML-Parser-2.34/Expat'
gmake: *** [subdirs] Fel 2

I don't think I changed anything/much to get it running until that point.

FYI RHEL5's expat (1.95.8-8.3.el5_4.2), external DTD test failures [rt.cpan.org #54747]

Migrated from rt.cpan.org#54747 (status was 'new')

Requestors:

From [email protected] on 2010-02-18 10:57:27
:

Hello and Thanks for XML::Parser,

This is not a bug report for XML::Parser, but something that might look
like one.

If you are on RHEL5 and have expat-1.95.8-8.3.el5_4.2 as part of
http://rhn.redhat.com/errata/RHSA-2009-1625.html, see the links in the
errata for the CVE's and bugzilla.  XML-Parser-2.34 (and 2.36) tests
will fail with:

t/decl.t
1..30
ok 1

syntax error at line 14, column 3, byte 214:
%ext;

<![%bar;[
==^
<!ATTLIST bar xyz (a|b|c) 'b'>
]]>

error in processing external entity reference at line 21, column 3, byte
3161:
   <!ELEMENT bar ANY>
   <!ATTLIST bar big CDATA 'This is a large string value to test whether
the declaration parser still works when the entity or attribute default
value may be broken into multiple calls to the default handler.
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789
'>
  ]>
==^
<foo/>
 at
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/Parser.pm
line 187

and also

t/parament.t
1..12
ok 1

error in processing external entity reference at line 8, column 0, byte 173:
  <!ENTITY more SYSTEM "t/ext2.ent">
]
>
^
<foo>Happy, happy
<bar>&joy;, &joy;</bar>
 at
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/XML/Parser.pm
line 187

This fails with RH's perl-XML-Parser (perl-XML-Parser-2.34-6.1.2.2.1),
and when building 2.34 or 2.36 from CPAN src distribution.

From what I have read, there was an issue introduced with the expat
changes for the CVE's, this was subsequently fixed in expat, but has not
made it yet into RH's expat.

I think this is the open bug:

  https://bugzilla.redhat.com/show_bug.cgi?id=556415

Also see:

  http://mail.libexpat.org/pipermail/expat-discuss/2009-December/thread.html

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561658

 
http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.164&r2=1.166
 
http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?view=log#rev1.166
 
http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.164&r2=1.166&view=patch

Cheers,
Peter (Stig) Edwards

Cannot install XML::Parser on Win32 (native port) [rt.cpan.org #32400]

Migrated from rt.cpan.org#32400 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2008-01-17 22:03:40
:

Cannot install XML::Parser in my Win32 system, with nmake error during
installation:

Makefile(662) : fatal error U1083: target macro '' expands to nothing

My system: WinXp SP2
My Perl: v5.8.8 built for MSWin32-x86-multi-thread
built with MS VC++ 8.0

My Expat: 2.0.1, built with the same compiler

attached is the file with installation log

I need this module as a prerequisite for SOAP::Lite and any help with
installation would be greatly appreciated. 

Thanks

From [email protected] on 2008-01-17 22:38:12
:

Attepmts to install XML-Parser-2.36_04 from
ttp://intrepid.perlmonk.org/apropos.mingw/mingw+perl/CPAN-module-ports/XML-Parser-updatedbuild/
also failed (seems created with another compiler)

From [email protected] on 2008-01-17 22:44:59
:

I also cant use PPM for installing this module, cause PPM also needs
XML::Parser as prerequisite..

From [email protected] on 2008-01-19 16:37:35
:

Well, problem was solved with copying XML::Parser from another system
with  Active Perl installed. SOAP::Lite installed
Kinda "Great Microsoft Way of Life"

Make Fails on AIX 5.1 with xlc_r Compiler [rt.cpan.org #4352]

Migrated from rt.cpan.org#4352 (status was 'new')

Requestors:

From on 2003-11-10 22:20:32
:

Upon trying to install XML-Parser Version 2.34 with expat Version 1.95.7, I recieve many "Undefined Symbol" errors.

Here are the details:
OS: AIX
OS Level: 5100-04
Compiler: IBM C for AIX 6.0

xlc_r version (lslpp -l vac.C):
  Fileset                      Level  State      Description
-------------------------------------------------------------------
Path: /usr/lib/objrepos
  vac.C                      6.0.0.4  COMMITTED  C for AIX Compiler

Path: /etc/objrepos
  vac.C                      6.0.0.4  COMMITTED  C for AIX Compiler

bind_cmds version (lslpp -l bos.rte.bind_cmds):
  Fileset                      Level  State      Description
-----------------------------------------------------------------
Path: /usr/lib/objrepos
  bos.rte.bind_cmds         5.1.0.53  COMMITTED  Binder and Loader Commands

LIBPATH=/usr/lib:/lib:/usr/vac/lib

Perl -V Output:
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=aix, osvers=5.1.0.0, archname=aix-64all
    uname='aix ganymede 1 5 000c0c6a4c00 '
    config_args='-es -Duse64bitall -Dcc=xlc_r -Dprefix=/usr -Dlibpath=/lib /usr/lib /usr/ccs/lib -Dlocincpth=/opt/freeware/include -Ulocincpth =Uinstallusrbinperl'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=define uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='xlc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -q64 -DUSE_64_BIT_ALL -q64',
    optimize='-O',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN'
    ccversion='6.0.0.0', gccversion='', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-brtl -L/usr/local/lib -q64 -b64'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /usr/vac/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc -lbsd
    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -bE:/usr/lib/perl5/5.8.1/aix-64all/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-b64  -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lc -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
  Built under aix
  Compiled at Oct 21 2003 16:09:54
  @INC:
    /usr/lib/perl5/5.8.1/aix-64all
    /usr/lib/perl5/5.8.1
    /usr/lib/perl5/site_perl/5.8.1/aix-64all
    /usr/lib/perl5/site_perl/5.8.1
    /usr/lib/perl5/site_perl
    .

XML-Parser Make Output:
/tmp/XML-Parser-2.34>perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
/tmp/XML-Parser-2.34>make
cp Parser/Encodings/iso-8859-9.enc blib/lib/XML/Parser/Encodings/iso-8859-9.enc
cp Parser/Encodings/x-sjis-unicode.enc blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc
cp Parser/Encodings/iso-8859-3.enc blib/lib/XML/Parser/Encodings/iso-8859-3.enc
cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc
cp Parser/Style/Tree.pm blib/lib/XML/Parser/Style/Tree.pm
cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl
cp Parser/Encodings/iso-8859-4.enc blib/lib/XML/Parser/Encodings/iso-8859-4.enc
cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc
cp Parser/Encodings/x-euc-jp-unicode.enc blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc
cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc
cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc
cp Parser/Encodings/windows-1252.enc blib/lib/XML/Parser/Encodings/windows-1252.enc
cp Parser/Encodings/iso-8859-8.enc blib/lib/XML/Parser/Encodings/iso-8859-8.enc
cp Parser/Style/Objects.pm blib/lib/XML/Parser/Style/Objects.pm
cp Parser/Encodings/windows-1250.enc blib/lib/XML/Parser/Encodings/windows-1250.enc
cp Parser/Style/Debug.pm blib/lib/XML/Parser/Style/Debug.pm
cp Parser/Encodings/x-sjis-jdk117.enc blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc
cp Parser/Style/Stream.pm blib/lib/XML/Parser/Style/Stream.pm
cp Parser.pm blib/lib/XML/Parser.pm
cp Parser/Encodings/Japanese_Encodings.msg blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg
cp Parser/Style/Subs.pm blib/lib/XML/Parser/Style/Subs.pm
cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/iso-8859-7.enc
cp Parser/Encodings/x-euc-jp-jisx0221.enc blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
cp Parser/Encodings/x-sjis-jisx0221.enc blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
cp Parser/Encodings/iso-8859-2.enc blib/lib/XML/Parser/Encodings/iso-8859-2.enc
cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README
        /usr/bin/perl -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" => "XML::Parser", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
        /usr/bin/perl -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" => "XML::Parser::Expat", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
        /usr/bin/perl /usr/lib/perl5/5.8.1/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.1/ExtUtils/typemap -typemap typemap  Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
        xlc_r -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -q64 -DUSE_64_BIT_ALL -q64 -O    -DVERSION=\"2.34\"  -DXS_VERSION=\"2.34\"  "-I/usr/lib/perl5/5.8.1/aix-64all/CORE"   Expat.c
Running Mkbootstrap for XML::Parser::Expat ()
        chmod 644 Expat.bs
        rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.so
        LD_RUN_PATH="" ld  -b64  -bhalt:4 -bM:SRE -bI:/usr/lib/perl5/5.8.1/aix-64all/CORE/perl.exp -bE:Expat.exp -bnoentry -lc -L/usr/local/lib Expat.o  -o ../blib/arch/auto/XML/Parser/Expat/Expat.so   -lexpat
ld: 0711-317 ERROR: Undefined symbol: .XML_Parse
ld: 0711-317 ERROR: Undefined symbol: .XML_SetNamespaceDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetUnknownEncodingHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndCdataSectionHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetStartCdataSectionHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_GetInputContext
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteCount
ld: 0711-317 ERROR: Undefined symbol: .XML_ErrorString
ld: 0711-317 ERROR: Undefined symbol: .XML_GetSpecifiedAttributeCount
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteIndex
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentColumnNumber
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentLineNumber
ld: 0711-317 ERROR: Undefined symbol: .XML_GetErrorCode
ld: 0711-317 ERROR: Undefined symbol: .XML_SetDefaultHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetDefaultHandlerExpand
ld: 0711-317 ERROR: Undefined symbol: .XML_DefaultCurrent
ld: 0711-317 ERROR: Undefined symbol: .XML_GetBase
ld: 0711-317 ERROR: Undefined symbol: .XML_SetBase
ld: 0711-317 ERROR: Undefined symbol: .XML_SetXmlDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndDoctypeDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetStartDoctypeDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetAttlistDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetEntityDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetExternalEntityRefHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetNotationDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetUnparsedEntityDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetCommentHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetProcessingInstructionHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetCharacterDataHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_ParserFree
ld: 0711-317 ERROR: Undefined symbol: .XML_ParserCreate_MM
ld: 0711-317 ERROR: Undefined symbol: .XML_SetUserData
ld: 0711-317 ERROR: Undefined symbol: .XML_SetParamEntityParsing
ld: 0711-317 ERROR: Undefined symbol: .XML_ExternalEntityParserCreate
ld: 0711-317 ERROR: Undefined symbol: .XML_GetBuffer
ld: 0711-317 ERROR: Undefined symbol: .XML_ParseBuffer
ld: 0711-317 ERROR: Undefined symbol: .XML_SetCdataSectionHandler
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.



From on 2004-01-20 11:41:49
:

[guest - Mon Nov 10 17:20:32 2003]:

I notice perl and XML-Parser are both compiled/being compiled as 64-
bit.

Can I suggest you check whether the expat library has been compiled as 
64-bit or 32-bit?

The AIX linker does not seem to produce an error message when linking 
a 32-bit library into a 64-bit executable - it just ignores the 
library, then complains about missing symbols!

Regards,

    David Claughton.

> Upon trying to install XML-Parser Version 2.34 with expat Version
>    1.95.7, I recieve many "Undefined Symbol" errors.
> 
> Here are the details:
> OS: AIX
> OS Level: 5100-04
> Compiler: IBM C for AIX 6.0
> 
> xlc_r version (lslpp -l vac.C):
>   Fileset                      Level  State      Description
> -------------------------------------------------------------------
> Path: /usr/lib/objrepos
>   vac.C                      6.0.0.4  COMMITTED  C for AIX Compiler
> 
> Path: /etc/objrepos
>   vac.C                      6.0.0.4  COMMITTED  C for AIX Compiler
> 
> bind_cmds version (lslpp -l bos.rte.bind_cmds):
>   Fileset                      Level  State      Description
> -----------------------------------------------------------------
> Path: /usr/lib/objrepos
>   bos.rte.bind_cmds         5.1.0.53  COMMITTED  Binder and Loader
>    Commands
> 
> LIBPATH=/usr/lib:/lib:/usr/vac/lib
> 
> Perl -V Output:
> Summary of my perl5 (revision 5.0 version 8 subversion 1)
>    configuration:
>   Platform:
>     osname=aix, osvers=5.1.0.0, archname=aix-64all
>     uname='aix ganymede 1 5 000c0c6a4c00 '
>     config_args='-es -Duse64bitall -Dcc=xlc_r -Dprefix=/usr
>    -Dlibpath=/lib /usr/lib /usr/ccs/lib
>    -Dlocincpth=/opt/freeware/include -Ulocincpth =Uinstallusrbinperl'
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef use5005threads=undef useithreads=undef
>    usemultiplicity=undef
>     useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>     use64bitint=define use64bitall=define uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='xlc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE
>    -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN
>    -q64 -DUSE_64_BIT_ALL -q64',
>     optimize='-O',
>     cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
>    -DUSE_NATIVE_DLOPEN'
>     ccversion='6.0.0.0', gccversion='', gccosandvers=''
>     intsize=4, longsize=8, ptrsize=8, doublesize=8, 
byteorder=87654321
>     d_longlong=define, longlongsize=8, d_longdbl=define, 
longdblsize=8
>     ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
>    Off_t='off_t', lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='ld', ldflags ='-brtl -L/usr/local/lib -q64 -b64'
>     libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /usr/vac/lib
>     libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc -lbsd
>     perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc -lbsd
>     libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='
>    -bE:/usr/lib/perl5/5.8.1/aix-64all/CORE/perl.exp'
>     cccdlflags=' ', lddlflags='-b64  -bhalt:4 -bM:SRE
>    -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lc
>    -L/usr/local/lib'
> 
> 
> Characteristics of this binary (from libperl):
>   Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
>   Built under aix
>   Compiled at Oct 21 2003 16:09:54
>   @INC:
>     /usr/lib/perl5/5.8.1/aix-64all
>     /usr/lib/perl5/5.8.1
>     /usr/lib/perl5/site_perl/5.8.1/aix-64all
>     /usr/lib/perl5/site_perl/5.8.1
>     /usr/lib/perl5/site_perl
>     .
> 
> XML-Parser Make Output:
> /tmp/XML-Parser-2.34>perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Writing Makefile for XML::Parser::Expat
> Writing Makefile for XML::Parser
> /tmp/XML-Parser-2.34>make
> cp Parser/Encodings/iso-8859-9.enc blib/lib/XML/Parser/Encodings/iso-
>    8859-9.enc
> cp Parser/Encodings/x-sjis-unicode.enc
>    blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc
> cp Parser/Encodings/iso-8859-3.enc blib/lib/XML/Parser/Encodings/iso-
>    8859-3.enc
> cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-
>    8859-5.enc
> cp Parser/Style/Tree.pm blib/lib/XML/Parser/Style/Tree.pm
> cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl
> cp Parser/Encodings/iso-8859-4.enc blib/lib/XML/Parser/Encodings/iso-
>    8859-4.enc
> cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc
> cp Parser/Encodings/x-euc-jp-unicode.enc
>    blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc
> cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x-
>    sjis-cp932.enc
> cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-
>    kr.enc
> cp Parser/Encodings/windows-1252.enc
>    blib/lib/XML/Parser/Encodings/windows-1252.enc
> cp Parser/Encodings/iso-8859-8.enc blib/lib/XML/Parser/Encodings/iso-
>    8859-8.enc
> cp Parser/Style/Objects.pm blib/lib/XML/Parser/Style/Objects.pm
> cp Parser/Encodings/windows-1250.enc
>    blib/lib/XML/Parser/Encodings/windows-1250.enc
> cp Parser/Style/Debug.pm blib/lib/XML/Parser/Style/Debug.pm
> cp Parser/Encodings/x-sjis-jdk117.enc 
blib/lib/XML/Parser/Encodings/x-
>    sjis-jdk117.enc
> cp Parser/Style/Stream.pm blib/lib/XML/Parser/Style/Stream.pm
> cp Parser.pm blib/lib/XML/Parser.pm
> cp Parser/Encodings/Japanese_Encodings.msg
>    blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg
> cp Parser/Style/Subs.pm blib/lib/XML/Parser/Style/Subs.pm
> cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/iso-
>    8859-7.enc
> cp Parser/Encodings/x-euc-jp-jisx0221.enc
>    blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
> cp Parser/Encodings/x-sjis-jisx0221.enc
>    blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
> cp Parser/Encodings/iso-8859-2.enc blib/lib/XML/Parser/Encodings/iso-
>    8859-2.enc
> cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README
>         /usr/bin/perl -e 'use ExtUtils::Mksymlists;  Mksymlists
("NAME"
>    => "XML::Parser", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS"
>    => []);'
> cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
>         /usr/bin/perl -e 'use ExtUtils::Mksymlists;  Mksymlists
("NAME"
>    => "XML::Parser::Expat", "DL_FUNCS" => {  }, "FUNCLIST" => [],
>    "DL_VARS" => []);'
>         /usr/bin/perl /usr/lib/perl5/5.8.1/ExtUtils/xsubpp
>    -noprototypes -typemap /usr/lib/perl5/5.8.1/ExtUtils/typemap
>    -typemap typemap  Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
>         xlc_r -c    -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
>    -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -q64
>    -DUSE_64_BIT_ALL -q64 -O    -DVERSION=\"2.34\"
>    -DXS_VERSION=\"2.34\"  "-I/usr/lib/perl5/5.8.1/aix-64all/CORE"
>    Expat.c
> Running Mkbootstrap for XML::Parser::Expat ()
>         chmod 644 Expat.bs
>         rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.so
>         LD_RUN_PATH="" ld  -b64  -bhalt:4 -bM:SRE
>    -bI:/usr/lib/perl5/5.8.1/aix-64all/CORE/perl.exp -bE:Expat.exp
>    -bnoentry -lc -L/usr/local/lib Expat.o  -o
>    ../blib/arch/auto/XML/Parser/Expat/Expat.so   -lexpat
> ld: 0711-317 ERROR: Undefined symbol: .XML_Parse
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetNamespaceDeclHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetUnknownEncodingHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndCdataSectionHandler
> ld: 0711-317 ERROR: Undefined 
symbol: .XML_SetStartCdataSectionHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetInputContext
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteCount
> ld: 0711-317 ERROR: Undefined symbol: .XML_ErrorString
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetSpecifiedAttributeCount
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteIndex
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentColumnNumber
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentLineNumber
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetErrorCode
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetDefaultHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetDefaultHandlerExpand
> ld: 0711-317 ERROR: Undefined symbol: .XML_DefaultCurrent
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetBase
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetBase
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetXmlDeclHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndDoctypeDeclHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetStartDoctypeDeclHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetAttlistDeclHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementDeclHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetEntityDeclHandler
> ld: 0711-317 ERROR: Undefined 
symbol: .XML_SetExternalEntityRefHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetNotationDeclHandler
> ld: 0711-317 ERROR: Undefined symbol:
>    .XML_SetUnparsedEntityDeclHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetCommentHandler
> ld: 0711-317 ERROR: Undefined symbol:
>    .XML_SetProcessingInstructionHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetCharacterDataHandler
> ld: 0711-317 ERROR: Undefined symbol: .XML_ParserFree
> ld: 0711-317 ERROR: Undefined symbol: .XML_ParserCreate_MM
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetUserData
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetParamEntityParsing
> ld: 0711-317 ERROR: Undefined symbol: .XML_ExternalEntityParserCreate
> ld: 0711-317 ERROR: Undefined symbol: .XML_GetBuffer
> ld: 0711-317 ERROR: Undefined symbol: .XML_ParseBuffer
> ld: 0711-317 ERROR: Undefined symbol: .XML_SetCdataSectionHandler
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
>    information.
> make: 1254-004 The error code from the last command is 8.
> 
> 
> Stop.
> make: 1254-004 The error code from the last command is 2.
> 
> 
> Stop.
> 




Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.