[Home] [By Thread] [By Date] [Recent Entries]
But Curt
> Martin Bryan wrote:
> > am I right in inferring that a valid XML content model of (a, b, c, b) cannot be expressed using a schema?
>
> No, the constraint that was quoted is on the top-level declarations in a
> schema. It is saying you can't do:
it also says that they apply to model group definitions, e.g to sequence and all. Hence my query about the wording of:
> 2 Each of the {type definitions}, {element declarations}, {attribute
> group definitions}, {model group definitions} and {notation
> declarations} must not contain two or more schema components with the
> same {name} and {target namespace}.
Model group definitions are odd-balls. For any or all you want the rule to apply, but for sequence you definitely do not. Hence my great concern.
Martin
|

Cart



