Re: [Moderator Action] Abstract type with no constraint on content

Gino Basso <GBasso@ware2.com> writes:

> Is there any way I can define the abstract base type 'ObjectName' in the
> schema below such that there is no constraint on the content?

The Schema for Schemas contains an approximation to the ur-type [1]
(at the very end).  Copy that, substituting 'ObjectName' for
'anyType':

         <complexType name="ObjectName" mixed="true">
          <sequence>
           <any minOccurs="0" maxOccurs="unbounded"/>
          </sequence>
          <anyAttribute/>
         </complexType>

ht

[1] http://www.w3.org/TR/xmlschema-1/#normative-schemaSchema
-- 
  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/

Received on Saturday, 11 November 2000 06:24:01 UTC