commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31194] - [validator] Investigate removing <arg position=""> attribute
Date Fri, 12 Nov 2004 18:35:03 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=31194>.
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=31194

[validator] Investigate removing <arg position=""> attribute





------- Additional Comments From niallp@apache.org  2004-11-12 18:35 -------
OK sorry, but I kind of assumed that since you'd replied to the message saying 
I was going to apply it today, you didn't object.

Only the default arguments take the next position and it does limit how much 
the user has to specify position.

It can be done without positions at all. For example

  <arg key="first"/>
  <arg key="required.first" name="required"/>
  <arg key="mask.first" name="mask"/>
  <arg key="second"/>
  <arg key="required.second" name="required"/>
  <arg key="mask.second" name="mask"/>

etc etc

or do it using positions as follows...

  <arg key="first"/>
  <arg key="second"/>
  <arg key="required.first" name="required" position="0"/>
  <arg key="required.second" name="required" position="1"/>
  <arg key="mask.first" name="mask" position="0"/>
  <arg key="mask.second" name="mask" position="1"/>

Does that not meet the goal?

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


Mime
View raw message