<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
I am not sure if that's the case. Of the two attached files doing an scf calculation on si.in does return an xml file but the other one returns the error mentioned above.
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> users <users-bounces@lists.quantum-espresso.org> on behalf of Pietro Davide Delugas <pdelugas@sissa.it><br>
<b>Sent:</b> Monday, February 6, 2023 1:24 PM<br>
<b>To:</b> Quantum ESPRESSO users Forum <users@lists.quantum-espresso.org><br>
<b>Subject:</b> Re: [QE-users] FoX: xml_AddCharacters Error</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div dir="auto">Hello
<div dir="auto">It's most likely a bug, hopefully one of those that were fixed in the newer versions.</div>
<div dir="auto">Regards - Pietro</div>
</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">Il 6 feb 2023 9:20 AM, "Mr. Sheharyar Pervez RA FES" <sheharyar@giki.edu.pk> ha scritto:<br type="attribution">
</div>
</div>
<div>
<div class="x_elementToProof x_ContentPasted0" style="font-family:"Times New Roman",Times,serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
When running an scf calculation on QE 6.4.1, I get the following from FoX:<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family:"Times New Roman",Times,serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<blockquote style="margin-top:0; margin-bottom:0">ERROR(FoX)
<div class="x_ContentPasted0">xml_AddCharacters: Invalid character in chars</div>
</blockquote>
<div class="x_ContentPasted0"><br>
</div>
<div class="x_ContentPasted0">The calculation runs fine but no xml file is generated. the following files are created:</div>
<div class="x_ContentPasted0"><br>
</div>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1" style="font-family:"Times New Roman",Times,serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<blockquote style="margin-top:0; margin-bottom:0">.
<div class="x_ContentPasted1"> kgec.in</div>
<div class="x_ContentPasted1"> qmof-f2ae0a5.save</div>
<div class="x_ContentPasted1"> charge-density.dat</div>
<div class="x_ContentPasted1"> data-file-schema.xml</div>
<div class="x_ContentPasted1"> paw.txt</div>
<div class="x_ContentPasted1"> qmof-f2ae0a5_scf.in</div>
<div class="x_ContentPasted1"> qmof-f2ae0a5_scf.out</div>
<div class="x_ContentPasted1"> qmof-f2ae0a5.wfc1</div>
</blockquote>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1" style="font-family:"Times New Roman",Times,serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0 x_ContentPasted1" style="font-family:"Times New Roman",Times,serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
I'm not sure where this invalid character comes from because the entire input file is in standard ascii format. How to go about solving this?<br>
</div>
</div>
</div>
</body>
</html>