avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1462) Non-ASCII decimal characters cause warning from Perl API serializer
Date Wed, 11 Jun 2014 20:38:02 GMT

    [ https://issues.apache.org/jira/browse/AVRO-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028355#comment-14028355
] 

Hudson commented on AVRO-1462:
------------------------------

SUCCESS: Integrated in AvroJava #458 (See [https://builds.apache.org/job/AvroJava/458/])
AVRO-1462. Perl: Stop serializer warnings about Non-ASCII decimal chars.  Contributed by John
Karp. (cutting: rev 1601999)
* /avro/trunk/CHANGES.txt
* /avro/trunk/lang/perl/lib/Avro/BinaryEncoder.pm
* /avro/trunk/lang/perl/t/02_bin_encode.t


> Non-ASCII decimal characters cause warning from Perl API serializer
> -------------------------------------------------------------------
>
>                 Key: AVRO-1462
>                 URL: https://issues.apache.org/jira/browse/AVRO-1462
>             Project: Avro
>          Issue Type: Bug
>          Components: perl
>            Reporter: John Karp
>            Assignee: John Karp
>            Priority: Minor
>             Fix For: 1.7.7
>
>         Attachments: AVRO-1462.patch
>
>
> The serializer is using the \d metacharacter in a regex to check for decimal characters.
However, \d also matches non-ASCII decimals such as those from Hindi or Arabic, and that causes
this warning:
> {noformat}
> Argument "\x{661}" isn't numeric in abs at /home/johnkarp/git/avro/lang/perl/blib/lib/Avro/BinaryEncoder.pm
line 92.
> {noformat}
> Test case:



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message