Hi Erik,
  I am trying to include external javascript file in my final xsl file (in
pipeline). I use fallowing code

    <script language="javascript" type="text/javascript"
src="javascripts/testing.js"></script>

'javascripts' folder is in 'WEB_INF/resources'. 

I modified 'fix-paths-absolute.xpl' to add 'base-path' in src attribute of
script tag. I also added new servlet-mapping for .js files in web.xml. It's
still not working.

Am I missing any changes somewhere? 

This is the error I am getting..

ProcessorServlet] Exception at oxf:/javascripts/testing.js, line 1, column
21
 
org.orbeon.oxf.common.ValidationException: oxf:/javascripts/testing.js, line
1, column 21: Content is not allowed in prolog.
 
 at
org.orbeon.oxf.pipeline.processors.URLGenerator$1.readImpl(URLGenerator.java
:97)
_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to