Thanks for that. I should have looked closer. The document validates,
however, I am still getting the UNICODE error. I used the script below
on the thesis database. The description from PostgreSQL for that
database is:
List of databases
Name | Owner | Encoding
-----------+-----------+-----------
examples | aackerman | UNICODE
refdb | postgres | UNICODE
template0 | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
thesis | postgres | UNICODE
I have attached the schema and data dump for both the thesis database
and the refdb databases. The refdb database contains the J.Biol.Chem.
definition. I can't find any UNICODE encodings (at least none that I
recognize) in either file. The output of the error is:
$ make pdf
refdbxp -t db31x < thesistest.short.xml > thesistest.xml
runbib -d thesis -S J.Biol.Chem. -t db31x thesistest.xml
server error: database error while reading xml file: ERROR: invalid
byte sequence for encoding "UNICODE": 0xd03a
0 reference(s) formatted, 0 failed
make: *** [thesistest.bib.xml] Error 1
$
I'm sorry to be such a pain with this, but I've got the feeling I'm
close (just need the door to hit me in the face). Thank you all for
your time with this.
Alex
On Sat, 2004-09-11 at 20:42, Bruce D'Arcus wrote:
> On Sep 11, 2004, at 8:20 PM, Alex Ackerman wrote:
>
> > I tried doing what you stated and the attached xml file was the
> > resulting work (using the 'thesis' database.
>
> One problem seems to be you're missing the bib entity. Another is
> you're missing a space to separate citation and role (you had
> <citationrole>), resulting in an invalid document. Try the below. Oh,
> and make sure to use a validating editor to avoid these mistakes in the
> future.
>
> <?xml version="1.0"?>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
> <!ENTITY bibliography SYSTEM "thesistest.bib.xml">
> ]>
> <book>
> <para>This is a sample citation in my book. <citation
> role="REFDB">Rajnic2002</citation>. I'm trying to work out how to
> create the PDF document and am hoping this will work. If not, it's
> back to the drawing board. <citation role="REFDB">Yan2004</citation>
> </para>
> &bibliography;
> </book>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Refdb-users mailing list
> Refdb-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/refdb-users
>
>
>
thesis.sql
Description: Text Data
refdb.sql
Description: Text Data
|