W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2004

Re: xml schema Second Edition-regarding substitution group

From: gayathri veerarajan <gaytri_v@yahoo.co.in>
Date: Wed, 24 Mar 2004 14:33:44 +0000 (GMT)
Message-ID: <20040324143344.72560.qmail@web8202.mail.in.yahoo.com>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
Cc: xmlschema-dev@w3.org
yes ,I found that it not a change (only when I declared it, I found that both has to be kept global, since it was not explicitly mentioned in the 1st Edition, I misunderstood it.)
 As u have mentioned, declaring it as choice will also not work, because I want  the elements to be substitutable This is to achieve  translation of equivalent property (to show two properties are semantically equal  ) from OWL to xml Schema.
So I have decided to keep the properties as global and apply substitution group . thereafter I can restrict only its occurence and not its type.
I think this is the only possibility.
thank u,

"Henry S. Thompson" <ht@inf.ed.ac.uk> wrote:
Your analysis is essentially correct, but this is not a change from
the first edition.

The best you can do is make the implicit choice explicit, and use
local declarations:

Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
Win an evening with the Indian cricket captain: Yahoo! India Promos.
Received on Wednesday, 24 March 2004 17:07:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:04 UTC