Hello!

Generally, is it possible to vaidate XML according to DTD/XML Schema within the Cocoon?

When I was using JAXP as parser (with <parameter name="validate" value="true"/>), it checked both XML and DTD files for syntax errors, but didn't validate XML file accordingly to its' DTD. Moreover, comment in cocoon.xconf states that:

"XML validation is only being used for the documentation build.
(If you are going to use it elsewhere, then do so with caution.)
You really should have validated all of your XML documents already,
according to their proper DTD or schema. Do not expect Cocoon to do it."

Does it means that Cocoon will not provide validation errors from underlying parser?

And if it doesn't, what parameter/parameters should I write inside
<xml-parser class="org.apache.avalon.excalibur.xml.XercesParser" logger="core.xml-parser">
<parameter="?" value="?" />
...
</xml-parser>
in cocoon.xconf to make Xerces parser validating?


Thanks.
Nikolai


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to