; - If timeZone is null or empty, it is handled as if it was missing.
> - If this action fails to determine a formatting locale, it uses
> java.util.Date.toString() as the output format.
>
> So, it looks like it's at least behaving according to the spec...
>
> Quoting Flavio Tordini
ext, but I think that
using the default JVM locale would be much better than toString().
here's a sample JSP, you can test it with curl or wget:
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"; %>
regards,
flavio tordini
-
ocument = (Node)varObject;
At this point, the best thing to do would be to file a bug report:
http://issues.apache.org/bugzilla/enter_bug.cgi?product=Taglibs
Quoting Flavio Tordini <[EMAIL PROTECTED]>:
hi Kris,
I think Xalan does the right thing evaluating
nodes = XPathAPI.selectNodeList(nod
gh they
solved it in a newer version, but totally screwed up the API and some
other stuff, so it killed the fix for me.
I had performance problems with the xml jstl tags (forEach), so I've
since moved on to using xslt. They're clearly not in a big hurry to fix
these (what we would consider
like: select="$doc//subnode".
Otherwise, the only way (that I know of) to "cd" to a subnode, and
therefore not have to give the full path is by using x:forEach.
Chris
-Original Message-
From: Flavio Tordini [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 08, 2004
hi all,
In the list archive, I found that the same question has been asked in
June e never answered:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg07315.html
should I post to the dev mailing list?
should I report a bug?
please someone answer!
flavio
Flavio Tordini wrote:
hi all,
I
hi helios,
Unfortunately it does not work. it gives the following error:
Illegal argument evaluating XPath expression "/*":
java.lang.IllegalArgumentException: Node must be non-null for
getDTMHandleFromNode
Clearly the JSTL implementation is trying to use "[EMAIL PROTECTED]" as the
variable nam
hi all,
I'm experimenting with the JSTL XML tags. I have a org.w3c.dom.Node
variable and I'm trying to use the JSTL with it. Something like:
The odd thing is that the XPath expression is evaluated relative the
document root, not to the specified node. The following works:
I cannot find an exp
hi all,
inside a x:forEach loop, i put an x:out that evaluates an XPath
expression on a document which is not same of the x:forEach.
The x:out seems to behave strangely. Take a look at following JSP:
===
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"; %>
<%@ tagl