My Oracle Support Banner

Javascript Error when accessing RSS Feeds from a WebCenter Page in IE (Doc ID 1396123.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.
Checked for relevance on 14-Jan-2014


There is a page style in WebCenter and added the following line to the head to expose an RSS Feed:

<link rel="alternate" type="application/rss+xml" title="RSS con context root" href="${contextRoot}/${idioma}/rss?tipoRss=2&wcnav.model=%2Foracle%2Fwebcenter%2Fportalapp%2Fnavigations%2Fnavegacion_es"/>

Here this HREF points to a navigation element, that is a page link to a JSPX page with the following code to generate RSS response:

<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="" version="2.1"
  < contentType="text/html;charset=UTF-8"/>
      <!-- Guarda el tipo de RSS a generar -->
      <c:Set var="tipoRss" value="${param['tipoRss']}" scope="request"/>
      <!-- URL de la pagina actual -->
      <c:Set var="urlActual" value="${request.requestURI}" scope="request" />
      <!-- Genera RSS del tipo especificado en el parametro -->
      <af:-OutputText value="#{gd:generaRss(tipoRss, 'http://localhost:7101/context_root/es/rss?tipoRss=2&wcnav.model=%2Foracle%2Fwebcenter%2Fportalapp%2Fnavigations%2Fnavegacion_es')} <http://localhost:7101/context_root/es/rss?tipoRss=2&wcnav.model=/oracle/webcenter/portalapp/navigations/navegacion_es')}> " id="ot1" escape="false"/>

When using the RSS icon of IE and choosing this particular RSS then there is a Javascript error on the page, where instead of the RSS the ADF redirection Javascript code is found in the HTML source. When requesting the exact same page in IE simply by going into the location field and hitting enter, then the RSS is correctly displayed.

The same problem does not occur in Firefox or Chrome.

Steps to Reproduce:

  1. Create a WebCenter App.
  2. Create a JSPX page to generate RSS response.
  3. Create a page style that exposes the link to the JSPX page to generate the RSS response with a code like this:

         Here the HREF may point to a navigation element or to the JSPX page directly.

      4. Create a new page based on the page style.
      5. Access the page in IE.
      6. Notice that the RSS button becomes active. Choose the RSS of the JSPX page.
      7. Notice the javascript error instead of the RSS content.
      8. Click to the location bar and hit enter to request the page once more.
          Notice that the RSS loads successfully.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.