Hi In verbose mode, we have more info. a2x is not able to find a dtd. This is strange as I can connect to internet ....
a2x: executing: "xmllint" --nonet --noout --valid "/Users/chmoulli/ Desktop/epub/brothers-karamazov.xml" I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd /Users/chmoulli/Desktop/epub/brothers-karamazov.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/ docbookx.dtd" D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/ docbookx.dtd" ^ /Users/chmoulli/Desktop/epub/brothers-karamazov.xml:6: validity error : Validation failed: no DTD found ! <book lang="en"> ^ a2x: ERROR: "xmllint" --nonet --noout --valid "/Users/chmoulli/Desktop/ epub/brothers-karamazov.xml" returned non-zero exit status 4 Regards, Charles On Apr 14, 1:48 am, Stuart Rackham <[email protected]> wrote: > On 14/04/12 10:58, Charles Moulliard wrote: > > > > > > > > > > > Hi, > > > Why asciidoc 8.6.7 generates the following error when I try to execute > > the following command on the example provided on the web site ? > > > -rw-r--r--@ 1 chmoulli 1881291218 1683 Aug 10 2010 adventures-of- > > sherlock-holmes-docinfo.xml > > -rw-r--r--@ 1 chmoulli 1881291218 827 Aug 19 2010 adventures-of- > > sherlock-holmes.css > > -rw-r--r--@ 1 chmoulli 1881291218 111748 Mar 22 2011 adventures-of- > > sherlock-holmes.jpg > > -rw-r--r--@ 1 chmoulli 1881291218 589633 Mar 21 2011 adventures-of- > > sherlock-holmes.txt > > -rw-r--r--@ 1 chmoulli 1881291218 1880 Aug 18 2010 underline.png > > a2x -fepub -dbook adventures-of-sherlock-holmes.txt > > a2x: ERROR: "xmllint" --nonet --noout --valid "/.../epub/adventures-of- > > sherlock-holmes/adventures-of-sherlock-holmes.xml" returned non-zero > > exit status 4 > > 4 is an xmllint validation error, run a2x with the --verbose option to > determine > the element that's causing the error. > > Cheers, Stuart > > > > > > > > > > > Regards, > > > Charles -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
