Validate docx in OpenXML Productivity Tool

4 posts, 0 answers
  1. Rieni De Rijke
    Rieni De Rijke avatar
    170 posts
    Member since:
    Mar 2010

    Posted 21 Jan 2015 Link to this post

    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?
  2. Todor
    Admin
    Todor avatar
    168 posts

    Posted 23 Jan 2015 Link to this post

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rieni De Rijke
    Rieni De Rijke avatar
    170 posts
    Member since:
    Mar 2010

    Posted 26 Jan 2015 in reply to Todor Link to this post

    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...
  5. Todor
    Admin
    Todor avatar
    168 posts

    Posted 29 Jan 2015 Link to this post

    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.

     
Back to Top