Here's an even simpler case that gives the same error message:
~/projects/workspace/cs905/build$ more testcase.xml
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN"
"
http://www.docbook.org/xml/5.0b7/dtd/docbook.dtd">
<book xmlns='
http://docbook.org/ns/docbook' >
<chapter>
<mediaobject>
<imageobject>
<imagedata fileref="figures/eiffeltower.eps" />
</imageobject>
</mediaobject>
</chapter>
</book>
~/projects/workspace/cs905/build$ java -classpath
/opt/xml/xerces/xercesSamples.jar:/opt/xml/xerces/xercesImpl.jar
sax.Counter -v testcase.xml
[Error] testcase.xml:7:52: The content of element type "imagedata" is
incomplete, it must match "(info?,EMPTY)".
testcase.xml: 2715 ms (5 elems, 1 attrs, 21 spaces, 0 chars)
~/projects/workspace/cs905/build$
--
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@...