DocumentBuilder "Sequence contains no elements error"
- This topic has 1 reply, 2 voices, and was last updated 9 years, 5 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Open-Xml-PowerTools › DocumentBuilder "Sequence contains no elements error"
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