OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: DOCBOOK: 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     ==


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC