[EP-tech] namespace error : Namespace prefix xpage on head is not defined?
Alex Birchall
A.Birchall at mdx.ac.uk
Mon Mar 5 08:32:44 GMT 2012
Hi,
At http://wiki.eprints.org/w/New_Features_in_EPrints_3.2, the following is written:
__
If upgrading from 3.1 to 3.2, the following changes to your own configuration are suggested to gain the features described above [e.g. edit locking].
cp lib/defaultcfg/cfg.d/rdf* archives/YOURID/cfg/cfg.d/
run epadmin recommit
edit cfg/lang/en/static/index.xpage and add the following to the <xpage:head> section.
<xpage:head>
<link rel="alternate" type="application/rss+xml" title="Items in {phrase('archive_name')}" href="{$config{http_cgiurl}}/latest_tool?output=RSS2"></link>
<link rel="alternate" type="application/atom+xml" title="Items in {phrase('archive_name')}" href="{$config{http_cgiurl}}/latest_tool?output=Atom"></link>
<link rel="alternate" type="application/rdf+xml" title="Repository Summary RDF+XML" href="{$config{http_cgiurl}}/repositoryinfo/RDFXML/devel.rdf"></link>
<link rel="alternate" type="text/n3" title="Repository Summary RDF+N3" href="{$config{http_cgiurl}}/repositoryinfo/RDFN3/devel.n3"></link>
</xpage:head>
(you may already have the rss & atom bits)
__
I am trying to edit cfg/lang/en/static/index.xpage as per the instructions, but am getting the following error:
namespace error : Namespace prefix xpage on head is not defined
<xpage:head>
^
Entity: line 10: parser error : Opening and ending tag mismatch: page line 0 and head
</xpage:head>
^
Please can anyone suggest what I am doing wrong here?
Many thanks.
Alex
Alexander J Birchall
Library Systems Manager
The Sheppard Library
Middlesex University
The Burroughs
Hendon
London NW4 4BT
+44 (0) 208 411 5235
More information about the Eprints-tech
mailing list