W3C home > Mailing lists > Public > xmlschema-dev@w3.org > July 2002

Re: restriction question

From: Jeni Tennison <jeni@jenitennison.com>
Date: Tue, 23 Jul 2002 10:10:18 +0100
Message-ID: <1231459545845.20020723101018@jenitennison.com>
To: xmlschema-dev@w3.org


> What I would like to do is restrict a type from a foreign
> schema/namespace -- which I have no control over -- in a namespace
> that I do have control over, and I would like to have the default
> namespace be equal to the target namespace in my schema. Is this
> possible? If I have understood you properly, then this isn't
> possible if the foreign namespace schema has elementFormDefault set
> to 'qualified'. Is this correct? Do I have to not use the
> xmlns=targetNamespace?

I forgot to make a more general observation on this point, that this
illustrates one situation in which the "Venetian Blind" pattern
(global complex types paired with local element declarations) doesn't
work particularly well.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/
Received on Tuesday, 23 July 2002 05:10:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:04 UTC