[Date Prev][Date Next]
[Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[New search]
To: "Steve Whitlatch" <swhitlat@xxxxxxxxxx>
Subject: RE: Discarding generated files in XML (was FrameMaker Release 7.2)
From: "Lynne A. Price" <lprice@xxxxxxxxxxxx>
Date: Fri, 21 Oct 2005 19:46:16 -0700
Cc: "Framers List" <framers@xxxxxxxxxxxxxx>, "Free Framers List" <framers@xxxxxxxxx>, <FrameSGML@xxxxxxxxxxxxxxx>
Delivered-to: jeremyg-freeframers:org-ffarchiv@freeframers.org
In-reply-to: <JJEPLGDCLIBAFAKMJBFOMECKCKAA.swhitlat@getnet.net>
References: <6.1.0.6.2.20051020123511.086e4260@pop.business.earthlink.net><JJEPLGDCLIBAFAKMJBFOMECKCKAA.swhitlat@getnet.net>
Sender: owner-framers@xxxxxxxxx
(book) |--(TOC) | |----(BOOK-COMPONENT) ... testTOC.fm | |--(chapter) ... chapter.fm
writer do not output book processing instructions; element "toc" writer drop content; /* fm element "toc" drop; */
I tried following read/write rules:
fm element "toc" drop; fm element "lot" drop; fm element "index" drop;
and I tried the following:
element "toc" { is fm element "toc"; reader drop content; writer drop content; }
element "lot" { is fm element "lot"; reader drop content; writer drop content; }
element "index" { is fm element "index"; reader drop content; writer drop content; }
and I tried the following:
element "toc" writer drop content; element "lot" writer drop content; element "index" writer drop content;
In each case, I made sure that the read/write rules file was still valid by doing a Files > Structured Tools > Check Read/Write Rules.
None of the above read/write rules seem to have any affect whatsoever. I say that because when I select File > SaveBookAs > XML, FrameMaker behaves the same with or without any of the above read/write rules. It still exports to the filesystem an ascii-readable file that coincides with each FrameMaker-generated list in the book. None of the FrameMaker generated lists is part of the imported XML. Each generated list is added to a FrameMaker book so that I can use FrameMaker's book-building capabilities. Each of the export files coinciding with a FrameMaker generated list contains PIs specific to FrameMaker and the plain, untagged character data of its respective generated list.
As usual, upon export, FrameMaker displays the "Save as XML Log," which contains several pages of error messages, one error message for each line of exported character data for each file coinciding with an exported generated list. For example:
Error at file E:\. . .\f2Arch_bookTOC.e02 line 3 character 1, Message: No character data is allowed by content model Error at line 5 character 1, Message: No character data is allowed by content model . . .
The "Save as XML Log" goes on like that for four pages until it eventually poops out and says "Number of messages has exceeded the maximum. Processing of this document or book component will continue without additional messages." Then it issues some more error messages and ends with "Parsing aborted."
The XML is valid prior to import, and of course the imported XML does not contain any of the data that causes the error messages upon export. All of that data is generated internally by FrameMaker. The validity errors I can see in the "Save as XML Log" are all on account of unwanted export data that is not included in the imported XML. It is data that should not be exported at all, but rather used only by FrameMaker in its book-building processes.
In my opinion, FrameMaker should by default not export any data from any of its generated lists. That it does so is a bad bug.
Anyone know if this bug is fixed in FrameMaker 7.2? I am using FrameMaker 7.1.
Do the above read/write rules work for anybody?
Thanks,
Steve Whitlatch
** To unsubscribe, send a message to majordomo@xxxxxxxxx ** ** with "unsubscribe framers" (no quotes) in the body. **