Sorry, did not work. Same IIS error displayed. I also tried it in the form:
<@for stop="<@numrows array='request$arrTempGenre'>"> Same thing. Jan -----Original Message----- From: Ferr� A&T - Giorgio Tassistro [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 00:52 To: [EMAIL PROTECTED] Subject: Re: Witango-Talk: <@for> metatag generating an IIS error I think that this is a error <@for stop="<@numrows array='@@request$arrTempGenre'>"> you can yo try so <@for stop="<@numrows array=request$arrTempGenre>"> Regards Giorgio ----- Original Message ----- From: "Jan Magnusson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 16, 2003 11:25 PM Subject: RE: Witango-Talk: <@for> metatag generating an IIS error > > I'm afraid that was not the case, the lack of the < > seems to have been due > to my mistake of sending the first mail in html format and not plain text. > > The whole results action pasted straight from the taf: > > ________________ > > <@assign name="arrTempCategory" value="<@filter array='arrGenre' > expr='#GenreID = @@user$varGenreID' scope='application'>" scope="request"> > > <@assign name="arrTempGenre" value="<@filter array='arrGenre' > expr='#CategoryName = <@var name="arrTempCategory[1,Genre]" > scope="request">' scope='application'>" scope="request"> > > > > <@purge name="arrArtistList" scope="user"> > > <@assign name="arrArtistList" value="<@array rows='1' cols='<@numcols > array="@@request$resultset">'>" scope="user"> > > > <@for stop="<@numrows array='@@request$arrTempGenre'>"> > > <@addrows array="arrArtistList" scope="user" value="<@filter > array='resultset' scope='request' expr='#GenreID = <@var > name="arrTempGenre[<@currow>,GenreID]" scope="request">'>"> > </@for> > > <@delrows array="arrArtistList" position="1" scope="user"> > <@assign name="arrArtistList[0,*]" value="@@request$resultset[0,*]" > scope="user"> > > _______________________ > > Jan > > -----Original Message----- > From: Tom Ferguson [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2003 00:07 > To: [EMAIL PROTECTED] > Subject: RE: Witango-Talk: <@for> metatag generating an IIS error > > > do you need < > on the closing /@for ?? > -----Original Message----- > From: Jan Magnusson [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 4:42 PM > To: Witango-Talk > Subject: Witango-Talk: <@for> metatag generating an IIS error > > > Hi, > > Platform: W2003 Server, IIS 6, Witango 5.0 > > Has anybody run into this before: > > A simple <@for...> </@for> metatag pair within a more complex results action > has managed to destroy my day by generating the following (typical) IIS > error output: > > ____________________________________________________________________________ > ___________________ > The XML page cannot be displayed > Cannot view XML input using XSL style sheet. Please correct the error and > then click the Refresh button, or try again later. > > > -------------------------------------------------------------------------- -- > ---- > > A semi colon character was expected. Error processing resource > 'http://server01/orfeo/OrfeoMA/OrfeoMAHome.taf?_action=list&... > > <td width="60%"><font size="+1"><ul><b><li><a > href="/orfeo/OrfeoMA/OrfeoMAHome.taf?_a... > ____________________________________________________________________________ > ____________________ > > > When saying "typical" I mean that more than 90% of the time this has been > the output. The last line (<td width="60%"><font size... ) has taken > different values depending on changes I have done to the results action, but > the text it displays always generates from totally different results actions > within the taf. > > Occasionally it has also ended with a Witango Server error -615 message and > a few times it has even worked, especially immediately after a refresh of > the taf on the browser client or starting up a new browser window... > > The <@for> metatag typically (having tried out some million different > possibilities) looked like this: > > <@for stop="<@numrows array='@@request$arrTempGenre'>"> > <@addrows array="arrArtistList" scope="user" value="<@filter > array='resultset' scope='request' expr='#GenreID = <@var > name="arrTempGenre[<@currow>,GenreID]" scope="request">'>"> > /@for > The rest of the taf has worked fine all the time as long as this one results > action was not hit. > I even retyped the whole results action manually, moved it to a different > place in the taf, copied everything into a new clean taf file, tried to run > the <@for> /@for metatag pair empty, restarted both server and Witango > service etc, but to no help. Commenting out the <@for> metatag pair always > resolved the IIS issue (although not giving me the correct output). > At the end I just split my whole results action into 3 separate actions with > a "for loop" action in between two results actions and now it works. And > it's not a typing error, I "cut and pasted" the stuff. > Ok, it now works, but I really would like to understand the problem I hit. > Jan > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
