W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2012

Re: What is the type of an element with a fixed value?

From: C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>
Date: Mon, 27 Aug 2012 18:11:36 -0600
Cc: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>, "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-Id: <C4964596-FFE1-43EC-9E9C-7B20C1FA5C5A@blackmesatech.com>
To: "Costello, Roger L." <costello@mitre.org>

On Aug 27, 2012, at 3:35 PM, Costello, Roger L. wrote:

> Hi Folks,
> 
> What is the type of Foo?
> 
>    <element name="Foo" fixed="Hello World" />
> 
> Is it:
> 
> (a) xs:string
> (b) xs:anyType
> 
> 
> What is the type of Bar?
> 
>    <element name="Bar" fixed="93" />
> 
> Is it:
> 
> (a) xs:string
> (b) xs:decimal
> (c) xs:anyType

Is there a particular part of the spec you are having trouble
interpreting?

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************
Received on Tuesday, 28 August 2012 00:11:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 28 August 2012 00:12:00 GMT