<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath throws Errormessage after using CopyRichText Command</title><link>https://www.infopathdev.com:443/forums/thread/61434.aspx</link><pubDate>Mon, 15 Nov 2010 19:53:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61434</guid><dc:creator>Jim Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61434.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=61434</wfw:commentRss><description>&lt;p&gt;The nodes from 9998 copied without an error in my test form.&amp;nbsp; Please email your xsn to support at qdabra.com and we&amp;#39;ll see if we can repro.&lt;/p&gt;</description></item><item><title>Re: InfoPath throws Errormessage after using CopyRichText Command</title><link>https://www.infopathdev.com:443/forums/thread/61380.aspx</link><pubDate>Fri, 12 Nov 2010 22:03:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61380</guid><dc:creator>joanfuture</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61380.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=61380</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sorry, you were asking for the &lt;u&gt;values&lt;/u&gt; of the two fields, not the way I put them to work, of course :-)&lt;/p&gt;
&lt;p&gt;Well their values are absolute xpaths to the two RichTextFields, one&amp;nbsp;in MainSource. i.E.: /my:versuchsbericht/my:versuchsaufbauPrfmittel/my:versuchsaufbau/my:text&lt;/p&gt;
&lt;p&gt;and the other would be the same for that field, so again: /my:versuchsbericht/my:versuchsaufbauPrfmittel/my:versuchsaufbau/my:text, but of course the&amp;nbsp;data source is different. The data source is a XML File Data Connection.&lt;/p&gt;
&lt;p&gt;These paths don&amp;#39;t differ in this case, but they can and do for other fields, when the form design had changed from one version to the next.&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item><item><title>Re: InfoPath throws Errormessage after using CopyRichText Command</title><link>https://www.infopathdev.com:443/forums/thread/61379.aspx</link><pubDate>Fri, 12 Nov 2010 21:28:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61379</guid><dc:creator>joanfuture</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=61379</wfw:commentRss><description>&lt;p&gt;My xsn ist 280kb in size plus code (zip didn&amp;#39;t make it much smaller). Maybe I can send it via email to you?&lt;/p&gt;
&lt;p&gt;I tried to narrow it down: When the following line is at the end of the RichTextField the error occurs.&amp;nbsp;When I delete it and import the RichText, it works. I don&amp;#39;t know, how I should interpret this behaviour. I mean, I can&amp;#39;t tell what could be wrong with that tag. &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;lt;div style=&amp;quot;MARGIN-TOP: 0pt; TEXT-INDENT: 0in; PADDING-LEFT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; language: de&amp;quot; align=&amp;quot;left&amp;quot; xmlns=&amp;quot;&lt;a href="http://www.w3.org/1999/xhtml%22%3E%3Cfont"&gt;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&amp;lt;font&lt;/a&gt; style=&amp;quot;FONT-SIZE: 11pt&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;language: de&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;MP - measurement point &amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I noticed the image as well, but as far as I can tell from my testing, it is not the problem.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;XPathTemplateField&lt;/strong&gt; and &lt;strong&gt;XPathMainField&lt;/strong&gt; are both textfields, that I store the xpaths for the source- and target node in. You see, in total, I copy seven such Richtextfields from the template file. So for design reasons I have one rule, that builds the string for the qrules Command and refers to these proxy fields&amp;nbsp;and I call this rule seven times from the other rules (that among other things set the correct xpaths of course).&lt;/p&gt;
&lt;p&gt;I tried to copy by code the innerXML with no better result in the end. Then I tried to copy the outerXML, that didn&amp;#39;t work either. It puzzles me, since the other template file opens and renders ok. So if I copy the outerXML of RichText, why shouldn&amp;#39;t it work? Isn&amp;#39;t it simple text at that level without interpretation of tags?&lt;/p&gt;
&lt;p&gt;With the form-design itself I am quite happy&amp;nbsp;and it works for&amp;nbsp;many templates that users would import later. I have no statistic how many files this error occurs on yet. But the concept was ok so far, I thought.&lt;/p&gt;
&lt;p&gt;Thx&lt;br /&gt;Michael&lt;/p&gt;</description></item><item><title>Re: InfoPath throws Errormessage after using CopyRichText Command</title><link>https://www.infopathdev.com:443/forums/thread/61378.aspx</link><pubDate>Fri, 12 Nov 2010 20:05:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61378</guid><dc:creator>Jim Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61378.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=61378</wfw:commentRss><description>&lt;blockquote&gt;
&lt;p&gt;The primary difference in the files is the 9998 file has an embedded image.&amp;nbsp; But this is working in our test template using your 9998 file.&amp;nbsp; Can you send your xsn to our support alias?&lt;/p&gt;
&lt;p&gt;What are the values you are using in /my:XPathMainField and /my:XPathTemplateField?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: InfoPath throws Errormessage after using CopyRichText Command</title><link>https://www.infopathdev.com:443/forums/thread/61371.aspx</link><pubDate>Fri, 12 Nov 2010 15:23:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61371</guid><dc:creator>joanfuture</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61371.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=61371</wfw:commentRss><description>&lt;p&gt;this 9997-file&amp;nbsp;does &lt;u&gt;not&lt;/u&gt; cause the error on import.&lt;/p&gt;
&lt;p&gt;the other 9998-file in the post before this &lt;u&gt;does&lt;/u&gt; (just to be clear)&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;
&lt;p&gt;update: I just deleted the file attachment.&lt;/p&gt;</description></item><item><title>Re: InfoPath throws Errormessage after using CopyRichText Command</title><link>https://www.infopathdev.com:443/forums/thread/61369.aspx</link><pubDate>Fri, 12 Nov 2010 15:18:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61369</guid><dc:creator>joanfuture</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61369.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=61369</wfw:commentRss><description>&lt;p&gt;Hallo Patrick,&lt;/p&gt;
&lt;p&gt;I attached the XML File. There are about 5 Richtext fields in it, that can cause this error, I cleared the other Richtext Fields to stay below your attachment size.&lt;/p&gt;
&lt;p&gt;Please have a look at the RichText Field at this xpath:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;/my:versuchsbericht/my:versuchsaufbauPrfmittel/my:versuchsaufbau/my:text&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I will reply again and attach a file, that does not throw an error like this.&lt;/p&gt;
&lt;p&gt;Update: I just deleted the file attachment.&lt;/p&gt;</description></item><item><title>Re: InfoPath throws Errormessage after using CopyRichText Command</title><link>https://www.infopathdev.com:443/forums/thread/61359.aspx</link><pubDate>Fri, 12 Nov 2010 12:54:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61359</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61359.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=61359</wfw:commentRss><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;Can you attach the XML? Our CopyRichText guru (Hilary) is off today but will be back Monday. I&amp;#39;ll take a look at your XML, but my guess is that it&amp;#39;s a problem with the XHTML format.&lt;/p&gt;
&lt;p&gt;More later today,&amp;nbsp;&lt;/p&gt;</description></item><item><title>InfoPath throws Errormessage after using CopyRichText Command</title><link>https://www.infopathdev.com:443/forums/thread/61354.aspx</link><pubDate>Fri, 12 Nov 2010 11:05:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61354</guid><dc:creator>joanfuture</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61354.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=61354</wfw:commentRss><description>&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;I am using CopyRichText to copy a RichText Field from another datasource into the Main Datasource&amp;nbsp;and get the following error from InfoPath:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Only one top level element is allowed in an XML document.&lt;/p&gt;
&lt;p&gt;Line 25, Position 2&lt;br /&gt;&amp;lt;div&amp;gt;&amp;amp;#160;&amp;lt;/div&amp;gt;&lt;br /&gt;-^&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The error comes as soon as I click somewhere in my form after the rule has finished. I can perfectly reproduce&amp;nbsp;this behaviour. The error does not occur with every xml-file, that I bind in as the secondary datasource, however, if it occurs, it occurs everytime with that file. The other xml-File is an InfoPath-Form that I can open and that is perfectly shown and rendered. &lt;/p&gt;
&lt;p&gt;The qrules command should be correct, since it works very well with the files, that the error does not occur with.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(&amp;quot;CopyRichText /xpathdest=&amp;quot;, ../my:XPathMainField, &amp;quot; /dsnamesrc=VorlageVersuchsbericht /xpathsrc=&amp;quot;, ../my:XPathTemplateField)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So, mabye you have seen this kind of behaviour&amp;nbsp;and can help me?&lt;/p&gt;
&lt;p&gt;thanks&lt;br /&gt;Best regards&lt;br /&gt;Michael&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>