.gear/rules | 2 + .../tags/ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa | 12 ++ .gear/tags/list | 1 + Expat/Expat.pm | 14 +- Expat/Expat.xs | 2 +- Parser/Encodings/iso-8859-10.enc | Bin 0 -> 1072 bytes Parser/Encodings/iso-8859-10.xml | 67 ++++++++++ Parser/Encodings/iso-8859-11.enc | Bin 0 -> 1072 bytes Parser/Encodings/iso-8859-11.xml | 5 + Parser/Encodings/iso-8859-13.enc | Bin 0 -> 1072 bytes Parser/Encodings/iso-8859-13.xml | 78 +++++++++++ Parser/Encodings/iso-8859-14.enc | Bin 0 -> 1072 bytes Parser/Encodings/iso-8859-14.xml | 40 ++++++ Parser/Encodings/iso-8859-15.xml | 16 +++ Parser/Encodings/iso-8859-16.enc | Bin 0 -> 1072 bytes Parser/Encodings/iso-8859-16.xml | 60 +++++++++ Parser/Encodings/iso-8859-2.enc | Bin 1072 -> 1072 bytes Parser/Encodings/iso-8859-2.xml | 87 ++++++++++++ Parser/Encodings/iso-8859-3.enc | Bin 1072 -> 1072 bytes Parser/Encodings/iso-8859-3.xml | 50 +++++++ Parser/Encodings/iso-8859-4.enc | Bin 1072 -> 1072 bytes Parser/Encodings/iso-8859-4.xml | 72 ++++++++++ Parser/Encodings/iso-8859-5.enc | Bin 1072 -> 1072 bytes Parser/Encodings/iso-8859-5.xml | 10 ++ Parser/Encodings/iso-8859-6.enc | Bin 0 -> 1072 bytes Parser/Encodings/iso-8859-6.xml | 10 ++ Parser/Encodings/iso-8859-7.xml | 20 +++ Parser/Encodings/iso-8859-8.enc | Bin 1072 -> 1072 bytes Parser/Encodings/iso-8859-8.xml | 11 ++ Parser/Encodings/iso-8859-9.enc | Bin 1072 -> 1072 bytes Parser/Encodings/iso-8859-9.xml | 13 ++ Parser/Encodings/koi8-r.xml | 75 +++++++++++ Parser/Encodings/update-encodings | 25 ++++ Parser/Encodings/windows-1250.enc | Bin 1072 -> 1072 bytes Parser/Encodings/windows-1250.xml | 100 ++++++++++++++ Parser/Encodings/windows-1251.xml | 54 ++++++++ Parser/Encodings/windows-1252.xml | 26 ++++ Parser/Encodings/windows-1253.enc | Bin 0 -> 1072 bytes Parser/Encodings/windows-1253.xml | 30 +++++ Parser/Encodings/windows-1254.enc | Bin 0 -> 1072 bytes Parser/Encodings/windows-1254.xml | 34 +++++ Parser/Encodings/windows-1255.xml | 30 +++++ Parser/Encodings/windows-1256.enc | Bin 0 -> 1072 bytes Parser/Encodings/windows-1256.xml | 59 +++++++++ Parser/Encodings/windows-1257.enc | Bin 0 -> 1072 bytes Parser/Encodings/windows-1257.xml | 92 +++++++++++++ Parser/Encodings/windows-1258.enc | Bin 0 -> 1072 bytes Parser/Encodings/windows-1258.xml | 48 +++++++ perl-XML-Parser.spec | 146 +++++++++++++++++++++ 49 files changed, 1276 insertions(+), 13 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..4cdcf32 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. name=XML-Parser-@version@ +diff: @version@:. . name=perl-XML-Parser-@version@-@release@.patch diff --git a/.gear/tags/ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa b/.gear/tags/ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa new file mode 100644 index 0000000..a9e1001 --- /dev/null +++ b/.gear/tags/ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa @@ -0,0 +1,12 @@ +object b4b87dbd11381e3847290206f2b75643988ed820 +type commit +tag 2.46 +tagger Igor Vlasenko 1607957423 +0200 + +2.46 +-----BEGIN PGP SIGNATURE----- + +iEYEABECAAYFAl/Xe68ACgkQDX9MpIRaJ2MrlwCgpv8aJENd4VUK8RxznVRlS3XH +cKcAn0YqNT7v1VH6F/t9P5TgZaqmGn+O +=CC5v +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..58184a2 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +ccd165306b635dbcf478dc9a769f1b2d0d9dc6fa 2.46 diff --git a/Expat/Expat.pm b/Expat/Expat.pm index cb35445..f2925e5 100644 --- a/Expat/Expat.pm +++ b/Expat/Expat.pm @@ -9,23 +9,17 @@ use Carp; our $VERSION = '2.46'; -our ( %Encoding_Table, @Encoding_Path, $have_File_Spec ); +our ( %Encoding_Table, @Encoding_Path ); use File::Spec (); %Encoding_Table = (); -if ($have_File_Spec) { @Encoding_Path = ( grep( -d $_, map( File::Spec->catdir( $_, qw(XML Parser Encodings) ), @INC ) ), File::Spec->curdir ); -} -else { - @Encoding_Path = ( grep( -d $_, map( $_ . '/XML/Parser/Encodings', @INC ) ), '.' ); -} - XSLoader::load( 'XML::Parser::Expat', $VERSION ); our %Handler_Setters = ( @@ -77,11 +71,7 @@ sub load_encoding { $file .= '.enc' unless $file =~ /\.enc$/; unless ( $file =~ m!^/! ) { foreach (@Encoding_Path) { - my $tmp = ( - $have_File_Spec - ? File::Spec->catfile( $_, $file ) - : "$_/$file" - ); + my $tmp = File::Spec->catfile( $_, $file); if ( -e $tmp ) { $file = $tmp; last; diff --git a/Expat/Expat.xs b/Expat/Expat.xs index dbad380..f04a0cf 100644 --- a/Expat/Expat.xs +++ b/Expat/Expat.xs @@ -499,7 +499,7 @@ startElement(void *userData, const char *name, const char **atts) } } - if (cbv->st_serial_stackptr >= cbv->st_serial_stacksize) { + if (cbv->st_serial_stackptr + 1 >= cbv->st_serial_stacksize) { unsigned int newsize = cbv->st_serial_stacksize + 512; Renew(cbv->st_serial_stack, newsize, unsigned int); diff --git a/Parser/Encodings/iso-8859-10.enc b/Parser/Encodings/iso-8859-10.enc new file mode 100644 index 0000000..43250ba --- /dev/null +++ b/Parser/Encodings/iso-8859-10.enc @@ -0,0 +1,2 @@ +ISO-8859-10 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"*(6;`f}jJ#+)7<ag~ kK. ELhr/ FMis8 \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-10.xml b/Parser/Encodings/iso-8859-10.xml new file mode 100644 index 0000000..c7badf2 --- /dev/null +++ b/Parser/Encodings/iso-8859-10.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-11.enc b/Parser/Encodings/iso-8859-11.enc new file mode 100644 index 0000000..8b87ca6 --- /dev/null +++ b/Parser/Encodings/iso-8859-11.enc @@ -0,0 +1,3 @@ +ISO-8859-11 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  +    !"#$%&'()*+,-./0123456789:?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[ \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-11.xml b/Parser/Encodings/iso-8859-11.xml new file mode 100644 index 0000000..2774eb2 --- /dev/null +++ b/Parser/Encodings/iso-8859-11.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/Parser/Encodings/iso-8859-13.enc b/Parser/Encodings/iso-8859-13.enc new file mode 100644 index 0000000..0b67c5f --- /dev/null +++ b/Parser/Encodings/iso-8859-13.enc @@ -0,0 +1,2 @@ +ISO-8859-13 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  V W. y"6*;`CELrAZj{}/ z#7+<aDFMsB[k|~  \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-13.xml b/Parser/Encodings/iso-8859-13.xml new file mode 100644 index 0000000..e271c01 --- /dev/null +++ b/Parser/Encodings/iso-8859-13.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-14.enc b/Parser/Encodings/iso-8859-14.enc new file mode 100644 index 0000000..b0c1171 --- /dev/null +++ b/Parser/Encodings/iso-8859-14.enc @@ -0,0 +1,4 @@ +ISO-8859-14 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ +  + x !@AVW`atjvukw \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-14.xml b/Parser/Encodings/iso-8859-14.xml new file mode 100644 index 0000000..80e2ce2 --- /dev/null +++ b/Parser/Encodings/iso-8859-14.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-15.xml b/Parser/Encodings/iso-8859-15.xml new file mode 100644 index 0000000..da7108c --- /dev/null +++ b/Parser/Encodings/iso-8859-15.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-16.enc b/Parser/Encodings/iso-8859-16.enc new file mode 100644 index 0000000..61b2510 --- /dev/null +++ b/Parser/Encodings/iso-8859-16.enc @@ -0,0 +1,2 @@ +ISO-8859-16 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~A `ayz{ B} ~ RSx|CPZpDQ[q \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-16.xml b/Parser/Encodings/iso-8859-16.xml new file mode 100644 index 0000000..590d632 --- /dev/null +++ b/Parser/Encodings/iso-8859-16.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-2.enc b/Parser/Encodings/iso-8859-2.enc index d320d7f..df1b52a 100644 --- a/Parser/Encodings/iso-8859-2.enc +++ b/Parser/Encodings/iso-8859-2.enc @@ -1,2 +1,2 @@ ISO-8859-2 -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~A=Z`^dy}{B>[a_ez~|T9 CGPXnpbU: DHQYoqc \ No newline at end of file +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~A=Z`^dy}{B>[a_ez~|T9 CGPXnpbU: DHQYoqc \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-2.xml b/Parser/Encodings/iso-8859-2.xml new file mode 100644 index 0000000..cc885db --- /dev/null +++ b/Parser/Encodings/iso-8859-2.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-3.enc b/Parser/Encodings/iso-8859-3.enc index ba48378..0967f96 100644 --- a/Parser/Encodings/iso-8859-3.enc +++ b/Parser/Encodings/iso-8859-3.enc @@ -1,3 +1,3 @@ ISO-8859-3 -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&$0^4{'%1_5| +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~&$0^4{'%1_5|  l\  !m] \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-3.xml b/Parser/Encodings/iso-8859-3.xml new file mode 100644 index 0000000..6055c6a --- /dev/null +++ b/Parser/Encodings/iso-8859-3.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-4.enc b/Parser/Encodings/iso-8859-4.enc index 0294a24..517ac63 100644 --- a/Parser/Encodings/iso-8859-4.enc +++ b/Parser/Encodings/iso-8859-4.enc @@ -1,2 +1,2 @@ ISO-8859-4 -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~8V(;`"f}W)<a#gJ~K. *EL6rhj/ +FM7sik \ No newline at end of file +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~8V(;`"f}W)<a#gJ~K. *EL6rhj/ +FM7sik \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-4.xml b/Parser/Encodings/iso-8859-4.xml new file mode 100644 index 0000000..1aca475 --- /dev/null +++ b/Parser/Encodings/iso-8859-4.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-5.enc b/Parser/Encodings/iso-8859-5.enc index 6dbd169..6fde928 100644 --- a/Parser/Encodings/iso-8859-5.enc +++ b/Parser/Encodings/iso-8859-5.enc @@ -1,3 +1,3 @@ ISO-8859-5 -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~  +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~     !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO!QRSTUVWXYZ[\^_ \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-5.xml b/Parser/Encodings/iso-8859-5.xml new file mode 100644 index 0000000..be1d095 --- /dev/null +++ b/Parser/Encodings/iso-8859-5.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-6.enc b/Parser/Encodings/iso-8859-6.enc new file mode 100644 index 0000000..b0c67fd --- /dev/null +++ b/Parser/Encodings/iso-8859-6.enc @@ -0,0 +1,2 @@ +ISO-8859-6 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./0123456789:@ABCDEFGHIJKLMNOPQR \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-6.xml b/Parser/Encodings/iso-8859-6.xml new file mode 100644 index 0000000..9f6a74d --- /dev/null +++ b/Parser/Encodings/iso-8859-6.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-7.xml b/Parser/Encodings/iso-8859-7.xml new file mode 100644 index 0000000..c49cb58 --- /dev/null +++ b/Parser/Encodings/iso-8859-7.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-8.enc b/Parser/Encodings/iso-8859-8.enc index f211bd5..8f6e20e 100644 --- a/Parser/Encodings/iso-8859-8.enc +++ b/Parser/Encodings/iso-8859-8.enc @@ -1,2 +1,2 @@ ISO-8859-8 -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ >  \ No newline at end of file +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~    \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-8.xml b/Parser/Encodings/iso-8859-8.xml new file mode 100644 index 0000000..3b70e1c --- /dev/null +++ b/Parser/Encodings/iso-8859-8.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Parser/Encodings/iso-8859-9.enc b/Parser/Encodings/iso-8859-9.enc index fdc574b..2c4f12a 100644 --- a/Parser/Encodings/iso-8859-9.enc +++ b/Parser/Encodings/iso-8859-9.enc @@ -1,2 +1,2 @@ ISO-8859-9 -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~0^1_ \ No newline at end of file +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~0^1_ \ No newline at end of file diff --git a/Parser/Encodings/iso-8859-9.xml b/Parser/Encodings/iso-8859-9.xml new file mode 100644 index 0000000..a9654da --- /dev/null +++ b/Parser/Encodings/iso-8859-9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/Parser/Encodings/koi8-r.xml b/Parser/Encodings/koi8-r.xml new file mode 100644 index 0000000..cf8a2af --- /dev/null +++ b/Parser/Encodings/koi8-r.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/update-encodings b/Parser/Encodings/update-encodings new file mode 100755 index 0000000..cd4948b --- /dev/null +++ b/Parser/Encodings/update-encodings @@ -0,0 +1,25 @@ +#!/bin/sh -efux + +baseURL=http://unicode.org/Public/MAPPINGS + +UpdateEncoding() +{ + local NAME=$1 f=$2 name= + name=$(perl -e 'print lc shift' "$NAME") + GET $baseURL/$f >${f##*/} + make_encmap $NAME ${f##*/} >$name.xml + sed -i "1s/>/ expat='yes'>/" $name.xml + compile_encoding $name.xml +} + +# iso-8859-1 is expat built-in encoding +# iso-8859-12 is not available at ftp.unicode.org +for i in `seq 2 16 |grep -v 12`; do + UpdateEncoding ISO-8859-$i ISO8859/8859-$i.TXT +done + +for i in `seq 1250 1258`; do + UpdateEncoding windows-$i VENDORS/MICSFT/WINDOWS/CP$i.TXT +done + +UpdateEncoding koi8-r VENDORS/MISC/KOI8-R.TXT diff --git a/Parser/Encodings/windows-1250.enc b/Parser/Encodings/windows-1250.enc index d4a64b5..df4f0ea 100644 --- a/Parser/Encodings/windows-1250.enc +++ b/Parser/Encodings/windows-1250.enc @@ -1,2 +1,2 @@ windows-1250 -  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~   & ! 0` 9Zd}y     "  !"a :[e~zA^{B_=>|T9 CGPXnpbU: DHQYoqc \ No newline at end of file +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~   & ! 0` 9Zd}y     "  !"a :[e~zA^{B_=>|T9 CGPXnpbU: DHQYoqc \ No newline at end of file diff --git a/Parser/Encodings/windows-1250.xml b/Parser/Encodings/windows-1250.xml new file mode 100644 index 0000000..0394b53 --- /dev/null +++ b/Parser/Encodings/windows-1250.xml @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/windows-1251.xml b/Parser/Encodings/windows-1251.xml new file mode 100644 index 0000000..e3ff4f1 --- /dev/null +++ b/Parser/Encodings/windows-1251.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/windows-1252.xml b/Parser/Encodings/windows-1252.xml new file mode 100644 index 0000000..7a7f73c --- /dev/null +++ b/Parser/Encodings/windows-1252.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/windows-1253.enc b/Parser/Encodings/windows-1253.enc new file mode 100644 index 0000000..0d003ea --- /dev/null +++ b/Parser/Encodings/windows-1253.enc @@ -0,0 +1,2 @@ +windows-1253 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~   & ! 0 9     "  !" :  \ No newline at end of file diff --git a/Parser/Encodings/windows-1253.xml b/Parser/Encodings/windows-1253.xml new file mode 100644 index 0000000..d0b90dd --- /dev/null +++ b/Parser/Encodings/windows-1253.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/windows-1254.enc b/Parser/Encodings/windows-1254.enc new file mode 100644 index 0000000..6ed61af --- /dev/null +++ b/Parser/Encodings/windows-1254.enc @@ -0,0 +1,2 @@ +windows-1254 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~   & ! 0` 9R     "  !"a :Sx0^1_ \ No newline at end of file diff --git a/Parser/Encodings/windows-1254.xml b/Parser/Encodings/windows-1254.xml new file mode 100644 index 0000000..f6dd5d9 --- /dev/null +++ b/Parser/Encodings/windows-1254.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/windows-1255.xml b/Parser/Encodings/windows-1255.xml new file mode 100644 index 0000000..90e3930 --- /dev/null +++ b/Parser/Encodings/windows-1255.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/windows-1256.enc b/Parser/Encodings/windows-1256.enc new file mode 100644 index 0000000..9b4d57c --- /dev/null +++ b/Parser/Encodings/windows-1256.enc @@ -0,0 +1,2 @@ +windows-1256 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ~   & ! 0y 9R     "  !" :S  !"#$%&'()*+,-./0123456789:@ABCDEFGHIJKLMNOPQR   \ No newline at end of file diff --git a/Parser/Encodings/windows-1256.xml b/Parser/Encodings/windows-1256.xml new file mode 100644 index 0000000..7e73022 --- /dev/null +++ b/Parser/Encodings/windows-1256.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/windows-1257.enc b/Parser/Encodings/windows-1257.enc new file mode 100644 index 0000000..9bff023 --- /dev/null +++ b/Parser/Encodings/windows-1257.enc @@ -0,0 +1,2 @@ +windows-1257 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~   & ! 0 9     "  !" :VW. y"6*;`CELrAZj{}/ z#7+<aDFMsB[k|~ \ No newline at end of file diff --git a/Parser/Encodings/windows-1257.xml b/Parser/Encodings/windows-1257.xml new file mode 100644 index 0000000..e84d871 --- /dev/null +++ b/Parser/Encodings/windows-1257.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parser/Encodings/windows-1258.enc b/Parser/Encodings/windows-1258.enc new file mode 100644 index 0000000..c8335fe --- /dev/null +++ b/Parser/Encodings/windows-1258.enc @@ -0,0 +1,2 @@ +windows-1258 +  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~   & ! 0 9R     "  !" :Sx # \ No newline at end of file diff --git a/Parser/Encodings/windows-1258.xml b/Parser/Encodings/windows-1258.xml new file mode 100644 index 0000000..a6d932a --- /dev/null +++ b/Parser/Encodings/windows-1258.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/perl-XML-Parser.spec b/perl-XML-Parser.spec new file mode 100644 index 0000000..11edfd8 --- /dev/null +++ b/perl-XML-Parser.spec @@ -0,0 +1,146 @@ +%define _unpackaged_files_terminate_build 1 +%define dist XML-Parser +Name: perl-%dist +Version: 2.46 +Release: alt1 + +Summary: Perl module for parsing XML files +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +# Automatically added by buildreq on Fri Oct 07 2011 +BuildRequires: libexpat-devel perl-devel perl-libwww + +%description +XML::Parser is a Perl module for parsing XML documents. +It is built on top of XML::Parser::Expat, which is +a lower level interface to James Clark's expat library. + +%prep +%setup -q -n %dist-%version +%patch -p1 +cp -av samples examples +rm examples/REC-xml-19980210.xml + +%build +%perl_vendor_build + +# only *.enc files should be installed +find blib/lib/XML/Parser/Encodings -type f -not -name '*.enc' -print -delete + +%install +%perl_vendor_install + +%files +%doc Changes README +%perl_vendor_archlib/XML +%perl_vendor_autolib/XML + +%changelog +* Mon Dec 14 2020 Igor Vlasenko 2.46-alt1 +- new version + +* Thu Jan 24 2019 Igor Vlasenko 2.44-alt2.2 +- rebuild with new perl 5.28.1 + +* Fri Dec 15 2017 Igor Vlasenko 2.44-alt2.1.1 +- rebuild with new perl 5.26.1 + +* Fri Feb 03 2017 Igor Vlasenko 2.44-alt2.1 +- rebuild with new perl 5.24.1 + +* Tue Feb 23 2016 Igor Vlasenko 2.44-alt2 +- dropped at@'s patch perl-XML-Parser-2.34-alt-style-subs.patch + +* Wed Nov 25 2015 Igor Vlasenko 2.44-alt1.1 +- rebuild with new perl 5.22.0 + +* Thu Oct 15 2015 Igor Vlasenko 2.44-alt1 +- automated CPAN update + +* Mon Dec 22 2014 Igor Vlasenko 2.43-alt1 +- automated CPAN update + +* Tue Dec 09 2014 Igor Vlasenko 2.41-alt4.1 +- rebuild with new perl 5.20.1 + +* Thu Aug 22 2013 Vladimir Lettiev 2.41-alt4 +- built for perl 5.18 + +* Mon Aug 27 2012 Vladimir Lettiev 2.41-alt3 +- rebuilt for perl-5.16 + +* Fri Oct 07 2011 Alexey Tourbin 2.41-alt2 +- rebuilt for perl-5.14 + +* Wed Aug 10 2011 Alexey Tourbin 2.41-alt1 +- 2.40 -> 2.41 + +* Sat Dec 18 2010 Alexey Tourbin 2.40-alt1 +- 2.36 -> 2.40 + +* Mon Sep 20 2010 Alexey Tourbin 2.36-alt2.1 +- rebuilt for perl-5.12 + +* Fri Apr 10 2009 Alexey Tourbin 2.36-alt2 +- converted ISO-8859-* encoding names to uppercase + +* Mon Mar 03 2008 Alexey Tourbin 2.36-alt1 +- 2.34 -> 2.36 +- updated iso-8859-* and windows-125x encodings + +* Mon Oct 16 2006 Alexey Tourbin 2.34-alt6 +- imported sources into git and built with gear +- patches from Joris van Rantwijk now really applied + +* Sat Aug 12 2006 Alexey Tourbin 2.34-alt5 +- fix for carsh on utf8 stream (Joris van Rantwijk, cpan #19859, deb #378411) +- fix for off-by-one buffer overflow (Joris van Rantwijk, cpan #19860) + +* Sun Jun 26 2005 Alexey Tourbin 2.34-alt4 +- added support for XSLoader (cpan #13420) + +* Mon Jun 13 2005 Alexey Tourbin 2.34-alt3 +- don't ignore user exceptions when using Style => "Subs" (cpan #13204) +- removed examples/REC-xml-19980210.xml (156K) + +* Thu Mar 10 2005 Alexey Tourbin 2.34-alt2 +- ACK NMU: re-added Cyrillic and Hebrew encodings (cpan #11917) +- updated BuildRequires +- manual pages not packaged (use perldoc) + +* Mon Mar 07 2005 LAKostis 2.34-alt1.2 +- add cyrillic encodings from livejournal cvs. + +* Sat Feb 19 2005 ALT QA Team Robot 2.34-alt1.1 +- Rebuilt with rpm-build-perl-0.5.1. + +* Fri Oct 17 2003 Alexey Tourbin 2.34-alt1 +- 2.34 +- buildreq applied + +* Fri Nov 01 2002 Sergey V Turchin 2.31-alt2 +- rebuild with new perl + +* Wed May 29 2002 Mikhail Zabaluev 2.31-alt1 +- New version +- Require libexpat, not expat + +* Tue Jul 24 2001 Stanislav Ievlev 2.30-alt2 +- Rebuilt with new perl. + +* Tue Jul 03 2001 Mikhail Zabaluev 2.30-alt1 +- 2.30, shared expat is supported +- ALTified spec + +* Thu Jul 6 2000 Mikhail Zabaluev 2.29-2mdk_mhz +- added documentation files +- cleaned out files, build + +* Tue Jun 13 2000 Vincent Danen 2.29-1mdk +- initial specfile +- bzip sources