Im trying to add some custom Javscript code for our DSpace 1.5
instances. The problem is though, that when compiling the source I get
SAX errors because of '&' signs on Javascript code. Should I encode
the code somehow or how could I get around this?

The line that causes the problem is the following:

var addr = 'http://my.site.org/run?&_render=json&_callback=trythis';

org.xml.sax.SAXParseException: The reference to entity "_render" must
end with the ';' delimiter.
context:/file:/usr/local/jetty/jetty-6.1.12rc1/webapps/dikk/themes/TDS/./../dri2xhtml/structural.xsl
- 226:98

Cocoon stacktrace [hide]
The reference to entity "_render" must end with the ';' delimiter.
context:/file:/usr/local/jetty/jetty-6.1.12rc1/webapps/dikk/themes/TDS/./../dri2xhtml/structural.xsl
- 226:98

Thanks for any tips,
Mika

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to