[EP-tech] Re: [FIX] missing entities

Tim Brody tdb2 at ecs.soton.ac.uk
Thu Jun 6 09:18:27 BST 2013


On Thu, 2013-06-06 at 07:17 +1000, Matthew Kerwin wrote:
> Incidentally, I can see that our phrase files all start with:
> 
>     <!DOCTYPE phrases SYSTEM "entities.dtd">
>     
>     <epp:phrases xmlns="http://www.w3.org/1999/xhtml"
>             xmlns:epp="http://eprints.org/ep3/phrase"
>             xmlns:epc="http://eprints.org/ep3/control">
>     ...
> 
> Can anyone briefly explain to me how the XML engine knows (or rather,
> _should_ know) that the "entities.dtd" actually refers to the file in
> eprints/lib/ ?  Should it be changed to an absolute path, or even a
> file:// URL?
> 

EPrints::XML::parse_file() specifies a base-path from which DTDs are
loaded. You can play around with this by using the 'xmllint' tool,
--path, --loaddtd.

-- 
All the best,
Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20130606/5348db5c/attachment.bin 


More information about the Eprints-tech mailing list