Aspose is creating wrong xml file from docx file

Hi there,

I am facing below issue with Aspose 14.12.

I have a word document file with some customized field values which is being generated by my application. When I am passing this word document to aspose to create xml file, it is creating the bad xml node in that xml file. And because of this I am facing issue in my application when I am passing this wrongly generated xml file further in my application it removes that node values.

I have attached below files for your reference:

  1. Input.docx - Input file
  2. Output.xml - Output file
  3. CorrectNode.png - Image of node field correctly generated in above xml
  4. WrongNode.png - Image of node field wrongly generated in above xml

The node which I am referring here has value “contract.state” in 2 places in output.xml file. In above part value is being stored properly in one node as I am showing in image ‘CorrectNode.png’ but in lower part of xml file it is not being stored properly in one node and splitted into 2 nodes which I am showing in image file ‘WrongNode.png’

Please look into this on high priority as it is creating issue for one of our client.

Thanks
Pawan

As suggested by Aspose, I have tried this issue with latest 15.3.0 version dll and it is being reproduced with that too.

Thanks,
Pawan

Hi,

Can you please provide any update on this? I have raised this 2 days back but there is no update on this till now.

Thanks
Pawan

Hi Pawan,
We are investigating this issue and will update you soon. Sorry for the inconvenience.
Best Regards,

Hi Pawan,
If you convert the same document to XML using MS Word, you will see the same output so Aspose.Words output looks correct in this case. Please try to convert it using MS Word and test.
Have you manually changed the XML element mentioned in the screenshot?
Best Regards,