List Info

Thread: imagedata EMPTY




imagedata EMPTY
user name
2006-08-09 21:41:19
Hi Elliotte,
That is a strange error message, especially since your
imagedata looks ok 
to me.  Which version of DocBook are you validating against?
 Since you 
have an <alt> in your mediaobject, I presume it is
DocBook 5.  When I cut 
and pasted your sample para into a DocBook 5 document, the
document 
validated in xmllint 2.6.23.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobssagehill.net


----- Original Message ----- 
From: "Elliotte Harold" <elharometalab.unc.edu>
To: <docbooklists.oasis-open.org>
Sent: Wednesday, August 09, 2006 7:21 AM
Subject: [docbook] imagedata EMPTY


> There's something I'm not doing right. I have lots of
elements like this 
> one:
>
>
> <para><informalfigure
floatstyle='right'><mediaobject><alt>The
Java AWT 
> Reference</alt><imageobject><imagedata
fileref='awt.gif' width='107px' 
>
depth='140px'></imagedata></imageobject><
;/mediaobject></informalfigure></para>
>
> Both libxml and Xerces-J are giving me error messages
like this when I 
> validate the document:
>
> [Error] Java_Course_Notes.xml:32916:170: The content of
element type 
> "imagedata" is incomplete, it must match
"(info?,EMPTY)".
>
>
> However, looking at the error message and the DTD and
TDG, it seems like 
> my imagedata element should be OK. What am I missing?
>
> -- 
> Elliotte Rusty Harold  elharometalab.unc.edu
> Java I/O 2nd Edition Just Published!
> http://www.c
afeaulait.org/books/javaio2/
> http://www.amazon.com/exec/obidos/ISBN=0
596527500/ref=nosim/cafeaulaitA/
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
> For additional commands, e-mail: docbook-helplists.oasis-open.org
>
>
> 



------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-helplists.oasis-open.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )