<?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: Problem with inserting element in a repeating choice group</title><link>https://www.infopathdev.com:443/forums/thread/51251.aspx</link><pubDate>Mon, 01 Feb 2010 16:39:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51251</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51251.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51251</wfw:commentRss><description>&lt;p&gt;The problem is that your schema is not properly defined. The key issue is that you are marking your individual elements as repeating (i.e. maxOccurs=&amp;quot;unbounded&amp;quot;). These are not what gets repeated, it is the choice that gets repeated. If you did nothing other than remove the unbounded from element1 and element2, you&amp;#39;d stop getting your error.&lt;/p&gt;
&lt;p&gt;However, the safest thing to do is to create a choice schema in the InfoPath designer and then model yours after the way InfoPath &amp;quot;likes and expects&amp;quot; the schema to be. That is how I figured out why yours wasn&amp;#39;t working. I just compared yours against one created in InfoPath.&lt;/p&gt;
&lt;p&gt;Below is an example of your schema upgraded to look more like the way InfoPath would design one. Note that the main difference is that the choice is inside a group and not directly off the root--but that isn&amp;#39;t required.&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;xs:schema xmlns:xs=&amp;quot;&lt;a href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/a&gt;&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;xs:element name=&amp;quot;richBody&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;xs:complexType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xs:sequence&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xs:element name=&amp;quot;group&amp;quot; minOccurs=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xs:complexType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xs:choice maxOccurs=&amp;quot;unbounded&amp;quot; minOccurs=&amp;quot;0&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xs:element name=&amp;quot;element1&amp;quot; type=&amp;quot;xs:string&amp;quot; minOccurs=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;xs:element name=&amp;quot;element2&amp;quot; type=&amp;quot;xs:string&amp;quot; minOccurs=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xs:choice&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xs:element&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/xs:element&amp;gt;&lt;br /&gt;&amp;lt;/xs:schema&amp;gt;&lt;/p&gt;</description></item><item><title>Re: Problem with inserting element in a repeating choice group</title><link>https://www.infopathdev.com:443/forums/thread/51209.aspx</link><pubDate>Sun, 31 Jan 2010 17:56:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51209</guid><dc:creator>hooked82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51209.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51209</wfw:commentRss><description>&lt;p&gt;Nobody can help me with this issue?&lt;/p&gt;</description></item><item><title>Re: Problem with inserting element in a repeating choice group</title><link>https://www.infopathdev.com:443/forums/thread/51180.aspx</link><pubDate>Fri, 29 Jan 2010 21:07:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51180</guid><dc:creator>hooked82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51180.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51180</wfw:commentRss><description>&lt;p&gt;Anybody know why I&amp;#39;m having this issue?&lt;/p&gt;</description></item><item><title>Problem with inserting element in a repeating choice group</title><link>https://www.infopathdev.com:443/forums/thread/51107.aspx</link><pubDate>Thu, 28 Jan 2010 18:11:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51107</guid><dc:creator>hooked82</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51107.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=51107</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve got a problem with my InfoPath form where I am unable to isnert a choice section between two choice sections of the same kind in a repeating choice group.&amp;nbsp; When I insert the section, I receive the following error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;InfoPath cannot insert the section or row because of an error&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The attempted fragment operation cannot be completed because there is no valid insertion point for the fragment&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;My XSD Date Source for the form is as follows:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;lt;xs:schema&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;xs:element name=&amp;quot;richBody&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:complexType&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:choice maxOccurs=&amp;quot;unbounded&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name=&amp;quot;element1&amp;quot; maxOccurs=&amp;quot;unbounded&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:element name=&amp;quot;element2&amp;quot; maxOccurs=&amp;quot;unbounded&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:choice&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;br /&gt;&amp;lt;/xs:schema&amp;gt;&lt;/p&gt;
&lt;p&gt;When my form opens, element1 is the default choice section, and is automatically inserted into &amp;quot;richBody&amp;quot;.&amp;nbsp; Now I want to insert another element1 section after my first element1.&amp;nbsp; I now want to insert element2 after the first element1.&amp;nbsp; This is when I get the error.&amp;nbsp; The error doesn&amp;#39;t occur if I add element2 after element1, then add a second element1 after element2.&lt;/p&gt;
&lt;p&gt;Hopefully this makes sense, and somebody can help me out with the problem.&amp;nbsp; I&amp;#39;m running close to a deadline, and I am not sure what to do at this point.&amp;nbsp; Thanks in advance!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>