[Refdb-users] risx output problems
Status: Beta
Brought to you by:
mhoenicka
|
From: Bruce D'A. <da...@mu...> - 2003-08-30 20:24:12
|
I just exported my DB as risx, and ran into problems.
Problem 1: characters like & are not converted, despite the fact that=20
the entity is defined.
Problem 2 (and bigger): I'm losing some data too. This input:
TY - NEWS
ID - Comm1968a
T2 - Commonweal
T1 - Jailing Hayden?
N1 - cited in Dee (1990) @104:
=93the government is about to crack down on the New Left by singling Tom=20=
Hayden out for arrest. The FBI has been scouring the country for=20
evidence to indict Hayden under the infamous =91Rap Brown=92 =
law=97crossing=20
state lines to incite to riot.=94 @393
PY - 1968/12/20/
ER -
Yields this output in risx, and an error from the xml parser (note=20
dropped publication element):
<entry type=3D"NEWS" id=3D"9" citekey=3D"Comm1968a">
<part>
<title>Jailing Hayden?</title>
</part>
<libinfo user=3D"darcusb">
<notes>cited in Dee (1990) @104:\n=93the government is about to =
crack=20
down on the New Left by singling Tom Hayden out for arrest. The FBI=20
has been scouring the country for evidence to indict Hayden under the=20
infamous =91Rap Brown=92 law=97crossing state lines to incite to riot.=94=20=
@393</notes>
<reprint status=3D"NOTINFILE"/>
</libinfo>
</entry>
I have at 10 records that are screwed up enough to yield a parser=20
error. Here's another:
TY - CASE
ID - USvDellinger1968
PY - 1968
T1 - United States v. David T. Dellinger et al
T2 - U.S. v. Dellinger
T3 - appeal
KW - anti-riot
ER -
...gets:
<entry type=3D"CASE" id=3D"15" citekey=3D"USvDellinger1968">
<set>
<title type=3D"gen">appeal</title>
</set>
<libinfo user=3D"darcusb">
<reprint status=3D"NOTINFILE"/>
</libinfo>
<contents>
<keyword>anti-riot</keyword>
</contents>
</entry>
Also, for some reason I am getting a unicode error from the parser with=20=
this string:
<publisher>Routledge=1D</publisher>
I am also getting parser errors about an incorrect reference type of=20
HEAR. Looking at the refdb docs, I realize there is no such reference=20=
type. However, if I look here, RefMan itself (at least v10) does=20
support this reference type.
http://www.refman.com/support/risformat_reftypes.asp
I *really* need this, ASAP in the DTD (in case I need to transform the=20=
data), and soon after in refdb itself.
Finally, going back to previous discussions, don't we need a "note" or=20=
"annotation" DTD now? It's quite awkward to have the "\n" characters=20
in the output, so we obviously need a paragraph element. I'd opt for=20
these as well at minimum: quote, blockquote, emphasis, and perhaps a=20
generic span. Also, I'd like attributes on all of these for citation=20
IDREFs, pages, etc.
Bruce=
|