RW Rules vs EDD Conflict
Ian Proudfoot
ian.proudfoot at itp-x.co.uk
Fri Mar 1 04:26:04 PST 2013
Hi Lisa,
I think you have misunderstood the rules a little. So try this:
element "Graphic"
{
is fm graphic element "Graphic";
attribute "illus" is fm property entity;
}
This will work if the "illus" attribute is defined as type ENTITY in the
DTD.
In your EDD remove the attribute definition for "illus". This will not be
needed in the FrameMaker environment because the read/write rule is
converting the XML attribute into a FrameMaker property. The type mismatch
was because the attribute was defined as an Integer in the EDD.
If the DTD does not define "illus" as ENTITY, then use this rule instead:
attribute "illus" is fm property file;
That's all from memory, so I hope it all works for you.
Ian
Ian PROUDFOOT
Technical Director
www.antea.fr
3 rue Etienne Dolet | 93400 Saint-Ouen | France
Tel : + 44 (0)7793 324 581
From: framers-bounces at lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of Lisa Freeman
Sent: 28 February 2013 18:36
To: framers at lists.frameusers.com
Subject: RW Rules vs EDD Conflict
Hello All,
I am working a project using FrameMaker 8.0p277.
I have a conflict between my Read-Write Rules and my template (my EDD, I
presume) that has me stumped. When I do a check of my rules I get the
following error:
"Type mismatch for the FrameMaker element (Graphic). The type defined by the
read/write rules is different from that defined by the template."
The link takes me to the "is fm graphic element" statement below.
My rules are:
element "Graphic"
{
is fm graphic element "Graphic";
fm property entity value is "illus";
}
And I have the following defined in my EDD:
Element (Graphic): Graphic
Attribute list
Name: illus Integer Required
Initial graphic element format
In all contexts.
Insert imported graphic file.
Am I missing something that is totally obvious to anyone?
Thanks in advance for any suggestions!
Sincerely,
Lisa Freeman
Publication Support Analyst
<http://www.oneil.com> O'NEIL & ASSOCIATES, INC.
**********************************************************************
Confidentiality Notice
The information contained in this e-mail is confidential and intended for
use only by the person(s) or organization listed in the address. If you have
received this communication in error, please contact the sender at O'Neil &
Associates, Inc., immediately. Any copying, dissemination, or distribution
of this communication, other than by the intended recipient, is strictly
prohibited.
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20130301/8cccf736/attachment.htm>
More information about the framers
mailing list