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 11870] - Ignore XML schema attbibutes in the root element
Date Tue, 20 Aug 2002 19:04:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11870>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11870

Ignore XML schema attbibutes in the root element





------- Additional Comments From stevel@apache.org  2002-08-20 19:04 -------
>I can provide several reasons why XML schema is better than DTD, if required.

go on then.

Ant doesnt have a DTD, so it doesnt need to worry about DTD compliance...if we
were to look at more rigorous descriptions of a build file, I'd go for Relax-NG,
as it is the only one to say that a task could have one attribute or another,
but not both.

Note that the new @ant.task xdoclet markup in the source could easily be
extended to include attribute tags (@ant.attribute required) for auto-generation
of relax-ng or even XSD schemas.

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


Mime
View raw message