Hello,
I would like to configure validation (against
an XML schema) in some pipelines. When I turn on the validation
feature of the parser in cocoon.xconf, I'm asked for the sitemap grammar,
even if the sitemap doesn't refer to any schema or DTD. I modify the
sitemap in order to do the validation against sitemap-2.1-draft.xsd, but it
doesn't work because of the different namespaces (1.0 in the sitemap and 2.0 in
the schema). So, is this the correct way to activate validation in cocoon?
And if it is, where can I find the correct schema for my sitemap? Or do I
have to set the validation inside the pipeline, maybe with
an action, an XSP or my own "ValidationGenerator", instead of in
cocoon.xconf?
Oskar
|
- XML instance validation Oskar Casquero
- XML instance validation Oskar Casquero