DocumentBuilder "Sequence contains no elements error"

Home Forums Open-Xml-PowerTools DocumentBuilder "Sequence contains no elements error"

This topic contains 1 reply, has 2 voices, and was last updated by  Eric White 8 years, 8 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3877

    Eric White
    Keymaster

    Hi Pravi,

    When you say:

    >> I have to admit that If I try to validate the docx using productivity tool, there are at least 49 errors and again, struggling to tie it back to the actual document and its content..

    Are you referring to the input document? One constraint about DocumentBuilder is that it is not prepared to process documents that have errors (with a few common exceptions that Word processes properly, and generates sometimes).

    In general, spend some effort in making sure that your input documents are perfect – this is my advice.

    Best, Eric

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.