From: Adam C. <ad...@ch...> - 2002-09-24 09:47:20
|
On Mon, 23 Sep 2002 22:37:04 -0400 David Goodger <go...@us...> wrote: [...] > I've added an encoding attribute to the XML declaration (``<?xml > version="1.0" encoding="utf-8"?>``) and a ``<!DOCTYPE document ...`` > declaration. It would be easy enough to add an XSL stylesheet > declaration as well; I'll wait for the need to arise. Hmmm, the DOCTYPE declaration is causing some problems for us. Using Internet Explorer or XMLmind XML Editor, the first error is about "SYSTEM" in the DOCTYPE:: A string literal was expected, but no opening quote character was found. Removing the SYSTEM, so you have:: <!DOCTYPE document PUBLIC "+//IDN docutils.sourceforge.net//DTD Docutils \ Generic//EN//XML" "http://docutils.sourceforge.net/spec/docutils.dtd"> This works better, but when it then tries to parse the DTD it also complains:: Invalid character in content model. Error processing resource \ 'http://docutils.sourceforge.net/spec/docutils.dtd'. Line 433, Position 56 <!ELEMENT figure (image, ((caption, legend?) | legend) > I tried running the generated XML file through the XML validator at http://www.stg.brown.edu/service/xmlvalid/, and it resulted in a *lot* of errors and warnings. :-( --- Adam Chodorowski <ad...@ch...> There are two major products that come from Berkeley: LSD and UNIX. We don't believe this to be a coincidence. -- Jeremy S. Anderson |