Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

XML Attributes Created Twice in the XML after Saving in FM

$
0
0

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!


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>