W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2000

suggestion to equivClass

From: Nik Klever <nik.klever@bitoek.uni-bayreuth.de>
Date: Wed, 28 Jun 2000 18:19:28 +0200
Message-ID: <395A2590.E7146BF0@bitoek.uni-bayreuth.de>
To: www-xml-schema-comments@w3.org

I would suggest the following changes to the topics of Element Equivalence Class:

1) rename equivClass to equivElement

2) introduce another attribut equivClass which should be used to summarize
   the equivalent Elements of one class, e.g. of one language.


 <element name="example" type="string">
 <element name="Beispiel" equivClass="example"/>
 <element name="exemple" equivClass="example"/>
 <element name="firstName" type="string">
 <element name="Vorname" equivClass="firstName">
 <element name="prenom" equivClass="firstName">

 <element name="lastName" type="string"/>
 <element name="Nachname" equivClass="lastName"/>
 <element name="nom" equivClass="lastName"/>

You can use this example in all three languages english, german and french,
but you can't select one preferred language for instance in an editor or
input application. 

Changing as suggested to a preferred "equivClass" and "equivElements", a  
preferred equivClasse could be used by the application:

 <element name="example" type="string" equivClass="en"/>
 <element name="Beispiel" equivElement="example" equivClass="ge"/>
 <element name="exemple" equivElement="example" equivClass="fr"/>
 <element name="firstName" type="string" equivClass="en"/>
 <element name="Vorname" equivElement="firstName" equivClass="ge"/>
 <element name="prenom" equivElement="firstName" equivClass="fr"/>

 <element name="lastName" type="string" equivClass="en"/>
 <element name="Nachname" equivElement="lastName" equivClass="ge"/>
 <element name="nom" equivElement="lastName" equivClass="fr"/>

It's now possible to select an english, german or french version of this
schema in any application.

Nik Klever

PS.: thanks for your work in the schema working group - I am very impressed by 
your work !
Received on Wednesday, 28 June 2000 12:13:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:47 UTC