This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
XML / SGML dtd compatible?
- To: "Docbook (E-mail)" <docbook at lists dot oasis-open dot org>
- Subject: DOCBOOK: XML / SGML dtd compatible?
- From: "k. holwerda" <klaas dot holwerda at nl dot thalesgroup dot com>
- Date: Fri, 01 Jun 2001 13:23:09 +0200
- Organization: Hollandse Signaalapparaten b.v.
Hi,
I am trying to process the same document with the docbook XML dtd and
the SGML dtd.
For XML i use version 4.12 and for SGML 4.1
The problem is with the IMAGEOBJECT tag, that is required for SGML but
XML complains if it is there.
Am i right that this is not compatible?
If not where is my mistake?
If this is again a problem of tools, i am sorry,
Klaas Holwerda
<figure id="vdraw"><title>wxCanvas Demo program Vdraw</title>
<screenshot>
<screeninfo>vdraw shot</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref = "figures/vdraw.gif" format="gif">
</mediaobject>
</screenshot>
</figure>
[SGML]
C:\libraries\wx2b3\contrib\include\wx\canvas\docbook\htmldocbook>c:\tools\docbook\jade\jade -t sgml -ihtml -d c:/tools/docboo
k-dsssl-1.70/html/docbook.dsl ../canvasbt.sgm
c:\tools\docbook\jade\jade:../chap_wxcanvas.sgm:45:13:E: end tag for "IMAGEOBJECT" omitted, but its declaration does not perm
it this
c:\tools\docbook\jade\jade:../chap_wxcanvas.sgm:42:0: start tag was here
[XML]
Oke!
<figure id="vdraw"><title>wxCanvas Demo program Vdraw</title>
<screenshot>
<screeninfo>vdraw shot</screeninfo>
<mediaobject>
<imageobject>
<imagedata fileref = "figures/vdraw.gif" format="gif">
</imageobject>
</mediaobject>
</screenshot>
</figure>
[SGML]
oke!
[XML]
C:\libraries\wx2b3\contrib\include\wx\canvas\docbook>xt canvasbt.xml c:/tools/docbook-xsl-1.39/html/xtchunk.xsl
file:/C:/libraries/wx2b3/contrib/include/wx/canvas/docbook/chap_wxcanvas.sgm:45: mismatched end tag: expected "imagedata" but
got "mediaobject"
Unclassified
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org