It's not a secret anymore!
The moose likes JSP and the fly likes Error when using xml tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error when using xml tags" Watch "Error when using xml tags" New topic

Error when using xml tags

Jose Mon
Ranch Hand

Joined: Feb 13, 2007
Posts: 30
Consider the following code

<%@ taglib uri="" prefix="c"%>
<%@ taglib uri="" prefix="x"%>

<c:import var="myxml" url="myxml.xml"/>
<x:parse var="rss" xml="${myxml}"/>

When I am running this I get error message like
According to TLD or attribute directive in tag file, attribute xml does not accept any expressions.

Do anyone know the problem?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63872

As per forum instructions, please include what versions of JSP and JSTL you are using, along with how you have your deployment descriptor declared.
[ February 14, 2007: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Error when using xml tags
It's not a secret anymore!