[opencms-dev] How to validate xml content?

Joe Lam joe.lam at moni-media.net
Thu Aug 31 15:17:00 CEST 2006


how to write jsp to validate xml content? due to modification on schema, 
I wanna search invalid xml content files.
I tried validate(CmsObject cms) of CmsXmlContent.
The returned CmsXmlContentErrorHandler's hasWarnings() and hasErrors() 
both return false on an invalid xml content. i dunno why.

any help?

Thank you very much.

Joe


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060831/bf195e5c/attachment.htm>


More information about the opencms-dev mailing list