C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

InfoPath 2007 XML Rich Text Issue

rated by 0 users
This post has 4 Replies | 1 Follower

Not Ranked
Posts 3
bisonsmyth Posted: Mon, Apr 13 2009 5:14 PM

I have a C1Report, using C1Report Designer version 2.5.20072.239, which works fine with XML being brought in from an InfoPath 2007 form until... I try to bring in some Rich Text data such as underlining a word.  The C1 form does not recognize the schema and crashes.  When I use the same InfoPath item and take the underline off the report works fine.

Any ideas?

Top 10 Contributor
Posts 1,394
C1_Dima replied on Mon, Apr 13 2009 6:34 PM

Please try the current build of c1report: http://prerelease.componentone.com/dotnet20/c1report/2009-t1/C1Report.2_2.6.20091.52010.zip

If the problem persists, please upload a sample wtih instructions on how to repro the issue, and I will look into it.

Thanks.

Cheers, Dima.
Not Ranked
Posts 3

Using the latest release in your link does not recognize the InfoPath 2007 XML Schema at all.  Is it InfoPath 2007 in general or is there a design problem with my datasource in InfoPath that is causing the XML Schema to be different?

I attached a copy of both a Rich Text and a Non-Rich Text version of the same Infopath 2007 XML file.  The only difference between the two XML files is that the Rich Text version has a single word that is BOLD.

Note: There are Repeating Sections in the XML data.  Maybe this is the issue.

 Thank you for your quick response.

Not Ranked
Posts 3

I continue to have issues using an InfoPath 2007 form with Rich Text data as a source for a C1Report.

 Below is an example of the Rich Text contained in the XML that I am getting from InfoPath:

  1. The text is "Enter Your Personal Objective Here ..." 
  2. The word Personal is a Larger font
  3. The word Objective is Bold

This is the only formatting on this line.  Is there a way to parse this into a C1 report?

<my:PerObjText><html xmlns="http://www.w3.org/1999/xhtml"><div>Enter Your <font size="6">Personal </font><strong>Objective </strong>Here ... 123</div></html></my:PerObjText> 

Top 50 Contributor
Posts 250

Sorry for delay with answer, please try 52015 build:

http://prerelease.componentone.com/dotnet20/c1report/2009-t1/C1Report.2_2.6.20091.52015.zip

Page 1 of 1 (5 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.