You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/20 21:04:59 UTC

DO NOT REPLY [Bug 11870] - Ignore XML schema attbibutes in the root element

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>