Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Business-ISBN CPAN distribution.

Report information
The Basics
Id: 37880
Status: rejected
Priority: 0/
Queue: Business-ISBN

People
Owner: Nobody in particular
Requestors: jan [...] tomasek.cz
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.03
Fixed in: (no value)



Subject: as_string incorrectly format publisher code
I discovered that version 2.03 with Bussiness::ISBN::Data version 1.17 incorrectly format publisher code: Correct ISBN Wrong ISBN printed by as_string ================= ========================= 978-0-88986-695-9 <> 978-0-8898-6695-9 978-3-86541-216-4 <> 978-3-8654-1216-4 978-80-7043-554-0 <> 978-80-704-3554-0 978-80-7355-077-6 <> 978-80-735-5077-6 978-80-8070-735-4 <> 978-80-807-0735-4 978-80-86583-12-9 <> 978-80-865-8312-9 978-80-86742-00-7 <> 978-80-867-4200-7 978-80-969243-7-0 <> 978-80-969-2437-0 978-960-6766-23-7 <> 978-960-67-6623-7 978-973-667-260-6 <> 978-973-66-7260-6 978-973-739-423-1 <> 978-973-73-9423-1 Example test script is attached.
Subject: test-isbn.pl
#!/usr/bin/perl -w use strict; use Business::ISBN; my @isbn = ( '978-0-88986-695-9', '978-3-86541-216-4', '978-80-7043-554-0', '978-80-7355-077-6', '978-80-8070-735-4', '978-80-86583-12-9', '978-80-86742-00-7', '978-80-969243-7-0', '978-960-6766-23-7', '978-973-667-260-6', '978-973-739-423-1', ); foreach my $isbn (@isbn) { my $isbn_object = Business::ISBN->new($isbn); if ($isbn ne $isbn_object->as_string) { print "$isbn <> ".$isbn_object->as_string."\n"; }; };
On Wed Jul 23 09:30:20 2008, semik wrote: Show quoted text
> I discovered that version 2.03 with Bussiness::ISBN::Data version 1.17 > incorrectly format publisher code:
The publisher codes come from the International ISBN agency (http://www.isbn- international.org/converter/ranges.htm), and according to the stuff they've posted the code is doing it right. Where did you get the example numbers? Are they from published books? Can you tell me which publishers belong to those books? Thanks,
From: jan [...] tomasek.cz
Dne st 23.čec.2008 14:33:55, BDFOY napsal(a): Show quoted text
> The publisher codes come from the International ISBN agency > (http://www.isbn-international.org/converter/ranges.htm), and > according to the stuff they've posted the code is doing it right. > > Where did you get the example numbers? Are they from published books? > Can you tell me which publishers belong to those books?
I work for CESNET we are Czech Academic NREN and as academic organization we are responsible for evidence of all publications published by our authors. Those example numbers are from our internal database of publications - numbers which are beening misspelled by the as_string() function. I got a few examples to show that publications are really real one, see them: http://staff.cesnet.cz/~semik/978-0-9789217-2-9_CD.jpg http://staff.cesnet.cz/~semik/978-0-9789217-2-9_IEEE_Explore.jpg http://staff.cesnet.cz/~semik/978-960-6766-23-7.jpeg Those examples above are from China and from Spain. Numbers 978-80-* belongs to the Czech Republic or the Slovak Republic (we were formerly one country until 1992). Czech publishers can be searched in the Databases of the National Library CR: http://sigma.nkp.cz/F/?func=file&file_name=find-a&local_base=nak (I'm sorry Czech version only, English somehow doesn't work for me. Fill "Identifikátor".). 978-80-7043 Západočeská univerzita http://sigma.nkp.cz/F/34GKBP1RVMASS4LB8HM4PBVN6GPTE3SLBCG2GL184HQKY1GHI3-01689?func=full-set-set&set_number=025374&set_entry=000001&format=033 978-80-7355 Novotný Zdeněk ing. CSc. Brno http://sigma.nkp.cz/F/2V8BSTMKV73PC1LVICD1RFNSGIPG6B12CNQMHQQ8U3GUPVY73H-00026?func=full-set-set&set_number=025641&set_entry=000001&format=033 978-80-86583 Česká společnost uživatelů otevřených systémů EurOpen.CZ http://sigma.nkp.cz/F/GD4HJVFAV9HHBPKCKFXMK3LPNL815SE64I3T6L2Y8T9NXEA9VE-02941?func=full-set-set&set_number=025820&set_entry=000001&format=033 978-80-86742 Zeithamlová Milena ing. - Agentura Action M http://sigma.nkp.cz/F/GD4HJVFAV9HHBPKCKFXMK3LPNL815SE64I3T6L2Y8T9NXEA9VE-02055?func=full-set-set&set_number=025888&set_entry=000001&format=033 Following two codes belong to some Slovak publishers. I do not known how to get their names. 978-80-8070 978-80-969243 If you need any more info I will try to help. Just be place patient, next week I'm on holidays. Jan Tomasek
Okay, I see that the books have those ISBNs, but I really need some sort of documentation from one of the ISBN agencies that show that those are valid ranges. I know from my experience working with publishers that sometimes the ISBNs they work with are wrong, so seeing them put it on a book doesn't mean it is valid. I have to stick with the legal ranges assigned by the International ISBN Agency, so that's the sort of documentation I need. I can see on http://www.nkp.cz/files/isbn_prirucka.pdf that the group 80 ranges are different from those on the International ISBN Agency website, but it also looks like that PDF has an error in the last range in table 2 in section 5.6. Since it's in Czech, I'll have to do a bit of work to figure out what to do with the ranges in Tables 1 and 2 from that section. If you have official documentation of ranges for the other national agencies, that would be helpful. In the mean time, you can locally adjust the ranges in your version of Business::ISBN::Data to report what you need. Thanks,