maxwell at umiacs.umd.edu wrote: > I'm trying to convert a DocBook document we wrote using XMLmind into HTML, > and the process is failing. > > The error msg comes up in a large dialog box, with a logfile in a pane > that I can copy from.
You can close the dialog box and get the same information using the button next to the status bar. Please click on the button next to the status bar, select the "Command Execution" page using the combobox, copy everything there (Ctrl-A then Ctrl-C) and please send it to me. (This is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/help/statusTool.html ) > I won't send the whole log unless you ask, but the > last few lines are: > > Transforming XML file "__doc.xml" to "__doc.html" > using "xsl/html/chunk.xsl" > Compiling style sheet > "file:/C:/Program%20Files/XMLmind_XML_Editor/addon/config/docbook/xsl/html/chunk.xsl" > > (sorry, that last line is a long one) > > In the gray area of the dlg box above the logfile, it says: > > Command execution has failed: > java.lang.NullPointerException: > com.icl.saxon.om.NamePool.allocateCodeForURI(NamePool.java:291) Never seen this one. > etc., down to the last few lines: > com.jclark.xml.parse.base.ParserImpl.parseDocument(Unknown Source) > com.jclark.xml.sax.SAX2Driver.parse(Unknown Source) > > I get the same results with all three HTML output formats (Convert to > HTML, Convert to HTML [one page], and Convert to HTML [one page, no TOC]). > > I looked at xslMenu.incl, where the command docb.toHTML has the following > ominous comment: > <!-- Cannot work and generates a lot of error messages. --> > > This is with XMLmind XML Editor Professional Edition 3.6.0, Java Runtime > 1.5.0_11, Windows XP. We earlier had the free edition installed; could it > be that the Professional edition installation left something in from the > free edition? I don't think so. > Or is there a plugin that needs to be installed for this to > work? No. This look like a bug triggered by your document. You really need to send me the document you are trying to convert to HTML. But before doing that, please try to convert to HTML another DocBook document, such as XXE_install_dir/doc/user/userguide.xml, and tell me what happens.

