Ian Atkin wrote: >>David Crossley wrote: >> >>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?). > > i'm currently investigating relaxng:- > - jing seems the validator to use, any probs?
See the Apache Forrest mail archives: there have been a few threads in the past about using Relax NG and there is one thread happening there now. http://marc.theaimsgroup.com/?l=forrest-dev&m=102887074620179 I recall two reports to Forrest of experiments with Jing (around 6 months ago). One thing that i am not clear about, is where such validation capability should be. Is it in Cocoon or Forrest? I suspect in Cocoon. We need to be able to validate sources and aggregations at various points of the pipeline. How does that fit with Cocoon architecture - a new component? > - also relaxng has no way for docs to identify schema, any ideas? In my experiments, Jing is told on the command-line which *.rng to use against a particular doc.xml, i.e. the declaration is external to the xml instance. --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]>