EPrints Technical Mailing List Archive

Message: #00077


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

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


On Mon, 2012-03-05 at 08:32 +0000, Alex Birchall wrote:
> 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?

Please post your index.xpage source to pastebin (or similar).

/Tim.