Forum OpenACS Development: Re: Re: ANN: IMS-LD beta released

Collapse
Posted by Michael Totschnig on
Hello Luis,

I have the impression, that there is a problem in the wording of the textual specification, because it contradicts the XML schema. In the definition of the environment-type there is a choice group, inside which the learning-object appears once, but the group itself has unbounded as maxoccurs attribute:

            <xs:choice minOccurs="0" maxOccurs="unbounded">
                <xs:element ref="learning-object"/>
                <xs:element ref="service"/>
                <xs:element ref="environment-ref"/>
            </xs:choice>

Thus, the schema clearly allows multiple learning-objects inside an environment. I have the impression that the author of the textual specification only looked at the single occurence of the learning-object element itself and overlooked the multiple occurence of the group where it is contained.

Best regards,

Michael

Collapse
Posted by Luis de la Fuente on
I see... there's a bug to be fixed here.

It's not difficult to remove de warning and behave like CopperCore, but before doing this i prefer to ask in LD specialized forums.

Changes will be reported here when the best solution is achieved.