SGML Parsing error - ATA iSpec 2200

Bodvar Bjorgvinsson bodvar at gmail.com
Fri Oct 30 13:54:43 PDT 2009


Hi Tracey,

All the elements seem rather familiar to me, but it is a long time
since I worked with anything in SGML. ;-)

The revst and revend are empty elements -- (start element <revst> and
end element: <revend> and no closing element according to the old SGML
standard -- this is how you seem to do it) -- intended for starting
and ending a revision marking (revision bar or a letter outside of the
text frame, usually) and need to be empty elements in SGML/XML DTD,
because they must be able to start anywhere within another element
contaning revisable contents.

I am not quite familiar with the Read/Write rules, but these elements
should be matched by some kind of an empty element in the EDD or a
marker that could trigger the same effect, i. e. revision bar (Change
Bar) or the like. I see that you have been inserting text into the
element (or the Read/Write rules are doing that). I think I would need
to have a look at your EDD in order to comment further, but I fear, if
you have an EDD that covers rather much of the ATA2200 options, it
will be huge. Anyway, what you have in the EDD for starting and ending
the revision markings must be (AFAIK) translateble (is that English?)
into an empty SGML element.

One other thing: I see that chg = "N". Would that mean that there is
no change in this element and its subelements? Is that overriding
anything?

I am not sure this is helping much, but I hope so. :-)

Best regards,

Bodvar Bjorgvinsson
Iceland
-- 
"Life is not only a game--it is also a dance on roses."
	--Fleksnes (Rolv Wesenlund)


2009/10/30 Les Smalley <l_c_smalley at yahoo.com>:
> I'm not familiar with those DTDs, but there is something out of whack in how your FM file is being marked up, or perhaps exported.  You can make sure that FM writes out end tags by checking the SGML declaration (see what is used in the application definitions file) and setting MINIMIZE SHORTTAG to NO in the FEATURES section
>
> What are revst and revend supposed to denote as empty elements - are they intended to be some sort of markers, do they have required attributes, etc.
>
> If you have access to the EDD, make sure that the element definitions
> for revst, revend and para are correct. Especially para - does it (or a
> parent element) EXCLUDE revst or revend?  Exclusions take precedence over inclusions...
>
>
> Is your application using the default Import/Export client, or was there some customized client added?  If the latter, speak with the programmer as this error could be caused by the custom client, plus the client could be enhanced to specifically address this error.   Also look at the Read/Write rules - there could be problems there as well.
>
> Hope this helps,
>
> – Les
>
> --- On Wed, 10/28/09, COTRONEO Tracey <tracey.cotroneo at baesystems.com> wrote:
> Hi
>
> I'm working with several ATA iSpec 2200 DTDs and trying to save my .fm
> files to SGML and receiving the following error:
>
>    "End tag (para) implied by the start tag (revst); not declared minimizable"
>
> This is my sgml output:
>
>     <subtask chapnbr = "25" sectnbr = "24" subjnbr = "01" func = "000"
> seq = "000" pgblknbr = "4" chg = "N" key = "C25_S24_S01_P04_ID9" revdate
> = "20070831">
>     <effect effrg = "001,  051-052,  101-106,  206-208, 211-221"></effect>
>     <list1>
>     <l1item>
>     <para>Installations of the APU Generator
>     </para>
>     <list2>
>     <l2item>
>     <para>Replace the .....
>     </para>
>     </l2item>
>     <l2item>
>     <para>Make sure the .......
>     </para>
>     </l2item>
>     <l2item>
>     <para>
>     <revst>Torque the nuts .....<revend>
>     </para>
>     </l2item>
>     </list2>
>     </l1item>
>     </list1>
>     </subtask>
>
> The <revst> and <revend> elements are inclusions in the DTD and are defined as:
>
>     <!ELEMENT revst     - O EMPTY                                      >
>     <!ELEMENT revend    - O EMPTY                                    >
>
> Please HELP ME!
>
> regards
>
> Tracey Cotroneo
> Technical Publication Specialist
> BAE Systems Australia
>
>
>
>
> _______________________________________________
>
>
> You are currently subscribed to Framers as bodvar at gmail.com.
>
> Send list messages to framers at lists.frameusers.com.
>
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com
> or visit http://lists.frameusers.com/mailman/options/framers/bodvar%40gmail.com
>
> Send administrative questions to listadmin at frameusers.com. Visit
> http://www.frameusers.com/ for more resources and info.
>



More information about the framers mailing list