Costin,

> How do we deal with nested tags of different type ? I don't have 
> a test case, but I assume someone may have a NESTED tag 
> 'foo' in 2 different tags, with different declared types ( String and 
> Integer ). The current generator seems to not create { }, 
> and I'm not sure how this will work.

the current approach should be able to handle a NESTED 'foo' in 2
different tags, with different declared types, as long as one tag
isn't nested inside the other. The current approach will generate code
like this:

  {
    Integer foo;
  }

  {
    String foo;
  }

However, the current approach will not work if one such tag is nested
inside the other. Because of the nesting, 'foo' may be declared only
by the encapsulating tag, and would have to be declared as of type
Object to accommodate the different types, but this could break
scripting code expecting the more specific type.


Jan


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to