Tag Library With Default Xmlns In Jspx Causes Uninterpreted Tag Code

(Doc ID 1377001.1)

Last updated on APRIL 15, 2018

Applies to:

Oracle Weblogic Server - Version to [Release 11g to 12c]
Information in this document applies to any platform.


A JSP page is defined as the following :

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns="http://foo.com/tag" version="2.0">
<table />

When invoking this page, the following page is returned :

<table />

The issue is that a JSP page containing the taglib defined with the uri http://foo.com/tag -
but without prefix (empty prefix as xmlns="http://foo.com/tag"), element as <table /> is not interpreted.

The expected result is that the <table /> element is interpreted as if  a prefix is defined for the taglib :

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:t="http://foo.com/tag" version="2.0">
<t:table />


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms