W3C home > Mailing lists > Public > www-forms@w3.org > March 2004

Re: Debugging forms

From: Robert Bateman <bobbateman@sequoiallc.com>
Date: Tue, 23 Mar 2004 12:46:21 -0500
To: www-forms@w3.org
Message-Id: <200403231246.21556.bobbateman@sequoiallc.com>

Rydian,

Thanks for the information about Xformation.   I posted a "bug" to your bug 
list about a problem I'm having with the schema viewer.  I've had to put my 
Xformation testing on hold due to the 'bug'.  I hope to get back into test 
soon after your next release.

Bob


On Tuesday 23 March 2004 12:26 pm, Rhydian Morris wrote:
> Hi Bob,
>
> I'm glad to know you think XFormation is a great tool but would like to see
> if I can help you with the use of the debug tools within this which can
> assist you greatly in writing your XForms including debugging my XPaths.
>
> The  'state view ' is good to show the state of the instance data and
> illustrate whether the state is valid or not. In future releases of
> XFormation we are looking at highlighting the invalid elements on the tree
> so it is clear to see which nodes are valid and which are not.
>
> The watch window is valuable to test your XPath expressions allowing you to
> incrementally build up the expression to ensure that the structure is
> valid. This will shortly include the ability to execute XPath and XForms
> functions.
>
> A technique that I also use when writing XForms is to use the following
> style .invalid { border:1px solid red;} which helps me identify which
> elements are invalid. For the elements of the Instance which are not bound
> to controls I sometimes temporarily bind them to output controls to see the
> bound value and where it is valid or not.
>
> It is also worth mentioning we are currently looking at improving the
> existing debug functionality  to include highlighting the invalid elements
> on the tree in the state view so that it is clear which nodes are valid and
> which are not and the ability to execute XPath and XForms functions within
> the Watch Window. This functionality will be announced  on the  XFormation
> website .
>
>
> If you are having specific problems with XFormation please don't hesitate
> to contact us and we will try our best to point you in the right direction.
>
> Regards
>
> Rhydian Morris
>
> www.xformation.com
>
> Focus Software Ltd
> Cranford House
> Kenilworth Road
> Leamington Spa
> Warwickshire
> CV32 6RQ
>
> Copyright material and/or confidential and/or privileged information may be
> contained in this e-mail and any attached documents. The material and
> information is intended for the use of the intended addressee only. If you
> are not the intended addressee, or the person responsible for delivering it
> to the intended addressee, you may not copy, disclose, distribute,
> disseminate or deliver it to anyone else or use it in any unauthorised
> manner or take or omit to take any action in reliance on it. To do so is
> prohibited and may be unlawful. The views expressed in this e-mail may not
> be those of Focus Software Ltd but the personal views of the originator. If
> you receive this e-mail in error, please advise the sender immediately by
> using the reply facility in your e-mail software. Please also delete this
> e-mail and all documents attached immediately.
>
> > -----Original Message-----
> > From: Robert Bateman [mailto:bobbateman@sequoiallc.com]
> > Sent: 22 March 2004 22:10
> > To: www-forms@w3.org
> > Subject: Debugging forms
> >
> >
> >
> > Greetings all.
> >
> > I've been having a discussion today with an associate who
> > uses XML a lot.
> > During our conversation, I rambled on about the difficulties
> > I've been having
> > while I'm both learning XPath and XForms and writing a form.
> >
> > One of the difficulties I'm having is "debugging" my various XPath
> > expressions.  One of the errors I get a LOT is my instance
> > data not being
> > "valid." This error means I can't write even invlid XML to
> > look at and "fix."
> >
> > I realize I'm quite stuck in my ways (I've been programming
> > for over 22
> > years.) and some habits (like debugging) are hard to break.
> > What I'm hoping
> > for is a little advice from the "experts" on the list as to
> > better ways to
> > debug using XForms and XPath.  (Please note that I've looked
> > at XFormation
> > and found that, while its a great tool, I can't get it to
> > work for me....)
> >
> > Thanks much for your time!
> >
> > Bob Bateman
> > Software Developer
> > Sequoia Group LLC

-- 
Bob Bateman
Sequoia Group LLC
bobbateman@sequoiallc.com
248-414-7288
248-414-7541 (fax)

******************************
This e-mail, including attachments, is intended for the exclusive use of the 
addressee and may contain proprietary, confidential or privileged
information.  If you are not the intended recipient, any dissemination, use,
distribution or copying is strictly prohibited.  If you have received this
e-mail in error, please notify me via return e-mail and permanently delete
the original and destroy all copies.  Please note that although this email has 
been virus checked, no responsibility for any transmitted viruses is 
accepted. It is therefore your responsibility to virus scan attachments (if 
any).
Received on Tuesday, 23 March 2004 13:05:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:57 GMT