On 12/13/00 5:32 PM, "Peter Vogel" <[EMAIL PROTECTED]> wrote:
> 1. Why be so strict about attributes on tags, such that you throw an
> exception for any unrecognized tag? Why not just silently ignore (or warn,
> if you must) unrecognized tags? Isn't that the whole point of XML?, to
> allow disparate tools to communicate more efficiently? Isn't it the case
> that some tools will look at some tags/attributes and not others and vice
> versa? If anyone else agrees, perhaps the }else { throw
> SAXParseException("unknown attribute ..."); } should be eliminated from
> ProjectHelper.java?
Since there is no set DTD for Ant build files, I'm neutral on allowing extra
info and letting Ant ignore it. In fact, in your case, you give a good
argument for it.
In fact, AntEater as set up right now only scopes out attributes it knows it
needs to look for in Project/Target/Task/Property. In task it'll reflect it
in, but if the task doesn't use it, it doesn't get used.
--
James Duncan Davidson [EMAIL PROTECTED]
!try; do()