Replies: 2   Views: 5035
Createdocx verification
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by jfboyer  · 22-12-2010 - 12:41


How to verify if the createDocx method done the job correctly, without using file_exists of PHP?


Posted by admin-phpdocx  · 12-07-2013 - 13:36

In principle if there is "no fatal error" the docx must have been generated.

A differennt thing is if the document has been "properly generated". Unfortunately the OOXML schema is faulty by design so if one use the standard schema validators you get into circular loops...this is a well known issue.

So teh only solution, by the time being is thorough testing :-)