<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>repeating table xmlToEdit error message</title><link>https://www.infopathdev.com:443/forums/thread/73183.aspx</link><pubDate>Wed, 21 Dec 2011 23:08:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73183</guid><dc:creator>Doreen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73183.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73183</wfw:commentRss><description>&lt;p&gt;I have a repeating control in View 1&amp;nbsp;that I copied into View 2.&amp;nbsp; Then I removed some controls in the repeating table in View 2.&amp;nbsp; In the course of messing with repeating control in View 2 - I managed to remove the binding of all controls in the repeating table on View 1.&amp;nbsp; I rebound them but still get the following error message.&amp;nbsp;The bolded portion is the official&amp;nbsp;name of my repeating table control (Main data source) on View 1 and View 2 but the underscore# portion&amp;nbsp;( _565) does not match the xmlToEdit in the property of the control in each view.&amp;nbsp; The error references a different underscore#.....how do I fix this? (The viewContent is the same CTRL406 for both)&lt;/p&gt;&lt;p&gt;View 1, xmlToEdit: &lt;strong&gt;rtblEstimatedCostsTable2_B4&lt;/strong&gt;_2513&lt;/p&gt;&lt;p&gt;View 2, xmlToEdit: &lt;strong&gt;rtblEstimatedCostsTable2_B4&lt;/strong&gt;_167&lt;/p&gt;&lt;p&gt;The error message:&lt;/p&gt;&lt;p&gt;InfoPath cannot open the following view: B - Estimated Cost Worksheet&lt;br /&gt;The form definition (.xsf) file has an error on the following element or attribute: xsf:xmlToEdit&lt;br /&gt;Error: The following attribute value is incorrect:container in the xmlToEdit element with name = &amp;quot;&lt;strong&gt;rtblEstimatedCostsTable2_B4&lt;/strong&gt;_565&amp;quot;&lt;/p&gt;&lt;p&gt;----&lt;/p&gt;&lt;p&gt;UPDDATE 1:&lt;/p&gt;&lt;p&gt;I extracted the manifest.xsf file and found several occurances of _565 control (below).&amp;nbsp; It looks like the first occurance has a strange character at the end of the container attribute.&amp;nbsp; &lt;/p&gt;&lt;p&gt;1) I changed the container value to be the same as the item value, then saved the file which updated my cab&amp;nbsp;and thus my xsn file.&amp;nbsp; BUT now I CAN NOT open the modified template.xsn in Design mode nor can I open the cab file (it just won&amp;#39;t open to all the files anymore).&amp;nbsp; I must&amp;#39;ve saved my manifest.xsf changes incorrectly?&amp;nbsp; Anyway now I get ERROR MSG 2 shown below.&lt;/p&gt;&lt;p&gt;&amp;nbsp;How do I fix this?&lt;/p&gt;&lt;p&gt;----&lt;br /&gt;&amp;lt;xsf:xmlToEdit name=&amp;quot;rtblEstimatedCostsTable2_B4_565&amp;quot; item=&amp;quot;/my:myFields/my:grpEstimatedCosts_B4/my:rtblEstimatedCostsTable1_B4/my:rtblEstimatedCostsTable2_B4&amp;quot; container=&amp;quot;/my:myFields/my:grpEstimatedCosts_B4/my:רʶ&amp;quot;&amp;gt;&lt;br /&gt;----&lt;br /&gt;&amp;lt;xsf:button action=&amp;quot;xCollection::insert&amp;quot; xmlToEdit=&amp;quot;rtblEstimatedCostsTable2_B4_565&amp;quot; caption=&amp;quot;rtblEstimatedCostsTable2_B4&amp;quot;&amp;gt;&amp;lt;/xsf:button&amp;gt;&lt;br /&gt;----&lt;br /&gt;&amp;lt;xsf:button action=&amp;quot;xCollection::insertBefore&amp;quot; xmlToEdit=&amp;quot;rtblEstimatedCostsTable2_B4_565&amp;quot; caption=&amp;quot;Insert rtblEstimatedCostsTable2_B4 before&amp;quot; showIf=&amp;quot;immediate&amp;quot;&amp;gt;&amp;lt;/xsf:button&amp;gt;&lt;br /&gt;----&lt;br /&gt;&amp;lt;xsf:button action=&amp;quot;xCollection::insertAfter&amp;quot; xmlToEdit=&amp;quot;rtblEstimatedCostsTable2_B4_565&amp;quot; caption=&amp;quot;Insert rtblEstimatedCostsTable2_B4 after&amp;quot; showIf=&amp;quot;immediate&amp;quot;&amp;gt;&amp;lt;/xsf:button&amp;gt;&lt;br /&gt;----&lt;br /&gt;&amp;lt;xsf:button action=&amp;quot;xCollection::remove&amp;quot; xmlToEdit=&amp;quot;rtblEstimatedCostsTable2_B4_565&amp;quot; caption=&amp;quot;Remove rtblEstimatedCostsTable2_B4&amp;quot; showIf=&amp;quot;immediate&amp;quot;&amp;gt;&amp;lt;/xsf:button&amp;gt;&lt;br /&gt;----&lt;br /&gt;&amp;lt;xsf:button action=&amp;quot;xCollection::insert&amp;quot; xmlToEdit=&amp;quot;rtblEstimatedCostsTable2_B4_565&amp;quot; caption=&amp;quot;Insert rtblEstimatedCostsTable2_B4&amp;quot; showIf=&amp;quot;immediate&amp;quot;&amp;gt;&amp;lt;/xsf:button&amp;gt;&lt;br /&gt;----&lt;/p&gt;&lt;p&gt;ERROR MSG 2:&lt;br /&gt;The following file is referenced in the .xsf file but is not part of the form: myschema.xsd.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Update: I ended up starting over from a backup copy of my template&amp;nbsp;(losing a day&amp;#39;s work) as I couldn&amp;#39;t resolve this issue.&amp;nbsp; Every fix I did created a new problem.&lt;/p&gt;</description></item></channel></rss>