🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #432

Built FM DITABook (made FM binaries) -- how do I get back to XML?

#432
From: R._VanDyke
Date: Thu, 20 Nov 2008 21:42
26 lines
2139 bytes
For FrameMaker 8 DITA.

I gen'ed apparently "clean" binaries from DITA XML -- now how do I gen "clean" DITA XML from the binaries?

BACKGROUND
I created a bunch of DITA topic files as .xml, then assembled them in a DITA map file.

Next, I used Build FM DITABook from DITA map file to export those XML files as a binary (or if you prefer, "classic") FrameMaker book containing a list of ".xml.fm" binary (a.k.a. "classic chapter") files.

I then proceeded to edit those binary files, closely conforming to DITA tag structure to create a FrameMaker book and constituent binary topic files that validated and gen'ed without error.

Finally, I used Save As to save those .fm chapter files as XML. (Actually, FM8 for some reason wants to export them as ".xml.xml" files...)

THE PROBLEM

* When I save the .fm files as XML, FrameMaker reports an error the essence of which is "Root element different from DOCTYPE".

* FrameMaker also reports the same error if I open a given .xml file then Save the file back into itself.

* If I then re-open the file that contained the error, FrameMaker does not report an error. That is to say that it seems that Open-ing and Save-ing the XML file "cleans" the error out of the file.


So, is there any way to go directly to "clean" XML without performing the intermediate Open/Save operation?

Cheers & thanks,
Riley
Technical Details
Message-ID: <59b714cf.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,c7ec7b080568a7b3,start
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: R._VanDyke@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Built FM DITABook (made FM binaries) -- how do I get back to XML?
Message-ID: <59b714cf.-1@webcrossing.la2eafNXanI>
Date: Thu, 20 Nov 2008 13:42:27 -0800
Lines: 25
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing
X-Original-Lines: 39
X-Original-Bytes: 1932