"Arved Sandstrom" <[EMAIL PROTECTED]> wrote: > The entity references are a side issue. If you are going to use validation > then you must describe the entire XML vocabulary, because that is the > meaning of "valid".
That's correct, however, even non-validating parsers are required to read and respect an internal DTD subset (with some caveats, see http://www.w3.org/TR/2000/REC-xml-20001006#proc-types). If the parser doesn't validate, the given XML perfectly works, I tried it myself several times with Saxon. The interesting question is: how do i turn off validation for Xerces if invoked by FOP? I could use parser.setFeature("http://xml.org/sax/features/validation",false); from Java code, but is there a way to do this via the command line, a system property or an entry in userconfig.xml? A quick glance both at the FOP and the Xerces code revealed nothing.. Meanwhile, i helped myself by putting Saxon in the class path instead of Xerces/Xalan, and use -Dorg.xml.sax.parser=com.icl.saxon.aelfred.SAXDriver Regards J.Pietschmann
