Schema validation error - InfoPath Dev
in

InfoPath Dev

Schema validation error

Last post 12-07-2009 12:38 AM by Jimmy. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 11-18-2009 10:39 AM

    Schema validation error

    I'm completely confused so I hope someone can help by re-explaining in different terms because I'm just not understanding what I'm looking for.

    I have a form template that I've been tweaking periodically with small changes since it went into production.  It's pretty much a straight-forward design, browser enabled, no repeating tables, using code behind for some buttons that updates a few fields based on what button they selected and such, and the submit is also in there as code.  There's a workflow on the SP library that will update the Form's fields every so often.  This WF has been in place for at least 3 months working as expected and has updated other forms in the library about the same time frame.

    On this one form (of maybe 50 that has gone in the last 3 weeks), I get 2 pop-up boxes when trying to open it:

    Warning - This form is digitally signed, but was created with an older version of theh form template.  This form will be upgraded to work with the new template, but this may remove its signatures.  Do you still want to open?  I click Continue to resume filling out the form.

    Critical Error - Schema validation found non-datatype errors.  I've tried both Start Over and Close and they both close the form.

    I took an offline copy of the form and opened it in IP and on the page that has maybe 7 sections that can be signed, the first block has "There is a problem with this signature" in red letters, but the form has been opened at least one other time just fine since the section was signed, so I'm not sure that it's really the signature with the problem.

    Now everything I've read that talks about this error refers to repeating tables and updating child fields.  I have no repeating tables in this template, never have.  So, how can I tell if it's trying to update something, and where it all started?  I haven't been able to replicate the issue so I don't know if perhaps at some point I had an error in my code and have since fixed it with a newer template or what.  I just don't know what I'm looking for.

    Any thoughts?

    Thanks...

  • 11-19-2009 09:13 PM In reply to

    Re: Schema validation error

    Hi Karen,

    Well, I'm guessing that the signatures block may allow multiple signatures (to do countersign). That would involve a repeating list of signatures. Just a guess though. You may have found a bug in InfoPath's ability to upgrade signed frms. 

    Patrick Halstead
    Project Manager at Qdabra
  • 11-20-2009 02:25 PM In reply to

    Re: Schema validation error

    Thanks Patrick, I'll chalk it up to that and ask my next set of questions about getting around upgrading the form in another post.

     Karen.

  • 12-07-2009 12:38 AM In reply to

    Re: Schema validation error

     It may very well be an issue with the signatures, but most of the times I've encountered this error, it has been due to trying to assign a value to a node with an xsi:nil attribute (this attribute has to be removed before assigning a value to a node.  Do you have any OnUpgrade or OnLoad code that might be doing this?

    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.