cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <>
Subject RE: Sitemap Component for XML Validation?
Date Mon, 29 Sep 2003 12:59:43 GMT
From: Stephanie Zohner

> Hi,
> I would like to validate (with an XML Schema) a SAX Stream in 
> the sitemap before it is processed in the next sitemap 
> component. Does anybody know of a component (Transformer) 
> that can validate an XML Stream against a specified XML 
> Schema? 

AFAIK there is no component you're looking for in the Cocoon repository
but it shouldn't be to difficult to implement it. 

BTW: What should happen if the validation fails?

> Or do I have to implement it myself. Has anybody 
> already imlemented a similar component? 

see, maybe this

> Would an 
> implementation with JAXB (Java Architecture for XML Binding) 
> be a good approach?

hmmm, why do you need JAXB for XML validation?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message