From 7fb49c37c2ca6f17871d808db857b4f3515925f3 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 23 Apr 2004 14:26:47 +0000 Subject: [PATCH] Make attribute und element names in lowercase (like does) to avoid problems with name="Foo" -> the task X doesn\'t support the attribute foo git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276392 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/OptionalTasks/scriptdef.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/manual/OptionalTasks/scriptdef.html b/docs/manual/OptionalTasks/scriptdef.html index 6e42295ac..47de9b5c2 100755 --- a/docs/manual/OptionalTasks/scriptdef.html +++ b/docs/manual/OptionalTasks/scriptdef.html @@ -36,6 +36,11 @@ element name. This will return a list of all instances of the nested element. The instances in this list may be accessed by an integer index.

+

Note: Ant will turn all attribute and element names into all +lowercase names, so even if you use name="SomeAttribute", you'll have +to use "someattribute" to retrieve the attribute's value from the +attributes collection.

+

The name "project" is a pre-defined reference to the Ant Project. For more information on writing scripts, please refer to the <script> task