Re: JSTL x:parse problems

2002-04-18 Thread Shawn Bayern
On Thu, 18 Apr 2002, Steve Appling wrote: > BTW, in the example you sent you had: > > > In my version, the attribute for the parse action needs to be > "xmlText". Was that a typo or are you using a different version than I > am? Also I was not aware that I could get a reader from the import >

Re: JSTL x:parse problems

2002-04-18 Thread Steve Appling
Thank you - I was under the mistaken impression that jstl.jar and standard.jar contained the entire JSTL implementation (at least what wasn't already in Tomcat's common lib). That definitely needs to make it into the documentation. BTW, in the example you sent you had: In my version, the attri

Re: JSTL x:parse problems

2002-04-18 Thread Shawn Bayern
Valve.invoke(StandardEngineValve.java > :163) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at org.apache.catalina.core.ContainerBase.i

Re: JSTL x:parse problems

2002-04-18 Thread Steve Appling
raries Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 3:25 PM Subject: Re: JSTL x:parse problems > On Thu, 18 Apr 2002, Steve Appling wrote: > > > Thank you Shawn! I had hoped I was just doing something stupid. > > > > Unfortunately that isn&#x

Re: JSTL x:parse problems

2002-04-18 Thread Shawn Bayern
On Thu, 18 Apr 2002, Steve Appling wrote: > Thank you Shawn! I had hoped I was just doing something stupid. > > Unfortunately that isn't the only thing I'm doing wrong - this just moved me > to my next problem. Here's a simplified example- > ignoring the reader code I have: > > That does in

Re: JSTL x:parse problems

2002-04-18 Thread Steve Appling
Thank you Shawn! I had hoped I was just doing something stupid. Unfortunately that isn't the only thing I'm doing wrong - this just moved me to my next problem. Here's a simplified example- ignoring the reader code I have: where my source document looks like: This is my first acti

Re: JSTL x:parse problems

2002-04-18 Thread peter lin
use that approach - I was hoping there was > something simple I was missing that was keeping this from working. > > - Original Message - > From: "peter lin" <[EMAIL PROTECTED]> > To: "Tag Libraries Users List" <[EMAIL PROTECTED]> > Sen

Re: JSTL x:parse problems

2002-04-18 Thread Shawn Bayern
ally can take a Reader as the documentation > states, then I would rather use that approach - I was hoping there was > something simple I was missing that was keeping this from working. > > - Original Message - > From: "peter lin" <[EMAIL PROTECTED]> > To:

Re: JSTL x:parse problems

2002-04-18 Thread peter lin
ECTED]> > To: "Tag Libraries Users List" <[EMAIL PROTECTED]> > Sent: Thursday, April 18, 2002 8:42 AM > Subject: Re: JSTL x:parse problems > > > > > I think you're problem is that xmlText expects String. Have you tried > > xmlURL, is

Re: JSTL x:parse problems

2002-04-18 Thread Steve Appling
something simple I was missing that was keeping this from working. - Original Message - From: "peter lin" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 8:42 AM Subject: Re: JSTL x:parse problems > >

Re: JSTL x:parse problems

2002-04-18 Thread peter lin
I think you're problem is that xmlText expects String. Have you tried xmlURL, isntead of xmlText. here is the way I use parse, which works fine. sample.xml peter lin Steve Appling wrote: > > I am having problems using the standard tag library x:parse tag using a > reader. The JSTL

JSTL x:parse problems

2002-04-18 Thread Steve Appling
I am having problems using the standard tag library x:parse tag using a reader. The JSTL spec says that the xmlText attribute can take either a String or a Reader. I am trying the following: <% InputStream is = application.getResourceAsStream("/test.xml"); InputStreamReader reader = new InputSt