Forum Discussion

Mason's avatar
Mason
Frequent Contributor
17 years ago

Clearing string from Form view doesn't always clear the tag in the actual XML

I've noticed in some cases (it's intermittent and I haven't been able to track down exactly how it happens) however if I clear out a value from the form, I'll notice in the XML, the string is cleared however it leaves a blank tag.  (i.e. -- )

The service I'm testing does not see these tags as null and will attempt to evaluate it (resulting in error conditions).  Anyone else seeing this when modifying XML through the Form view?

6 Replies

  • Mason's avatar
    Mason
    Frequent Contributor
    Current build I'm using:  Build 3.0-pro-daily-build-2009-08-31-[1], Build Date 2009/08/31 05:20
  • Mason's avatar
    Mason
    Frequent Contributor
    Were there any code changes in an attempt to fix this issue?  Doesn't really sound like it in your reply.  I'm hesitant to try a new build unless there was a code change specifically for this issue.

    Cheers,
    Mason
  • Hi Mason,

    hmm.. the form editor will not remove elements that are required by the schema, even if their value is empty. If the element on the other hand is optional it should be removed, unless it is nillable, in which case it will be set to xsi:nil="true" (also applies to required elements).

    Could it be that the elements with which you are having this issue are required?

    regards!

    /Ole
    eviware.com