Type: New Feature
Affects Version/s: None
Fix Version/s: None
Number of attachments :
Use-case: Several plugins can generate metadata (xml-descriptors) for several versions of product. For example hibernate plugin can generate both H2 and H3 version of mappings which are differs a lot. Hibernate plugin uses superset of tags so nobody restricts users to use @hibernate.jsc-cache for H3 mapping generation. In this case we take incorrect mapping file.
So my proposal is automatically validate generated metadata file using dtd. This allows us reduce number of errors on deployment time.
Applicable for any xml-generated plugin (hibernate, struts, ...)
Of cource this feature should be customizable. In property can be called "validate" (Is it ok??)