Validating generated metafiles using dtd ----------------------------------------
Key: XDP-48 URL: http://jira.codehaus.org/browse/XDP-48 Project: XDoclet 2 Plugins Type: New Feature Reporter: Anatol Pomozov 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??) maven.xdoclet.0.hibernate.destdir=${maven.build.dest}/${package} maven.xdoclet.0.hibernate.version=3.0 maven.xdoclet.0.hibernate.validate=true -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest