[opencms-dev] OpenCMS 6.2.3 JSTL XML Error
Steve Daly
spdaly at gmail.com
Wed Jan 31 21:06:02 CET 2007
All,
I am having a problem with using JSTL inside of OpenCMS. I have seen a
couple of other postings on the problem, but no solutions. Any help would
be appreciated.
<%@ taglib uri=" http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
<%@ taglib uri=" http://java.sun.com/jstl/fmt" prefix="fmt" %>
<jsp:useBean id='now' class='java.util.Date'/>
<fmt:formatDate value='${now}' var='now' type='DATE' pattern='MM/dd/yyyy'/>
<c:import var='xml' scope='application'
url='http://solutions.astrology.com/scripts/it.dll?cust_id=adalcq&doc=daily01overview/dailyoverview.xml'/
<http://solutions.astrology.com/scripts/it.dll?cust_id=adalcq&doc=daily01overview/dailyoverview.xml%27/>
>
<x:parse xml='${xml}' var='doc'/>
<x:out select="$doc//*[Date=$now]/*[name()='Leo']" escapeXml="false"/>
Here's the error message:
java.lang.NullPointerException
at org.jaxen.expr.iter.IterableDescendantOrSelfAxis.iterator(IterableDescendantOrSelfAxis.java:80)
at org.jaxen.expr.DefaultStep.axisIterator(DefaultStep.java:137)
at org.jaxen.expr.DefaultStep.evaluate
(DefaultStep.java:156)
--
Steve Daly
spdaly at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070131/e506ebbb/attachment.htm>
More information about the opencms-dev
mailing list