This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Element "LEGEND" used in DTD but not defined


To my knowledge, this error is coming, because the element "LEGEND" is not been defined using "<!ELEMENT" command. 

For example, if you search for the element "caution", this element would have been defined as "<!ELEMENT caution (title?, (%admon.mix)+)>. In the same way, "LEGEND" element should have been defined, but the <!ELEMENT definition for "LEGEND" tag seems to be missing. That's why you're getting that error.

Every tag should be defined using this "<!ELEMENT" command.

I could be wrong in the above explanation, please do correct me so!

-----Original Message-----
From: owner-docbook@lists.oasis-open.org
[mailto:owner-docbook@lists.oasis-open.org]
Sent: Thursday, May 25, 2000 9:06 AM
To: docbook@lists.oasis-open.org
Subject: DOCBOOK: Element "LEGEND" used in DTD but not defined

I get this error message
"Element "LEGEND" used in DTD but not defined"
when I validate the docbook dtd.  It is used in the cals dtd.

It is obviously correct since it is included in the tbl.entry.mdl entity
declaration.
<!ENTITY % tbl.entry.mdl
"(para|warning|caution|note|legend|%paracon;)*">
The declaration is used here:
<!ELEMENT entry - O (%tbl.entry.mdl;) %tbl.entry.excep; >

Anyone have a comment on this?

The same occurs for the PGBLK element which also i referenced in the
cals dtd.

-- John
=======  John Dirdal, CORENA Norge AS,  =========
=   P.O.Box 1024, N-3601 Kongsberg, NORWAY      =
=   phone: +47 32 73 78 42, Fax: +47 32 73 68 77=
==  CORENA Home Page: http://www.corena.no     ==

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]