← Previous day | Today | Search | Index
All times shown according to UTC.
Time | Nick | Message |
---|---|---|
12:47 | paul | kados around ? |
12:47 | (at least, awaken ;-) | |
12:51 | kados : could you remind me how to know which XML parser perl uses ? | |
12:51 | kados | hi paul |
12:51 | paul | hi kados |
12:51 | kados | paul: you want libxml2 |
12:52 | paul | no, I mean the small 4 lines scripts that shows the parser used |
12:52 | kados | ahh, sure |
12:52 | paul | (because at IPT I have encoding problems that I don't have on my desktop. and DB are strictly the same (mysqldump > restore) |
12:52 | kados | #!/usr/bin/perl |
12:52 | use XML::SAX::ParserFactory; | |
12:52 | $parser = XML::SAX::ParserFactory->parser(); | |
12:52 | print $parser; | |
12:53 | mysqldump can create problems if you have incorrectly defined encoding at database, table, column or mysql client | |
12:54 | paul | i've checked, and select hex() from ... show exactly the same values |
12:54 | kados | check on your desktop: |
12:54 | show variables; | |
12:54 | make sure all are utf8 | |
12:54 | paul | so i'm 99% sure that the DB is OK (and it appears well until you edit/save a biblio. |
12:55 | kados | *nod* |
12:55 | paul | XML::SAX::PurePerl |
12:55 | :-( | |
12:55 | kados | yea, that could be it |
12:55 | I filed a bug with PurePerl a long time ago, don't think anyone fixed it | |
12:56 | hey owen | |
12:56 | http://rt.cpan.org/Public/Bug/[…]lay.html?id=19543 | |
12:57 | paul | on my station : XML::LibXML::SAX::Parser |
12:57 | kados | so that was version .80 |
12:58 | yea, that's the right one, I've had fewest problems with LibXML | |
12:59 | looks like there are 5 bugs that haven't gotten any love for a year | |
13:01 | wow, last release was Nov 2001 | |
13:01 | paul | wow... |
13:03 | kados | paul: http://search.athenscounty.lib[…]view.pl?bib=16595 |
13:03 | paul: uses a free MARC XSL stylesheet | |
13:04 | hdl | Lucky you. |
13:04 | You have all the things you want with MARC-21 :P | |
13:04 | paul | Alleluia !!!! |
13:04 | works fine with LibXML::SAX::Parser ... | |
13:04 | kados | hdl: it would be trivial to have a unimarc one |
13:04 | paul: great! | |
13:04 | hdl: the stylesheet is quite simple in fact | |
13:05 | hdl: I found it here: http://catalog.sanfordberman.org/ | |
13:08 | hdl | is this catalog ruby ? |
13:08 | kados | yep |
13:08 | andy mysql | |
13:08 | and even | |
13:16 | hdl | and even ? |
13:18 | kados | hehe |
13:18 | just correcting 'andy' | |
13:18 | :-) | |
13:18 | s/andy/and/ would be have been clearer | |
13:19 | health_insurance_in_US-- | |
13:19 | bbiab | |
13:19 | paul | bbiab |
← Previous day | Today | Search | Index