This is a migrated thread and some comments may be shown as answers.

Validate docx in OpenXML Productivity Tool

3 Answers 237 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Rieni De Rijke
Top achievements
Rank 1
Rieni De Rijke asked on 21 Jan 2015, 03:49 PM
Hello,
I created a word document with use of the Telerik Editor - example.( Telerik\UI for WPF Q3 2014\Binaries.NoXaml\WPF40)
It's a very simple document: one line 'Hello World' 
and a bullet list with some items in 3 levels.
When I validate this in the "OpenXML SDK 2.5  Productivity Tool for Microsoft Office" I got a lot of errors.
59 errors when validating with Office 2007 formats and 31 when validating with Office 2013 formats.

What's the reason of this?
And which version of OpenXml is Telerik using?

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 23 Jan 2015, 02:17 PM
Hi Rieni De Rijke,

We are aware of such issues when the XML is validated after RadDocument's export, but however they are relatively insignificant. Such errors pop out when the order of attributes of an exported element is different for example. 

However, if there is something specific which you think will crash your application, please share it with us along with a sample document and we will look into it.

Regards,
Todor
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Rieni De Rijke
Top achievements
Rank 1
answered on 26 Jan 2015, 03:03 PM
Hmm.. it scares me..
If this is only because of a different order of attributes, why can't you put it in the right order then? 
I also asked which version of OpenXML you are using...
0
Todor
Telerik team
answered on 29 Jan 2015, 08:57 AM
Hello Rieni De Rijke,

We have this item logged in our backlog, but it is with relatively low priority since the validation errors don't cause critical issues like crashes or inability to show the document. 

About the OpenXML version which we are using - when we implement new features and make the related import/export functionality available, we always use the newest available specification. This means that more than one version is used for RadRichTextBox's DocxFormatProvider and we cannot claim that any specific one is used.

If you have further questions, I'll be glad to assist you.

Regards,
Todor
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
RichTextBox
Asked by
Rieni De Rijke
Top achievements
Rank 1
Answers by
Todor
Telerik team
Rieni De Rijke
Top achievements
Rank 1
Share this question
or