Loading archetypes referenced by ArchetypeSlots

Hi,

I'm doing some archetype modeling and loading tests with Java Ref Impl.
I have two ACTION archetypes and a COMPOSITION archetype that references the
two ACTION archetypes:

content cardinality matches {0..*; unordered} matches {
   allow_archetype ACTION occurrences matches {0..1} matches {
      include
         archetype_id/value matches {/via_venosa_central\.v1/}
         archetype_id/value matches {/via_venosa_periferica\.v1/}
   }
}

If a load the COMPOSITION archetype with the ADL parser, how can I load all
the archetypes that matches the "allow_archetype" assertion?
I need to have a full archetype structure loaded but I don't know if the ADL
parser can do this automatically.

Thanks a lot!

Cheers,
Pablo Pazos Gutierez.

Hi Pablo,

The ADL parser should faithfully return ArchetypeSlot according to the
ADL/AOM specs. So for your question, the java ADL parser doesn't load
included archetypes automatically.

Cheers,
Rong