Hi All,
Using the XML aware editor jEDIT, which I have been using for a while,
I am getting an error I can't easily debug :
asptext.xml:1:java.io.UTFDataFormatException: Invalid byte 2 of 2-byte
UTF-8 sequence.
Here is the header of my file. The error indicates the first line is
the problem :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4CR2//EN"
"http://www.oasis-open.org/docbook/xml/4.4CR2/docbookx.dtd"
[<!ENTITY % local.notation.class '| MOV'>
<!NOTATION MOV SYSTEM 'MOV'>
<!ENTITY fig1 SYSTEM 'aspfig1.png' NDATA PNG>
<!ENTITY fig1legend SYSTEM 'aspfig1leg.xml'>
<!ENTITY fig2 SYSTEM 'aspfig2.png' NDATA PNG>
<!ENTITY fig2legend SYSTEM 'aspfig2leg.xml'>
<!ENTITY fig3 SYSTEM 'aspfig3.png' NDATA PNG>
<!ENTITY fig3legend SYSTEM 'aspfig3leg.xml'>
<!ENTITY fig4 SYSTEM 'aspfig4.png' NDATA PNG>
<!ENTITY fig4legend SYSTEM 'aspfig4leg.xml'>
<!ENTITY fig2 SYSTEM 'aspfig2.png' NDATA PNG>
<!ENTITY fig2legend SYSTEM 'aspfig2leg.xml'>
<!ENTITY fig3 SYSTEM 'aspfig3.png' NDATA PNG>
<!ENTITY fig3legend SYSTEM 'aspfig3leg.xml'>
<!ENTITY fig4 SYSTEM 'aspfig4.png' NDATA PNG>
<!ENTITY fig4legend SYSTEM 'aspfig4leg.xml'>
<!ENTITY Asp_Refs SYSTEM 'asprefs.xml'>
<!ENTITY pubmed_url
'http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&
db=PubMed&list_uids='>
<!ENTITY crossref_url 'http://dx.doi.org/'>
]>
<article id="Asp_ArticleID">
<articleinfo>
.
.
.
Thank you in advance.
Cheers, Tristan
---
Tristan J. Fiedler
Postdoctoral Fellow - Stein Lab
Cold Spring Harbor Laboratory