<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath error to mix MSXML</title><link>https://www.infopathdev.com:443/forums/thread/100684.aspx</link><pubDate>Tue, 06 Jan 2015 15:37:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100684</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=100684</wfw:commentRss><description>&lt;p&gt;You don&amp;#39;t happen to have multiple versions of InfoPath installed on the machine, do you? I think we&amp;#39;ve seen this in the past with IP 2007 &amp;amp; IP 2010 installed on the same machine.&lt;/p&gt;</description></item><item><title>Re: InfoPath error to mix MSXML</title><link>https://www.infopathdev.com:443/forums/thread/100683.aspx</link><pubDate>Tue, 06 Jan 2015 15:33:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100683</guid><dc:creator>cald88</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100683.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=100683</wfw:commentRss><description>&lt;p&gt;Hi the exact error message was just &amp;#39;It is an error to mix versions of MSXML&amp;#39; I have resolved the issue it turns out it was something to do with my infopath installation on my own machine. Not too sure what went wrong but I opened to code on another machine and it ran straight away but still get the error on my machine. I am in the process of uninstalling and re-installing both versions of infopath on my machine to try and over come the issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;</description></item><item><title>Re: InfoPath error to mix MSXML</title><link>https://www.infopathdev.com:443/forums/thread/100681.aspx</link><pubDate>Tue, 06 Jan 2015 15:26:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100681</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100681.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=100681</wfw:commentRss><description>&lt;p&gt;What is the exact error message?&lt;/p&gt;</description></item><item><title>InfoPath error to mix MSXML</title><link>https://www.infopathdev.com:443/forums/thread/100679.aspx</link><pubDate>Tue, 06 Jan 2015 09:43:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100679</guid><dc:creator>cald88</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=100679</wfw:commentRss><description>&lt;p&gt;Hi I am having an issue with an infopath project I have built and was running for a good 6 months before the issue arose. &lt;/p&gt;
&lt;p&gt;The code all runs as should on infoPath 2010 where the form and code were built but they were built in 2007 compatibility mode as my client who uses the form only has access to 2007 but it no longer works on 2007. I don&amp;#39;t know what I have done and I have tried going through it with a couple of colleagues and cant seem to figure it out as even using the old code and form before the change no longer work. I have also tested on infoPath 2013 and it gives me the same MSXML error. I have tried a couple of different things I have found on google but with no avail. If I change the namespace for &amp;#39;my&amp;#39; it breaks my code completely. &lt;/p&gt;
&lt;p&gt;This is the change I made which started the problems but I have tried removing and even pulling and old version of the form and code from subversion and still have the same issue. &lt;/p&gt;
&lt;p&gt;notes = item.SelectSingleNode(&amp;quot;ows_Notes&amp;quot;, NamespaceManager).Value; &lt;/p&gt;
&lt;p&gt;to this &lt;/p&gt;
&lt;p&gt;notes = Microsoft.SharePoint.Utilities.SPHttpUtility.ConvertSimpleHtmlToText(item.SelectSingleNode(&amp;quot;@ows_Notes&amp;quot;, NamespaceManager).Value, -1); 
&lt;p&gt;notes = Regex.Replace(notes, @&amp;quot;\r\n?|\n&amp;quot;, &amp;quot;&amp;quot;); 
&lt;p&gt;notes = TrimWhitespace(notes); 
&lt;p&gt;But this is where the error occurs. Its not just this section its everytime I try to write to any of the variables in the form in this way. 
&lt;p&gt;using (XmlWriter writer = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:group6&amp;quot;, NamespaceManager).AppendChild()) 
&lt;p&gt;{ 
&lt;p&gt;writer.WriteStartElement(&amp;quot;group7&amp;quot;, myNamespace); 
&lt;p&gt;writer.WriteElementString(&amp;quot;visitors_name&amp;quot;, myNamespace, visitor_name); 
&lt;p&gt;writer.WriteElementString(&amp;quot;group_name&amp;quot;, myNamespace, groupName); 
&lt;p&gt;writer.WriteElementString(&amp;quot;confidential&amp;quot;, myNamespace, confidential); 
&lt;p&gt;writer.WriteElementString(&amp;quot;company&amp;quot;, myNamespace, company); 
&lt;p&gt;writer.WriteElementString(&amp;quot;arrival_time&amp;quot;, myNamespace, arrival); 
&lt;p&gt;writer.WriteElementString(&amp;quot;host&amp;quot;, myNamespace, host); 
&lt;p&gt;writer.WriteElementString(&amp;quot;host_phone&amp;quot;, myNamespace, hostPhone); 
&lt;p&gt;writer.WriteElementString(&amp;quot;host_department&amp;quot;, myNamespace, hostDepartment); 
&lt;p&gt;writer.WriteElementString(&amp;quot;reason&amp;quot;, myNamespace, reason); 
&lt;p&gt;writer.WriteElementString(&amp;quot;created_by&amp;quot;, myNamespace, createdBy); 
&lt;p&gt;writer.WriteElementString(&amp;quot;ID&amp;quot;, myNamespace, ID); 
&lt;p&gt;writer.WriteElementString(&amp;quot;picSelect&amp;quot;, myNamespace, &lt;a href="http://xsappsuk.bmwgroup.net/sites/PA7/SiteCollectionImages/blank.jpg"&gt;http://xsappsuk.bmwgroup.net/sites/PA7/SiteCollectionImages/blank.jpg&lt;/a&gt;); 
&lt;p&gt;writer.WriteElementString(&amp;quot;listNotes&amp;quot;, myNamespace, notes); 
&lt;p&gt;writer.WriteEndElement(); writer.Close(); 
&lt;p&gt;} 
&lt;p&gt;&amp;nbsp;Please any help on the matter would be greatly appreciated.&lt;/p&gt;</description></item></channel></rss>