Dear colleagues,
I am currently evaluating a Save-as-XML problem with FrameMaker 9.0p255. The content of the document shows some XML examples which contains CDATA sections, like
<environment> <var name="service"><![CDATA[Inhalt]]></var></environment>
Reminder: This is in the text of the FrameMaker document.
When I save as XML, the XML parser complains: »Error at line 140, char 77, Message: The sequence ']]>' is not allowed in character data«
When I open the XML file in a XML editor I see that all < are correctly escaped as < and all > are left as is. The built-in Xerxes parser also reports: »The character sequence "]]>" must not appear in content unless used to mark the end of a CDATA section.«
The right angle bracket (>) may be represented using the string "
>
", and must, for compatibility, be escaped using either ">
" or a character reference when it appears in the string "]]>
" in content, when that string is not marking the end of a CDATA section.
It seems to me FrameMaker should either write all > as > to avoid the possibility that it might be used after ]].
Can you reproduce this issue (I can using the UserGuide structured application, by just putting ]]> in any element)?
Have you found a way to workaround this, maybe with a special R/W rule?
Thanks,
- Michael