[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] namespace error : Namespace prefix xpage on head is not defined?


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. 

  <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>

(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
Entity: line 10: parser error : Opening and ending tag mismatch: page line 0 and head

Please can anyone suggest what I am doing wrong here?

Many thanks.


Alexander J Birchall
Library Systems Manager
The Sheppard Library
Middlesex University
The Burroughs
London NW4 4BT

+44 (0) 208 411 5235