[jira] Commented: (XBEAN-34) The id attribute defaults to the xbean tag name

2006-08-10 Thread james strachan (JIRA)
[ 
http://issues.apache.org/jira/browse/XBEAN-34?page=comments#action_12427251 ] 

james strachan commented on XBEAN-34:
-

Spring allows you to specify a 'name' instead of an 'id' - so maybe we should 
default 'name' to the name of the element?

> The id attribute defaults to the xbean tag name
> ---
>
> Key: XBEAN-34
> URL: http://issues.apache.org/jira/browse/XBEAN-34
> Project: XBean
>  Issue Type: Improvement
>Affects Versions: 2.6
>Reporter: David Blevins
> Fix For: 2.6
>
>
> The id attribute of the xbean tag should be optional and when not explicitly 
> specified should default to the name of the xbean tag itself.  Such as
> 
> can just be:
> 
> The schema can also express the default value of the id attribute of the 
> http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (XBEAN-34) The id attribute defaults to the xbean tag name

2006-08-10 Thread james strachan (JIRA)
[ 
http://issues.apache.org/jira/browse/XBEAN-34?page=comments#action_12427250 ] 

james strachan commented on XBEAN-34:
-

note that I don't think this would work in a validating XSD as spring 2 uses 
ID/IDREFs to validate IDs match up etc

> The id attribute defaults to the xbean tag name
> ---
>
> Key: XBEAN-34
> URL: http://issues.apache.org/jira/browse/XBEAN-34
> Project: XBean
>  Issue Type: Improvement
>Affects Versions: 2.6
>Reporter: David Blevins
> Fix For: 2.6
>
>
> The id attribute of the xbean tag should be optional and when not explicitly 
> specified should default to the name of the xbean tag itself.  Such as
> 
> can just be:
> 
> The schema can also express the default value of the id attribute of the 
> http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira