[ refdb-Bugs-1836588 ] apostrophe problems

"SourceForge.net" <[email protected]> Tue, 04 Dec 2007 13:09:39 -0800
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
Bugs item #1836588, was opened at 2007-11-22 18:40
Message generated for change (Comment added) made by mhoenicka
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1836588&group_id=26091

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: web interface
Group: None
Status: Open
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Markus Hoenicka (mhoenicka)
Summary: apostrophe problems

Initial Comment:
When entering a word with an apostrophe (e.g. L'Orange)in the simple search, it replaces the apostrophe with \ and searches that instead.

----------------------------------------------------------------------

>Comment By: Markus Hoenicka (mhoenicka)
Date: 2007-12-04 22:09

Message:
Logged In: YES 
user_id=85809
Originator: NO

Hi,
the change from O'Donnell to ODonnell1978 is intended. The latter is a
citation key and therefore may appear as an attribute value in SGML or XML
documents. RefDB strips off all characters which are not allowed in
attribute values when building the citation key, hence no apostrophe.
However, author names, titles, and keywords are supposed to retain
apostrophes. This works for sure when using the command line clients, and
it does work on the author's installation of the PHP web interface. If it
does not work in your case, we're probably looking at an unsuspected
platform problem, a version problem, or a mode of use which was not
anticipated (aka wetware error). In order to debug this problem, I'd kindly
ask you to perform the following test on your setup, using the test data
that I've attached to this bug report (apostrophe.ris). The data also serve
as a test for the umlaut problem (item #1844277)

1. Add the RIS dataset through the "Upload from local file" tab of the PHP
web interface.

2. Now click on the citation key generated by the web interface to view
the imported data. The citation key should read "ODONNELL2007", the first
author name should read "O'Donnell, Dan" (it does on my system), and the
second author name should read "Franz Bäuml".

3. Next open the "Add references" tab and enter the same data manually. It
should be fairly obvious where the data go. Please ask for assistance if
not.

4. After clicking the "Add" button, the web interface displays the
collected data *before* they were sent to refdbd. Please mark these data
and save them to a text file for later analysis.

5. The same page also displays the generated citation key. It should read
"ODONNELL2007a" (because uploading the file already created
"ODONNELL2007"). Clicking that link should display the reference. Please
check again whether or not the name arrived as "O'Donnell, Dan".

When done with these tests, please paste the results in your comment or
attach them as a file to your reply to this bug report.

regards,
Markus

File Added: apostrophe.ris

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-04 19:41

Message:
Logged In: NO 

Hi Markus

I'm running win xp pro, mozilla firefox 1.8.20071.12718, PHP Version
4.4.6, Version 0.9.9-1 built from svn revision 531

RefDB changes authors names like O'Donnell to ODonnell1978 and when you
search O'Donnell, it results in:

AX:~'O\'Donnell' OR :TX:~'O\'Donnell' OR :KW:~'O\'Donnell' OR
:UR:~'O\'Donnell' OR

It will pull up ODonnell in the end but it would be nice to not have to
drop the apostrophes.

[email protected]

----------------------------------------------------------------------

Comment By: Markus Hoenicka (mhoenicka)
Date: 2007-11-23 23:41

Message:
Logged In: YES 
user_id=85809
Originator: NO

I cannot reproduce this problem on my setup. If I enter a name containing
an apostrophe into the simple search (or into the author search, fwiw), I
get back the references that I expect. Could you please specify your setup
(OS, web browser, PHP version, RefDB version) so we can try to reproduce
the problem?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=385991&aid=1836588&group_id=26091

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Refdb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/refdb-devel