Stamps and widgets not wroking when importing xfdf files

tempXfdfPath = Path.GetRandomFileName();
System.IO.File.WriteAllText(tempXfdfPath, modifiedXmlString);

using (MemoryStream pdfStream = new(pdfContent))
using (Aspose.Pdf.Document pdfDocument = new(pdfStream))
{
pdfDocument.ImportAnnotationsFromXfdf(tempXfdfPath);

using (MemoryStream outputPdfStream = new())
{
    pdfDocument.Save(outputPdfStream);
    string splitAnnotationsString = ExportAnnotationsToXFDF(outputPdfStream.ToArray());


    return outputPdfStream.ToArray();
}

}

<?xml version="1.0" encoding="UTF-8" ?>data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAqBJREFUeF7t281RwzAQBWClE+gEOqEUqATohFIoBe9BQ8YTZf/e0wpGuuSQyF5/Xlkrx7603e4KXLbPfYENpGTIBtpAuYvIzqCdQWtk0ENr7am19pELB9b7BRULYogJzvsRkHx+Hof4CjvM2IYER+L5PuJ5jG3it1cWqONI9kiToCqROk4/wjRSBuiMcx1UBdIZB4IUBRrhVCGNcNJIESANZzaShpNC8gJZcWYhWXHCSB4gLw4byYsTQrICRXFYSFEcN5IFKIuDRsriuJA0IBQOCgmFY0bSgNABZYpJRiwSz/OxTPoaVdwakPRjBOatuBkxqDjyAwtQNVIZjgeoCqkUxws0G6kcJwI0C2kJnCgQG0ku4HI/B93uzlaZWWzUl3GWBUdqL3QL4WQyqB8AA2kZHAQQa7ihkMKZ0wOw1kFawCtmUhoHlUErDjcIDhpoleEGw2EAVSNBcVhAVUhwHCbQbCQKDhtoFhINZwYQG4mK89eBvDfdtFru5veoQnHmeu16X3QkJtCs6pqKxAKahdOziYbEAJqNQ0VCA1Xh0JCQQNU4FCQU0Co4cCQE0Go4UKQs0Ko4MKQM0Oo4EKQoEAtH1lb9iZLQ0mDQKVwnRYCYOP0pC8Y+QkheIEbgctJvrcoZ+3IjeYAYAY9wmH8EuJCsQBU4SyBZgCpxypE0oBVw2Ehv994M0oDQD3Fq1xxtakefMJk1ZYIYNg1IOiKREPeQUUgqjueeNAIJgYMabiYcD1A2k5A4WSQzjhcoisTAiSK5cCJAXiQmjhfJjRMFsiLNwLEihXAyQBrSTBwNKYyTBRohVeCMkFI4CKAzUiXOGSmNgwLqSPIpK+UVmrymPnyDxxOgpZL2bO/f/XYDKad0A22g3KjfGbQzaGdQTkDp/QO8YNpJTP18AAAAAABJRU5ErkJggg==

this is my code and this is my xfdf data i want to import but when i do this you are creating a stamp that is not visible and that hass the wrong icon you are overwriting it with draft…

this is what i get from you… how can i get around this behaviour and use my image data and have the right icon?

<?xml version="1.0" encoding="utf-8"?> PERJQ1QgS0VZPSJBUCI+DQo8U1RSRUFNIEtFWT0iTiIgREVGSU5FPSIiPg0KPE5BTUUgS0VZPSJG aWx0ZXIiIFZBTD0iRmxhdGVEZWNvZGUiIC8+DQo8TkFNRSBLRVk9IlN1YnR5cGUiIFZBTD0iRm9y bSIgLz4NCjxOQU1FIEtFWT0iVHlwZSIgVkFMPSJYT2JqZWN0IiAvPg0KPElOVCBLRVk9IkZvcm1U eXBlIiBWQUw9IjEiIC8+DQo8QVJSQVkgS0VZPSJCQm94Ij4NCjxJTlQgVkFMPSIwIiAvPg0KPElO VCBWQUw9IjAiIC8+DQo8SU5UIFZBTD0iMjMiIC8+DQo8SU5UIFZBTD0iMjMiIC8+DQo8L0FSUkFZ Pg0KPERJQ1QgS0VZPSJSZXNvdXJjZXMiPg0KPERJQ1QgS0VZPSJYT2JqZWN0IiAvPg0KPERJQ1Qg S0VZPSJGb250Ij4NCjxESUNUIEtFWT0iSGVsdiI+DQo8TkFNRSBLRVk9IlR5cGUiIFZBTD0iRm9u dCIgLz4NCjxOQU1FIEtFWT0iU3VidHlwZSIgVkFMPSJUeXBlMSIgLz4NCjxOQU1FIEtFWT0iQmFz ZUZvbnQiIFZBTD0iSGVsdmV0aWNhIiAvPg0KPE5BTUUgS0VZPSJOYW1lIiBWQUw9IkhlbHYiIC8+ DQo8L0RJQ1Q+DQo8L0RJQ1Q+DQo8RElDVCBLRVk9IkV4dEdTdGF0ZSI+DQo8RElDVCBLRVk9IlRy YW5zR3MiPg0KPE5BTUUgS0VZPSJUeXBlIiBWQUw9IkV4dEdTdGF0ZSIgLz4NCjxJTlQgS0VZPSJD QSIgVkFMPSIxIiAvPg0KPElOVCBLRVk9ImNhIiBWQUw9IjEiIC8+DQo8L0RJQ1Q+DQo8L0RJQ1Q+ DQo8L0RJQ1Q+DQo8QVJSQVkgS0VZPSJNYXRyaXgiPg0KPElOVCBWQUw9IjEiIC8+DQo8SU5UIFZB TD0iMCIgLz4NCjxJTlQgVkFMPSIwIiAvPg0KPElOVCBWQUw9IjEiIC8+DQo8SU5UIFZBTD0iMCIg Lz4NCjxJTlQgVkFMPSIwIiAvPg0KPC9BUlJBWT4NCjxJTlQgS0VZPSJMZW5ndGgiIFZBTD0iMjQi IC8+DQo8REFUQSBNT0RFPSJGSUxURVJFRCIgRU5DT0RJTkc9IkFTQ0lJIj4KCnEKL1RyYW5zR3Mg Z3MKUTwvREFUQT4NCjwvU1RSRUFNPg0KPC9ESUNUPg==

@Alzen
I’ll check this issue and write you as soon as I finish investigation

@Alzen
Could you attach xfdf and pdf documents as files - for now when I try to import mentioned xfdf content I get xml error
also, could you specify what version of Aspose PDF you are using?