Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: web
-
Labels:None
-
Number of attachments :
Description
if i have a merge point file that doesn't have a root (like servlets.xml), then xdoclet fails because it is not a well formatted xml.
however, if i add a dummy root element to it (as i have seen in the test application in the distribution), the root element is added to the resulting web.xml making it not valid.
also, an annoyance is that when failing on a ill-formatted xml, the file name isn't given, even when run in debug mode (-X in maven). instead, it gives the line in WebPlugin.jelly, which means i have to unpack the jar and open this file, go to the line, in order to see which file of mine is to blame.
wrapping the content in j:jelly solves this