JSTL 1.1 for Java5?

2004-11-17 Thread Andreas Schildbach
Hello everyone, The current version 1.1.2 of the standard taglib is dependant on Apache Xerces and Xalan, which are included in JDK 1.4. With JDK 1.5, package names have changed to com.sun.apache.* (effectively hiding the implementation) and there are new implementation-independant interfaces f

Re: whitespace inside but outside inserted in to output

2004-05-03 Thread Andreas Schildbach
Morrow, Steve D. wrote: No; they offer different functionality, so I wouldn't have expected them to behave the same. The tag is not intended to output its body content. In looking at the JavaServer Pages Standard Tag Library docs I have for 1.0, it states the following: - the JSP container pro

Re: whitespace inside but outside inserted in to output

2004-05-03 Thread Andreas Schildbach
Morrow, Steve D. wrote: I'm just saying I would have expected the space and am interested to know if the different implementations handle this differently. Well, and nested 's do not allow any whitespace to appear in the source (this is for 1.03, 1.04 and 1.10 afaik, I never tried other impleme

Re: whitespace inside but outside inserted in to output

2004-05-03 Thread Andreas Schildbach
Keith wrote: I've noticed that JSP never suppresses any whitespace at all outside the < > characters. I'm doing HTML output, so this doesn't effect me to much in the final output. In HTML it does indeed matter if you do have a whitespace or none at all (not in your special example, though). For

Re: whitespace inside but outside inserted in to output

2004-05-03 Thread Andreas Schildbach
Morrow, Steve D. wrote: I would have expected the space. I thought there is no sense in putting any text between and . When should it show up? Suppressing the whitespace at this point would ease indenting choose constructs. If I want no whitespace at all, with the current implementation I hav

whitespace inside but outside inserted into output

2004-05-03 Thread Andreas Schildbach
Hello everyone, With the Jakarta JSTL implementation 1.10, I discovered the following behaviour: Any whitespace inside but outside or is inserted into the output stream. An example: X Y would result in "X Y" instead of the expected "XY". Regards, Andreas ---

Re: Doesn't LocalizationContext use HttpServletRequest.getLocale() to get the user selected language?

2004-04-26 Thread Andreas Schildbach
Kris Schneider wrote: You may also need to override HttpServletRequestWrapper.getHeaders so that it returns a non-empty Enumeration for the Accept-Language header. In other words, always make JSTL think that the client has supplied the header. JSTL should then use ServletRequest.getLocales for the

Doesn't LocalizationContext use HttpServletRequest.getLocale() to get the user selected language?

2004-04-26 Thread Andreas Schildbach
Hello everyone, for the i18n of my web application, I have written a servlet filter that implements the following model: - if the user or guest has selected a language from the navigation menu, use it (it is stored in the users HttpSession). - else if the user is logged in use his/her language

generates incorrect encoding?

2003-09-19 Thread Andreas Schildbach
7, JDK 1.4.2 and JSTL 1.03 Regards, Andreas Schildbach --- # Line 13, column 81: cannot generate system identifier for general entity "param2" ...E16EDEC5EAFDA47DCBBB44?param1=value1¶m2=value2">action ^ # Line 13, column 81: gener

and sort order

2003-08-14 Thread Andreas Schildbach
Hello everybody, the tag does not appear to preserve the natural ordering of the XML document. Instead, it uses some other ordering I could not find out. - Which ordering does the tag use for iterating? - How can I change that ordering to the natural ordering of the document? (the old provid

JSTL: Nesting inside

2002-12-01 Thread Andreas Schildbach
hello, in my jsp, i'd like to do something like this: intended semantics: depending on the condition, the xsl transformation is invoked with a parameter or no parameter. unfortunately, i constantly receive this error message: "Encountered illegal body of tag "x:transform" ta

which xml parser/transformer does jakarta jstl use?

2002-11-13 Thread Andreas Schildbach
hello out there, can anyone tell me which xml parser and xml transformer does the jakarta implementation of jstl use for its xml-related-tags? and if it uses a specific one, how can i change it (to xerces 2.2.0)? regards, andreas -- To unsubscribe, e-mail:

strange xsl/xml encoding problem with jstl and tomcat: maybe a bug in jstl 1.02?

2002-11-02 Thread Andreas Schildbach
i've got an utf-8 encoded xml file (test.xml) with several versions of an umlaut character, like this: ü ü i want to apply a simple xsl transformation (test.xml) to html, like this: http://www.w3.org/1999/XSL/Transform"; version="1.0"> when i use the xslt-task of jakarta ant the