List Info

Thread: imagedata EMPTY




imagedata EMPTY
user name
2006-08-10 00:00:53
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.o
rg/xml/5.0b7/dtd/docbook.dtd">
<book xmlns='http://docbook.org/ns/d
ocbook' >
    <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  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

[1]

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