My xsn ist 280kb in size plus code (zip didn't make it much smaller). Maybe I can send it via email to you?
I tried to narrow it down: When the following line is at the end of the RichTextField the error occurs. When I delete it and import the RichText, it works. I don't know, how I should interpret this behaviour. I mean, I can't tell what could be wrong with that tag.
<div style="MARGIN-TOP: 0pt; TEXT-INDENT: 0in; PADDING-LEFT: 0in; unicode-bidi: embed; DIRECTION: ltr; MARGIN-BOTTOM: 0pt; language: de" align="left" xmlns="http://www.w3.org/1999/xhtml"><font style="FONT-SIZE: 11pt"><span style="language: de"></span>MP - measurement point </font></div>
I noticed the image as well, but as far as I can tell from my testing, it is not the problem.
XPathTemplateField and XPathMainField 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 and I call this rule seven times from the other rules (that among other things set the correct xpaths of course).
I tried to copy by code the innerXML with no better result in the end. Then I tried to copy the outerXML, that didn'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't it work? Isn't it simple text at that level without interpretation of tags?
With the form-design itself I am quite happy and it works for 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.
Thx
Michael