We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Conversion from PPT to PPTX generates xml with invalid characters

Hi, for the attached ppt file when converted with Aspose.Slides(20.8.0) to pptx, the conversion is successful, however one of the dependency files is not valid xml since it contains a characters that xml does not allow ( 0x0E).

The corrupted file path in the pptx archive is: “\ppt\slideMasters_rels\slideMaster1.xml.rels”. On the first line around the position 1160-1170 you will find one of the invalid characters.

From the xml spec it can be seen that this character is not valid (among many others).
Xml Spec:

Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]

Looking forward for getting this fixed,
Thanks

output.zip (3.2 MB)
input.zip (3.1 MB)

@arnoldbeilandevozon

Can you please provide the sample code that you have used along with the snapshot highlighting the issue so that we may investigate that on our end.

Yes, here it is.

image.png (17.2 KB)

@arnoldbeilandevozon

I also requested to please share the following information snapshot as well.

Here it is. Any xml validator will show the same.
image.png (87.4 KB)

Also if trying to open the pptx in office:
image.png (34.1 KB)

@arnoldbeilandevozon

An issue with ID SLIDESNET-42183 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as SLIDESNET-42183) have been fixed in this update.