> From: David Crossley [mailto:[EMAIL PROTECTED]] > > Please do not give up, Ian. Cocoon can certainly do validation > as an XML framework now using DTDs. Perhaps later using other > schema (Relax NG anyone?). > > Vadim was just saying that it is not a "Concern" of Cocoon, > but that of the parser.
Yup. > We put a lot of work in six (?) months ago to ensure that > Cocoon could do validation. In fact, we had it working nicely > during build docs. However, then Bug 6200 was uncovered. > and we had to turn it off by default in cocoon.xconf > > Please help to get it available again. Can you add any insight > to the Bugzilla description? > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6200 > > This is definitely a capability that i, for one, want to see > in my XML Framework. > > Ian, you seem to be trying to trick the parser by supplying > malformed SYSTEM identifiers and fake DTDs. That will never work. Agreed. I /discovered/ small tiny sentence in XML spec: http://www.w3.org/TR/REC-xml#dt-valid Definition: An XML document is valid if it has an associated document type declaration and if the document complies with the constraints expressed in it. > There is one way for small documents - add an internal DTD subset. What about XSL files? From http://www.w3.org/TR/xslt#dtd: ... XML 1.0 DTDs do not support XML Namespaces and thus cannot correctly describe the allowed structure of an XSLT stylesheet > See for example cocoon.roles PS I'm about to commit changes to treeprocessor-builtins.xml Vadim > --David --------------------------------------------------------------------- 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]>