Bob Stayton wrote:
> Hi Elliotte,
> If that isn't a typo in your error example, then xmllint is saying the
> content of imagedata starts with "mageobject>" and contains an
> <imagedata> element? Normally xmllint's "got" message says what it
> found in the element.
>
I don't think that's it. xmllint is just showing what's a certain number
of characters around the error point. Here's a complete document that
still demonstrates the problem:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
"file:///opt/xml/docbook-5.0b7/dtd/docbook.dtd">
<book xmlns='
http://docbook.org/ns/docbook' >
<chapter>
<para>
<informalfigure floatstyle='right'>
<mediaobject><textobject><phrase>The Java AWT
Reference</phrase></textobject>
<imageobject><imagedata fileref='awt.gif' width='107px'
depth='140px'></imagedata></imageobject>
</mediaobject></informalfigure></para>
</chapter>
</book>
--
Elliotte Rusty Harold
elharo@...
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/---------------------------------------------------------------------
To unsubscribe, e-mail:
docbook-unsubscribe@...
For additional commands, e-mail:
docbook-help@...