Hello, I've read following for Expat: 5 June 2007, Expat 2.0.1 released. Release 2.0.1 of the Expat XML parser is a bugfix release resolving both code and build related issues. Changes include: Fixed: The character data handler's calling of XML_StopParser() was not handled properly; if the parser was stopped and the handler set to NULL, the parser would segfault. Fixed: Expat failed on EBCDIC systems as it assumed some character constants to be ASCII encoded.
I know that a company in austria is running older versions (Parser 2.31 and expat 1.95x with Perl 5.6.1) of this modules. I'm in contact with them but they have also no idea why the new versions don't work ? Freundliche Grüße Helmut PFOSER Systemprogrammierung HOST GRZ IT Center Linz GmbH A-4021 Linz, Goethestraße 80 Tel: +43 732 6929 1798 Fax: +43 732 6929 1220 mailto:[email protected] http://www.grz.at GRZ IT Center Linz GmbH, A-4021 Linz, Goethestraße 80, FN 75422s, Landesgericht Linz Karl Williamson <[email protected]> 13.01.2012 07:17 An Helmut PFOSER <[email protected]> Kopie [email protected] Thema Re: XML::Parser, Expat Problems on z/OS 1.11 On 01/12/2012 07:52 AM, Helmut PFOSER wrote: > > Hello list, > I've installed the PERL-Modules XML::Parser 2.41 and Expat 2.0.1 on my > z/OS 1.11 USS. PERL Base version installed with z/OS 1.11 is 5.8.7 > > Running "gmake test" I've got a lot of errors, I will attach the output > at the end of the mail. > > I've spend a lot of time searching for the problem, most of the findings > are codepage issues (EBCDIC-platform?). But up to now I was not able to > solve my problem. > > Maybe a member in the list has implemented these modules on the z/OS > platform and could give me some hints? Any help would be appreciated. > > Regards, Helmut I've heard that many CPAN modules assume an ASCII platform. Whether that is the case with these, I do not know. > > LRZSPFO § MVSH18.RBGOOE.AT:/shr/lppgrz/ptdtools/perl/XML-Parser-2.41 > #>gmake test > gmakeÝ1¨: Entering directory > `/shr/lppgrz/ptdtools/perl/XML-Parser-2.41/Expat' > gmakeÝ1¨: Leaving directory > `/shr/lppgrz/ptdtools/perl/XML-Parser-2.41/Expat' > PERL_DL_NONLAZY=1 /usr/lpp/perl/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/astress.........FAILED tests 4-24, 26 > Failed 22/27 tests, 18.52% okay > t/cdata........... > not well-formed (invalid token) at line 1, column 1, byte 1: > <foo> hello <ÜÝCDATAÝ<<< & > '' << &&&>&&&&;<¨¨> there</foo> > ^ > at /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/cdata...........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED test 2 > Failed 1/2 tests, 50.00% okay > t/decl............ > not well-formed (invalid token) at line 1, column 2, byte 2: > <?xml version="1.0" encoding="ISO-8859-1" ?> > =^ > <ÜDOCTYPE foo SYSTEM 't/foo.dtd' > Ý > at /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/decl............dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-30 > Failed 29/30 tests, 3.33% okay > t/defaulted....... > not well-formed (invalid token) at line 1, column 5, byte 9 at > /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/defaulted.......dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-4 > Failed 3/4 tests, 25.00% okay > t/encoding........ > not well-formed (invalid token) at line 1, column 2, byte 2 at > /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/encoding........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-6 > Failed 5/6 tests, 16.67% okay > t/external_ent.... > not well-formed (invalid token) at line 1, column 5, byte 9 at > /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/external_ent....dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-5 > Failed 4/5 tests, 20.00% okay > t/file............ > not well-formed (invalid token) at line 1, column 2, byte 2: > <?xml version='1.0' encoding='ISO-8859-1' standalone='no'?> > =^ > <ÜDOCTYPE spec SYSTEM "spec.dtd" Ý > > at /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/file............dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED test 2 > Failed 1/2 tests, 50.00% okay > t/finish.......... > not well-formed (invalid token) at line 1, column 2, byte 2: > <?xml version='1.0' encoding='ISO-8859-1' standalone='no'?> > =^ > <ÜDOCTYPE spec SYSTEM "spec.dtd" Ý > > at /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/finish..........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-3 > Failed 2/3 tests, 33.33% okay > t/namespaces...... > not well-formed (invalid token) at line 1, column 1, byte 1: > <foo xmlns="urn:blazing-saddles" > ^ > xmlns:bar="urn:young-frankenstein" > bar:alpha="17"> > at /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/namespaces......dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-16 > Failed 15/16 tests, 6.25% okay > t/parament........ > not well-formed (invalid token) at line 1, column 2, byte 2: > <?xml version="1.0" encoding="ISO-8859-1"?> > =^ > <ÜDOCTYPE foo SYSTEM "t/foo.dtd"> > <foo>Happy, happy > at /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/parament........NOK 2Confused test output: test 3 answered after test 6 > t/parament........NOK 4Confused test output: test 4 answered after test 7 > Confused test output: test 5 answered after test 8 > t/parament........NOK 6Confused test output: test 6 answered after test 9 > t/parament........NOK 7Confused test output: test 7 answered after test 10 > t/parament........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-6, 8, 10-12 > Failed 9/12 tests, 25.00% okay > t/partial......... > not well-formed (invalid token) at line 1, column 2, byte 2 at > t/partial.t line 28 > t/partial.........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-3 > Failed 2/3 tests, 33.33% okay > t/skip............ > not well-formed (invalid token) at line 1, column 2, byte 2 at > /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/skip............dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-4 > Failed 3/4 tests, 25.00% okay > t/stream.......... > not well-formed (invalid token) at line 1, column 2, byte 2 at > /shr/lppgrz/ptdtools/perl/XML-Parser-2.41/blib/lib/XML/Parser.pm line > 187 > t/stream..........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-3 > Failed 2/3 tests, 33.33% okay > t/styles..........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 2-13 > Failed 12/13 tests, 7.69% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ----------------------------------------------------------------------------------------------------------------------------------- > > t/astress.t 27 22 81.48% 4-24 26 > t/cdata.t 255 65280 2 2 100.00% 2 > t/decl.t 255 65280 30 58 193.33% 2-30 > t/defaulted.t 255 65280 4 6 150.00% 2-4 > t/encoding.t 255 65280 6 10 166.67% 2-6 > t/external_ent.t 255 65280 5 8 160.00% 2-5 > t/file.t 255 65280 2 2 100.00% 2 > t/finish.t 255 65280 3 4 133.33% 2-3 > t/namespaces.t 255 65280 16 30 187.50% 2-16 > t/parament.t 255 65280 12 10 83.33% 2-6 8 10-12 > t/partial.t 255 65280 3 4 133.33% 2-3 > t/skip.t 255 65280 4 6 150.00% 2-4 > t/stream.t 255 65280 3 4 133.33% 2-3 > t/styles.t 255 65280 13 24 184.62% 2-13 > Failed 14/14 test scripts, 0.00% okay. 110/130 subtests failed, 15.38% > okay. > gmake: *** Ýtest_dynamic¨ Error 255 > LRZSPFO § MVSH18.RBGOOE.AT:/shr/lppgrz/ptdtools/perl/XML-Parser-2.41 #> > > > > Freundliche Grüße * > Helmut PFOSER * > > Systemprogrammierung HOST > GRZ IT Center Linz GmbH > A-4021 Linz, Goethestraße 80 > Tel: +43 732 6929 1798 > Fax: +43 732 6929 1220 _ > __mailto:[email protected]__ > __http://www.grz.at_ <http://www.grz.at/> > GRZ IT Center Linz GmbH, A-4021 Linz, Goethestraße 80, FN 75422s, > Landesgericht Linz > Der Austausch von Nachrichten mit o.a. Absender via e-mail dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen dürfen über dieses Medium nicht ausgetauscht werden. Correspondence with a.m. sender via e-mail is only for information purposes. This medium is not to be used for the exchange of legally-binding communications.
