webapp-cache.xml schema available online
----------------------------------------
Key: MPWAR-74
URL: http://jira.codehaus.org/browse/MPWAR-74
Project: Maven 1.x War Plugin
Issue Type: Improvement
Affects Versions: 1.6.3
Environment: Any - it is a validation problem so it is not affected by
operational systems or IDEs, but the issue was primarily detected on the
Eclipse IDE version 3.5.
Reporter: Felipe Gaúcho
When packaging a web-application, maven-war-plugin generates a cache file, as
described here:
http://maven.apache.org/plugins/maven-war-plugin/exploded-mojo.html#cacheFile
This cache file is an XML file but the generated file doesn't contains an
Schema or DTD declaration on its header. This makes impossible to validate such
file, generating warnings in the most common Java IDEs.
Since it is an XML file I believe it should has a model specification somewhere
(a XSD Schema I hope), eventually just not released for public usage.
So, please publish the XSD Schema (or dtd) of the cache file in order to give
the developers a chance to detect potential bugs before to deploy their
web-application.
--
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