Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: block attribute and substitution groups [Thread Next] Re: block attribute and substitution groupsTo: Sandy Gao <sandygao@--.---.---> Date: 1/8/2009 10:24:00 AM
On Wednesday 07 January 2009 17:54:12 you wrote:
Hej Sandy,
> Interesting...
>
> Are you looking at the schema 1.1 draft?
Ahh yes, sorry I forgot to mention...
> In 1.0, bullet 4 of "Element Declaration Properties Correct" refers to
> "Type Derivation OK (Complex) (=C2=A73.4.6)". Neither constraint mentions=
the
> {prohibited substitutions} property of the base type (type of the
> {substitution group affiliation}). So in 1.0, your example schema is vali=
d.
> (But during instance validation, the constraint "Substitution Group OK
> (Transitive)" is used, which does take into account "block" on the base
> type.)
>
> But in 1.1, bullet 4 refers to the definition of "validly substitutable",
> which takes {prohibited substitutions} of the base type into account. So =
in
> 1.1, your example schema is invalid.
I see, so I'll use the schema 1.0 spec for that part. Thank you very much
for the information!
Ciao,
Tobias
From info@X... Tue Jan 13 17:55:27 2009
Received: from bart.w3. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
