Hi Nicholas,

Your suggestion is a good one, but that's the weird thing about this
particular bug.

Normally Witango completely ignores any surrounding "text" or HTML
(including quotation marks) as being totally meaningless - if it's not part
of a Metatag. I've always found this behavior to be very reliable -
especially when I'm building XML output.

Typically, code like the following is valid and can execute without issue,
although not necessarily good practice:

<INPUT TYPE="TEXT" NAME="<@VAR NAME="some_name">" VALUE="<@VAR
NAME="some_value">" />

I thought I recall something like this came up during early Beta testing of
v5, so hopefully it's not a major issue to identify.

Cheers.....

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
---------------------

XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
---------------------


----- Original Message -----
From: "Nicholas Froome" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 20, 2003 8:34 AM
Subject: Re: Witango-Talk: This has GOT to be a bug, right? Inconsistent
looping.


> Joe
>
>
>
> You're nesting " inside " - if you strictly alternate ' and " tags it may
wel work
>
> See <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade<@CURROW>Q<@VAR
NAME="quarter" SCOPE="user">
>
>
> Try
>
>
> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade<@CURROW>Q<@VAR
NAME='quarter' SCOPE='user'>
>
> etc
>
>
>
>
> >The "cleaner" tags are below. They work in most of the iterations....
> >----
> ><@FOR START="1" STEP="1" STOP="20">
> ><TD>
> ><INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade<@CURROW>Q<@VAR
NAME="quarter" SCOPE="user">.<@COLUMN 'layout_0.Record_Identifyer'>"
VALUE="<@COLUMN 'layout_0.Grade<@CURROW>Q<@VAR NAME="quarter"
SCOPE="user">'>">
> ></TD>
> ></@FOR>
> >-----
> >
> >I still think this looks like a bug. Any thoughts on a work-around or
something I'm still doing wrong that is causing this?
> >
> >Thanks!!!!
> >
> >Joe
> >
> >
> >>Hi Joe,
> >>
> >>Technically speaking, I can't see anything wrong with your code (given
that
> >>there is more than one way to metatags) - although I'm not sure if that
> >>ending </@IF> tag belongs where it is or you're just not showing us all
the
> >>code.
> >>
> >>I would suspect it's a bug, if it worked with T2K. But try the following
to
> >>help isolate it.
> >>
> >>~ Properly scope all your <@VAR> tags.
> >>~ Could probably try using the <@CURROW> directly.
> >>~ Use the NAME= attribute with the <@COLUMN> tag.
> >>~ try removing the surrounding HTML and see what you get in the
View-source.
> >>
> >>Let us know what you get. Cheers......
> >>
> >>Scott Cadillac,
> >>Witango.org - http://witango.org
> >>403-281-6090 - [EMAIL PROTECTED]
> >>--
> >>Information for the Witango Developer Community
> >>---------------------
> >>
> >>XML-Extranet - http://xml-extra.net
> >>403-281-6090 - [EMAIL PROTECTED]
> >>--
> >>Well-formed Development (for hire)
> >>---------------------
> >>
> >>----- Original Message -----
> >>From: "Joe Terrasi" <[EMAIL PROTECTED]>
> >>To: <[EMAIL PROTECTED]>
> >>Sent: Wednesday, March 19, 2003 12:07 PM
> >>Subject: Witango-Talk: This has GOT to be a bug, right? Inconsistent
> >>looping.
> >>
> >>> OK, still trying to port over my t2k apps.... Thanks again to all who
> >>> have helped so far.
> >>>
> >>> But I just found a major source of frustration.... In one of my more
> >>> complex apps, I use a FOR loop to build part of a form as below:
> >>>
> >>> -----
> >>> <@FOR START="1" STEP="1" STOP="20">
> >>>
> >>> <@ASSIGN NAME="grade" VALUE="<@CURROW>" SCOPE="local">
> >>>
> >>>
> >>> <TD>
> >>> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade<@VAR
> >>> NAME="grade">Q<@VAR NAME="quarter">.<@COLUMN
> >>> 'layout_0.Record_Identifyer'>" VALUE="<@COLUMN 'layout_0.Grade<@VAR
> >>> NAME="grade">Q<@VAR NAME="quarter">'>">
> >>> </TD>
> >>> </@IF>
> >>>
> >>> </@FOR>
> >>> ------
> >>>
> >>>
> >>>
> >>> OK, it mostly works. But in sporadic rows, I get missing characters.
See
> >>below:
> >>>
> >>> ------
> >>> <TD>
> >>> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade1Q3.001812" VALUE="">
> >>> </TD>
> >>>
> >>> <TD>
> >>> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grade2Q3.001812" VALUE="">
> >>> </TD>
> >>>
> >>> <TD>
> >>> <INPUT TYPE=TEXT MAXLENGTH=2 SIZE=2 NAME="grad3Q3.001812" VALUE="">
> >>> </TD>
> >>> ------
> >>>
> >>> Look at the last input statement. See where it says "grad3Q3...?" Now
> >>> why in the world would it drop the "e" from the name (it should be
> >> > grade3Q3....)
> >>>
> >>> It doesn't do this with any consistency. This is a loop within
> >>> another loop, and 90% of the iterations on the page come out correct.
> >>> I can't find any rhyme or reason to connect the times that are a
> >>> problem. It's not always the same character that's dropped, either.
> >>> In one case, it was even a ">" which really fouled things up.
> >>>
> >>> Please tell me I'm not just losing my mind. This is an app that worked
in
> >>t2k.
> >>>
> >>> Thanks!
> >>>
> >>> Joe
> >>>
> >>> PS - config: Mac OSX 10.2, WebSTAR...
> >>> PPS - pretty sure I have the newest build of the plug-in now.
> >> > --
> >> > Joe Terrasi             [EMAIL PROTECTED]
> >> > St. Clement School      http://www.stclementschool.org
> >> > St. Clement Church      http://www.stclementchurch.org
> >>> 773-348-8212            fax: 773-348-4712
> >>>
> >>>
________________________________________________________________________
> >>> TO UNSUBSCRIBE: send a plain text/US ASCII email to
[EMAIL PROTECTED]
> >>>                 with unsubscribe witango-talk in the message body
> >>>
> >>
> >>________________________________________________________________________
> >>TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> >>                with unsubscribe witango-talk in the message body
> >
> >
> >--
> >Joe Terrasi             [EMAIL PROTECTED]
> >St. Clement School      http://www.stclementschool.org
> >St. Clement Church      http://www.stclementchurch.org
> >773-348-8212            fax: 773-348-4712
> >
> >________________________________________________________________________
> >TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> >               with unsubscribe witango-talk in the message body
>
>
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to