|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML Schemas: ref'ing vs inlining
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








