John Brown wrote: > DocBook 5, created with emacs +nxml-mode, validated with xmllint (although > I understand from the DocBook documentation that I should really use Jing. > XXE reports 6 errors: bad value for attribute href (4), rowsep (1), colsep > (1).
I'm a very big fan of emacs+nxml-mode. I use it all the time when I write ``technical XML'' (e.g. XSLT stylesheets). (When I write ``prose'', I need to be able to re-read what I've just written and for that, I don't want to see XML tags or the XML tree. In such case, I, of course, use XMLmind XML Editor.) You don't need to use anything other that emacs+nxml-mode to validate your DocBook 5 document. If properly configured, emacs+nxml-mode uses the official DocBook 5 RELAX NG schema. The validator of emacs+nxml-mode seems to be Jing rewritten in Emacs Lisp. In my experience, it works flawlessly (as any software designed and written by James Clark). (XMLmind XML Editor also integrates Jing--to make it simple: http://www.xmlmind.com/xmleditor/_distrib/doc/rngsupport/index.html. You don't need any external tool to validate the XML documents you create with our product. Moreover, XMLmind XML Editor makes it almost impossible to create a document which is structurally invalid.) > >> If we cannot make the Batik image toolkit plug-in for you, I don't see >> how a declarative plug-in leveraging the Ghostscript command-line could >> work in your environment. >> > > But it works! > > I am going to investigate the SVG issue later. I ran convertdoc with -v, > > but all it says is: > > > > convertdoc: error: XFC warning: unknown graphic format > > (src="images/note.svg") (file:/tmp/xxe5736790676269381696/__doc.fo, > > line #75, column #18062) > > > > Is there anything I can do to get more information about why the Batik plugin > > is not working with my document? It works with the XXE demo document - I > can see the Linux penguin in my Ooo.org output. > I think the puzzle is solved: * XMLmind XSL-FO Converter does not natively support SVG (yet). * Instead XMLmind XSL-FO Converter relies on the Batik image toolkit plug-in to convert the SVG graphics files referenced in the source XML document. * Graphics files such as src="images/note.svg" are automatically generated by the DocBook XSLT stylesheets. Because such admonitions graphics are not directly referenced in the source XML document, they are ignored by the Batik image toolkit plug-in.

