Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSTL x:parse problem

843838Mar 8 2007 — edited Mar 11 2007
Hi all,

I am using Netbeans 5 to develope a web application and I am having a problem with the xml parsing :

I got JSTL 1.1 Libraries in my WEB-INF folder
but still
i get the error:
"org.apache.jasper.JasperException: According to TLD or attribute directive in tag file, attribute xml does not accept any expressions
"
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>

<c:import var="file" url="loans.xml"/>
<x:parse var="document" xml="${file}" />

Does somebody know why i get htis error. The netbeans IDE highlights the xml attribute of x:parse as deprecated but even with the doc attribute i get the same error.

thx for any help

Message was edited by:
federico_cs
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 8 2007
Added on Mar 8 2007
1 comment
172 views