Re: [XPath30] erroneous text in "2.2.4 Consistency Constraints"

Hi Mike,
   Thanks for the clarification.

On Tue, Jun 19, 2018 at 1:20 PM, Michael Kay <mike@saxonica.com> wrote:

> I think the text is correct. It's saying that if there is a reference to X
> then there must also be a declaration of X, for example, if there is an
> element declaration with type T in the in-scope schema definitions, then
> there must be a type T in the in-scope schema definitions.
>
> Note that XSD itself doesn't have this requirement (although many
> implementations do). In XSD (see 1.1 part 1 ยง5.3) missing components don't
> make the schema invalid, they just cause validation to fail if the missing
> component is actually needed.
>
> Michael Kay
> Saxonica
>



-- 
Regards,
Mukul Gandhi

Received on Tuesday, 19 June 2018 09:31:58 UTC