<div dir="ltr"><div dir="ltr" class="gmail_msg">Hi Naman,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Apologies for the late reply.</div><div class="gmail_msg"><br></div><div class="gmail_msg">The properties whose names begin with hyphens (e.g. --PSV) are problematic in DMRS XML, because it results in the following structure:<br></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">    &lt;sortinfo --psv=&quot;non-apsv&quot; [...] /&gt;<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">XML attribute names may not begin with hyphens (<a href="https://www.w3.org/TR/xml/#NT-NameStartChar" class="gmail_msg" target="_blank">https://www.w3.org/TR/xml/#NT-NameStartChar</a>), so the XML parser throws an error. PyDelphin is not currently doing anything to remedy this situation, but I&#39;m not sure what is the appropriate change to make. Perhaps PyDelphin should just throw a more descriptive error message rather than attempt to modify the attribute name or (currently) do nothing. I can recommend a few remedies for you:</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"> 1. Rename properties such as &quot;--PSV&quot; to &quot;__PSV&quot; (or something) before MRS-&gt;DMRS conversion, and then rename it back on DMRS-&gt;MRS conversion.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"> 2. Use the DMRS-JSON format instead of DMRX (since JSON is not affected by this issue).</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"> 3. Remove the --PSV property (and similar) entirely, if they are not valuable for your work.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Does this help?</div></div><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Fri, Oct 28, 2016 at 11:15 PM Naman Deep Singh &lt;<a href="mailto:nmndeep@gmail.com" class="gmail_msg" target="_blank">nmndeep@gmail.com</a>&gt; wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg">I have compiled the german grammar .</div><div class="gmail_msg">But
 in the ACE generated MRS of any german sentence there seems to be an 
additional &#39;--&#39; preffixed to few attributes as PSV, ZU which is leading 
to an error generation on attempt to generate DMRS for the same.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Also, On removing this &#39;--&#39; the DMRS is generated absolutely fine.</div><div class="gmail_msg">Please suggest me a remedy for this issue.It would be highly appreciated.</div><span class="m_-1755821251128581338m_-8778388899549429876gmail-im gmail_msg"><div class="gmail_msg">With Regards</div></span></div><div dir="ltr" class="gmail_msg"><span class="m_-1755821251128581338m_-8778388899549429876gmail-im gmail_msg"><div class="gmail_msg">NAMAN DEEP SINGH <br class="gmail_msg"></div></span></div></blockquote></div></div>