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

What is the data type of a fixed element that has no type attribute?

From: Costello, Roger L. <costello@mitre.org>
Date: Mon, 26 Mar 2012 17:45:09 +0000
To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Message-ID: <B5FEE00B53CF054AA8439027E8FE177518273DD1@IMCMBX04.MITRE.ORG>
Hi Folks,

What is the data type of this fixed element:

      <element name="Aircraft" fixed="boeing:AC-747" />

Can an XML instance document specify that its type is a QName, like so:

      <Aircraft xsi:type="xs:QName">boeing:AC-747</Aircraft>

That results in an error, why?

Received on Monday, 26 March 2012 17:45:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:16:01 UTC