> I am currently trialing XML software with a view to using it with the
> Encoded Archival Description DTD
> (http://lcweb.loc.gov/ead/eadv1ann.html#whattodo) to produce encoded
> archival catalogues here at the National Library of Scotland. I can not
> seem to get XMLmind to work with this DTD which is a pitty as the
> software looks ideal. I wondered if you could offer me any assistance to
> get the DTD to work with XMLmind so that I can evaluate the software for
> my needs properly.

The error reported by XXE is:

file:/home/hussein/tmp/ead/eadchars.ent:187:66: syntax error

because this file contains valid _SGML_ entities such as:

<!ENTITY % ISOlat1 PUBLIC 
"ISO 8879-1986//ENTITIES Added Latin 1//EN" >

and not valid _XML_ entities such as (taken from the docbook DTD):

<!ENTITY % ISOlat1 PUBLIC
"ISO 8879:1986//ENTITIES Added Latin 1//EN//XML"
"ent/iso-lat1.ent">

After:

[1] changing <!ENTITY % sgml 'INCLUDE'> to <!ENTITY % sgml 'IGNORE'> to
comment out the loading of eadchars.ent.

[2] creating the (non-realistic) document template attached to this
email (Remember that XXE cannot load a DTD, you must create a document
template referencing the DTD ``by hand'' using a text editor.)

I managed to load the document template and its DTD into XXE.
-------------- next part --------------
<?xml version="1.0"?>
<!DOCTYPE p SYSTEM "ead.dtd">
<p></p>


        

Reply via email to