Hi All,
I've built a structured application to read and write a custom XML. The file is opened just fine. However, when saving the XML in FM, some XML attributes appear in the XML twice. For example, in the original XML I have the following:
<object_group doc_name="xxx" parsed_by_sym="false">
...
</object_group>
After I save the XML, it looks like this:
<object_group doc_name="xxx" parsed_by_sym="false" doc_name="xxx" parsed_by_sym="false">
...
</object_group>
After the XML is saved, FM refuses to re-open it aborting the parsing. If I remove the doubled attributes manually in Notepad, then the XML is opened in FM again.
Should I define anything in read/write rules? What am I doing wrong?
I'm using an XSD, which I defined in structapp.fm.
Thank you very much!