<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Schema Validation Errors</title><link>https://www.infopathdev.com:443/forums/thread/44207.aspx</link><pubDate>Mon, 13 Jul 2009 13:08:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44207</guid><dc:creator>agray83</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=44207</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi there&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for the reply.&amp;nbsp; I should have said I am saving the form to a SharePoint form library (not a list).&amp;nbsp; This is using a standard submit using data connection rule in InfoPath and doesn&amp;#39;t have any custom code.&lt;/p&gt;&lt;p&gt;For an initial look it seems that when I fill-in the field from the
browser, the content in the resulting XML will contain HTML like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&amp;lt;div&amp;gt;test1 test2 test3&amp;lt;/div&amp;gt;&amp;lt;/html&amp;gt;&lt;/p&gt;
&lt;p&gt;However, if I fill-in the field from the InfoPath client it will just contain the text i.e. &amp;quot;test1 test2 test3&amp;quot;.&lt;/p&gt;
&lt;p&gt;Are forms filled-in from the browser guaranteed to be compatible with the office client application?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Cheers. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Schema Validation Errors</title><link>https://www.infopathdev.com:443/forums/thread/44089.aspx</link><pubDate>Fri, 10 Jul 2009 00:55:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44089</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=44089</wfw:commentRss><description>&lt;p&gt;Hi Andy,&lt;/p&gt;
&lt;p&gt;Somehow the form is not parsing the XHTML (rich text data) correctly when it opens and it fails to load as a result. We&amp;#39;d have to look at the form. How are you loading hte field from SharePoint? You said a SharePoint list, but that implies you are writing code to save the data and then reopen it. You&amp;#39;ll have to be careful to use the correct namespaces when you write the code etc. I twittered someone (maybe it was you) a while back - we have a tool to map XML to SharePoint lists (We&amp;#39;re adding roundtrip support now so you can load the form back from the SharePoint list).Check it out:&amp;nbsp;&lt;a href="http://www.infopathdev.com/blogs/jo-anne_alfafara/archive/2009/04/04/how-to-use-qdabra-s-infopath-to-sharepoint-list-tool.aspx"&gt;http://www.infopathdev.com/blogs/jo-anne_alfafara/archive/2009/04/04/how-to-use-qdabra-s-infopath-to-sharepoint-list-tool.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Schema Validation Errors</title><link>https://www.infopathdev.com:443/forums/thread/43941.aspx</link><pubDate>Wed, 08 Jul 2009 13:06:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43941</guid><dc:creator>agray83</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=43941</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have an InfoPath 2007 form with a rich text field.&amp;nbsp; If a save the form to a SharePoint library with the rich text field filled-in, and then try to re-open it in InfoPath I get the following error:&lt;/p&gt;&lt;p&gt;cannot open the following file: http://server/forms/form1.xml. The form contains schema validation errors. ?? Element &amp;#39;{http://www.w3.org/1999/xhtml}html&amp;#39; is unexpected according to content model of parent element &amp;#39;{http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-10-14T08:08:33}Note&amp;#39;. &lt;/p&gt;&lt;p&gt;&amp;nbsp;If I don&amp;#39;t fill-in the rich text field, the form re-opens without showing the above error.&amp;nbsp; Also, if I convert the rich text field to a text box and fill it in, the form re-opens without error.&amp;nbsp; It seems the error only occurs when a rich text field on the form is filled-in.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Does anyone have any idea why this error is showing when I have a filled-in rich text field?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;&lt;p&gt;Andy. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>