ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28729] - Introducing an <annotation> element
Date Mon, 03 May 2004 21:22:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28729>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28729

Introducing an <annotation> element





------- Additional Comments From carnold@houston.rr.com  2004-05-03 21:22 -------
I would prefer not adding annotation element that is almost identical to an XML comment. 
If you 
wanted to support Javadoc-style information, I would suggest allowing rdf:Description elements
to 
appear as children of projects, tasks and types.  Unless the rdf:about attribute was specified,
the 
description would apply to the containing project, task or type.

<project xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
              xmlns:dc="http://purl.org/dc/elements/1.1/">
   <rdf:Description>
       <dc:title>Sample build file including RDF descriptions</dc:title>
       <dc:creator>Curt Arnold</dc:creator>
       <dc:date dc:qualified="created">2004-05-03</dc:date>
       <dc:description>This is a sample build file including Resource Description Framework
(http://
www.w3.org/rdf) using statements from Dublin Core metadata.</dc:description>
   </rdf:Description>
</project>

This avoids Ant from creating its own metadata system that would need to be mapped eventually
to 
RDF.  It would obviously be more complicated than using straight XML comments, but if you
aren't 
needing to make unambiguous statements, you could still use XML comments.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message