Handling edit_t's optional id attribute

Imported from previous forum

[ original email was from Dev Ashish - dashish@lab49.com ]
Since the Edit_t.id attribute has been marked as optional in v2.6.5, how does a rule defined as Strategies_t.Edit_t supposed to be referenced an used if no id value is specified?

Since the Edit_t.id attribute has been marked as optional in v2.6.5, how
does a rule defined as Strategies_t.Edit_t supposed to be referenced an
used if no id value is specified?
When used as a global rule, available for use within individual strategy definitions, if an edit_t does not have Edit_t.id defined then it can’t be referenced. You are quite correct.

The reason Edit_t.id is optional is due to its’ use as a local rule. In cases where an Edit_t is defined within a strategy there’s no need for an ID.

When we introduced the concept of global validation rules we chose to re-use the Edit_t element which was already defined. We just added an “id” attribute to support the new functionality. XML schema doesn’t make it easy to differentiate between global and local Edit_t elements, so we left it at that. So if you want to refer to a glo bal Edit_t then you’d better provide an id.

-Greg

[ original email was from Dev Ashish - dashish@lab49.com ]
> So if you want to refer to a global Edit_t then you’d

better provide an id.

Thanks for the clarification, Greg.