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

"C. M. Sperberg-McQueen" <[email protected]> Mon, 27 Aug 2012 18:11:36 -0600
Newsgroups gmane.text.xml.schema.devel
Message-ID <[email protected]>
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
****************************************************************