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] | [List Home]


Subject: 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  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


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