If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Monday, May 11, 2009

Apache Cocoon 3: sitemap support for xml validation

I just checked out the still in alpha-1 phase Cocoon3 from trunk. One thing that immediately catched my eye when browsing the cocoon-3 sample block is the support for validation which I kinda missed in previous versions.

It's a matter of adding a transformer of type "schema" in your sitemap.

<map:transform type="schema" src="sax-pipeline/simple.xsd" />


Cool stuff !!
Robby

No comments:

Post a Comment