Pierre Gorissen wrote:
> It seems like both Lorna and myself are not really paying attention to the
> things being said here in Reston ;-)
>
> I was wondering about the ordering thing, and don't understand why it is a
> problem to implement a schema that doesn't have an ordering restriction.
> If
> you replace <xs:sequence> with <xs:choice>, doesn't that completely get
> rid
> of the restriction?
Hi there,
The problem with xs:choice is that it doesn't place any restriction on
those elements which should occur 0 or 1 time. This would allow the
creation of LOM instances which aren't valid: so it is a choice between
having to implement this constraint some other way or risk not being
able to import some instances.
Phil
--
Phil Barker Learning Technology Advisory
ICBL, School of Mathematics and Computer Science
Heriot-Watt University, Edinburgh, EH14 4AS
Tel: work - 0131 451 3278 home - 0131 221 1352
Web: http://www.icbl.hw.ac.uk/~philb/
|