[oXygen-user] ant docbook

Sorin Ristache
Mon Aug 28 08:43:33 CDT 2006


Hello,

<oXygen/> includes an Ant DTD file in 
[oXygen-install-folder]/frameworks/ant generated with the Ant target 
called antstructure. This DTD should define all the task names and their 
attributes supported by that Ant version but it seems the generated DTD 
is not complete. You can find attached a corrected ant.dtd file able to 
validate ant-build-docbook.xml with the exception of custom tasks like 
fop, xep and LastModifiedMillis defined by taskdef elements. A custom 
task can have any name and any attributes so if you want to validate 
also the custom task elements of an Ant buildfile you have to add their 
definitions manually to ant.dtd. We will include this updated version of 
ant.dtd also in <oXygen/>.


Regards,
Sorin


Chris Chiasson wrote:
> I was using oXygen to take a look at the ant-build-docbook.xml file
> from the DocBook Ant distribution.
> 
> http://www.cs.put.poznan.pl/dweiss/site/projects/ant-docbook-styler/download/ant-docbook-styler-2004_06_22-21_12.zip 
> 
> 
> oXygen is telling me that <available> can't be a child of <and> inside
> <condition>. The ant manual seems to contradiction that assertion:
> 
> http://ant.apache.org/manual/CoreTasks/condition.html
> 
> Why?
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ant.zip
Type: application/x-zip-compressed
Size: 20256 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20060828/0611cd90/attachment.bin 


More information about the oXygen-user mailing list