Yeah, yeah, I know I asked for this to be added, and I'm just now getting
around to using it.  I found a problem.  web_xml.j has this:

   <XDtMerge:merge file="welcomefiles.xml">
   </XDtMerge:merge>
  <XDtConfig:ifHasConfigParam paramName="welcomeFiles">
   <welcome-file-list>
    <XDtConfig:forAllConfigParameters paramName="welcomeFiles">
      <welcome-file><XDtConfig:configParameterValue
paramName="welcomeFiles.file"/></welcome-file>
    </XDtConfig:forAllConfigParameters>
   </welcome-file-list>
  </XDtConfig:ifHasConfigParam>

Only one <welcome-file-list> element is allowed.  I think the merge needs to
be inside <welcome-file-list> and that the merge file itself should only
contain <welcome-file> elements, and ifHasConfigParam removed.  Or is the
current way its working the desired way, where you can have either a merge
file
or configParam's, but not both?

Is that a reasonable thing?  Thats somewhat different than, say, the
servlets.xml where the outer <servlet> is in the merge file, but <servlet>
is also
different in that multiple of those are allowed.

I certainly don't want to use the configParam for welcome files, so I can
workaround it by only having welcomefiles.xml and no configParam's -
although I caused the error by having both.

    Erik





_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to