Converting XPS from third party system

Hi

We have an xps file from a third party system which can be viewed correctl;y but when we attempt to consume it using the Aspose.Pdf Document object we get the following error.

“.*/Documents\1\FixedDoc.fdoc/[(?\d+)]” - Unrecognized escape sequence \F

Below is a code sample

var xpsDocument = new Aspose.Pdf.Document(“TempTestFile.xps”, new Aspose.Pdf.XpsLoadOptions());
xpsDocument.Save(“MyTest.pdf”);

I can see that if I generate my own file which is an oxps it does work but I’m not sure if there are any options to deal with this issue or if it’s a known bug.

Regards

@psmurphy2020

Thank you for contacting support.

Would you please share respective files with us so that we may try to reproduce and investigate it in our environment. Please also ensure using Aspose.PDF for .NET 18.12.