problem with XmlTextWriter.WriteValue(string) - InfoPath Dev
in

InfoPath Dev

problem with XmlTextWriter.WriteValue(string)

Last post 07-27-2008 11:04 PM by Sirshendu. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-27-2008 11:04 PM

    problem with XmlTextWriter.WriteValue(string)

    Hi,

    I am creating Infopath form instances programmatically from a published form template in sharepoint form library and populating some fields inside the form with data. The data will contain white spaces and special character. I have used the following link for reference: http://enterprise-solutions.swits.net/infopath2007/programmatically-create-infopath-form-console-app.htm

    In XmlTextWriter.WriteValue() method, if I pass a string of length more than 6, then generated xml is giving error saying “Character ' ', hexadecimal value 0x0 is illegal in XML documents”.

     

    If the value is limited to 6 character then its generating xml without any error, though its contain white spaces…

    Can anyone guide me to come out from this issue?

    Thanx

    Sirshendu Bhadra
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.