> From: Ian Atkin [mailto:[EMAIL PROTECTED]] > > using cocon v2.0.3 > > i've just changed the xml-parser validate parameter to true and cocoon > failed with a "doctype name can't equal 'null'" error > > upon investigation the xml file concerned, treeprocessor-builtins.xml, > doesn't have a doctype tag - which explains it > > is cocoon intended as a non-validating process for speed reasons?
Cocoon has nothing to do with validation. Cocoon uses XML parser, and it just passes this parameter (validate=true) to the parser. If parser is not able to validate some xml (treeprocessor-builtins.xml in your case), it is a bug either in XML or in parser. > this means that all doctype resolution is for entity and attrib > declarations only, doesn't it? > > i would have to validate all my input docs separately to ensure > validity, which is ok for batch mode but very poor for dynamic use > > i'm asking about general intentions/views - i'll check out v2.1-dev soon > but i expect the problem will be the same Of course the same, unless you change XML parser implementation/version or modify XML. PS See also on the same theme: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6200 Vadim > thanks in advance... --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>