Quoting Ben <[EMAIL PROTECTED]>:
> Hi Matthieu,
>
> Thanks for the tip: it worked a charm. Only one slight
> hiccup is that when I run the webdoclet task, it gives me
> the following line:
>
> <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD
> Web Application 6.0//EN"
> "http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
>
> Which causes an error when I have XML validation turned on.
> I've set the version to "8.1", but for some reason, it's
> still using the 6.0 DTD. How do I force it to use the 8.1
> one?
Hum ...
in fact these values seems to be hard coded in WeblogicWebXmlSubTask.java :(
(I have looked in xdoclet v1.2.2)
So the version attribute won't change these values.
The simpliest solution is to put the correct dtd value directly into the
template:
replace :
<!DOCTYPE weblogic-web-app PUBLIC "<XDtXml:publicId/>" "<XDtXml:systemId/>">
by :
<!DOCTYPE weblogic-web-app PUBLIC
"-//BEA Systems, Inc.//DTD Web Application 8.1//EN"
"http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
Your xml validation will work better now :)
bye
matthieu.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user