OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Schema concepts (was Re: W3C public lists (was Re: The Power of Groves))

[ Lists Home | Date Index | Thread Index ]
  • From: ht@cogsci.ed.ac.uk (Henry S. Thompson)
  • To: XML-Dev Mailing list <xml-dev@xml.org>
  • Date: 10 Feb 2000 13:29:31 +0000

Stefan Haustein <haustein@kimo.cs.uni-dortmund.de> writes:

> If that holds not only for Simon, I would like to ask why XML schema
> needs both <element> and <type>. It looks like they both correspond
> to the class concept in OOP. See
> http://lists.w3.org/Archives/Public/www-xml-schema-comments/2000JanMar/0101.html

Because several elements may share a type:  this is illustrated in the 
lengthy example in chapter 2 in the current PWD [1].  If having looked 
at that you still don't understand, please come back with a question
based on that example if possible.


[1] http://www.w3.org/TR/xmlschema-1/#concepts-types
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS