4 Replies Latest reply on Oct 10, 2006 8:25 AM by adrian.brock

    Top level groups

      I've reworked the XsdBinder to add support for top level or global groups.
      This lets you look at and change the model of the group.

      The main change is to reuse the top level groups
      where they are referenced rather than unwrapping them into
      their particles and then trying to spot shared elements/types.

      Besides being able to modify the binding after the fact
      (previously you had to use annotations to do anything with groups)
      I think it will also speed up parsing (especially annotation processing)
      since each group is only processed once.

      See GlobalGroupUnitTestCase
      I also created a SharedElementUnitTestCase to make sure I
      didn't break this with the change.