AppendChild Error - InfoPath Dev
in

InfoPath Dev

AppendChild Error

Last post 05-27-2010 01:17 PM by aruna akella. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-27-2010 12:16 PM

    • arcad
    • Not Ranked
    • Joined on 05-10-2010
    • Posts 15

    AppendChild Error

    Hello,

    I am adding rows programmatically to repeating tables. I have 5 repeatings table and each of them has a button used to generate new rows. It worked fine for the first table but the buttons do not work for the other tables. I get the common error "Schema validation found non-data type errors" on row :

    MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:Mouse/my:group75", NamespaceManager).AppendChild(doc.DocumentElement.CreateNavigator());

    All of my fields are text strings. What other reason could be generating that error?

     

    Thanks!

     

    Filed under:
  • 05-27-2010 01:17 PM In reply to


    I think that error usually occurs if xsi:nil attribute is present, but as your fields are of string data type, so check your xpath expression. Can you show how your schema looks?

    Aruna Akella
    Qdabra® Software / InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.