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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Is it correct schema definition?

[ Lists Home | Date Index | Thread Index ]
  • To: <xml-dev@lists.xml.org>
  • Subject: Is it correct schema definition?
  • From: "Li Yuejiong(John)" <john_li@macrosynergy.com>
  • Date: Mon, 5 Dec 2005 22:26:11 +0800
  • Thread-index: AcX5eR9Al9Z4K/ffSmCEcOv48j5t9AAK0xdw
  • Thread-topic: Is it correct schema definition?

 Hi,

The following piece of schema is from a released Schema definition.The
problem is the attribute "fixed". In the element definition, fixed="" is
correct or not?

  <complexType name="countryItemType">
    <simpleContent>
      <restriction base="stringItemType">
        <length value="0" fixed="true" />
      </restriction>
    </simpleContent>
  </complexType>

  <element id="id_Afghanistan" name="Afghanistan" type="countryItemType"
substitutionGroup="CountryItemHead" fixed="" nillable="true" />

Thanks,
John




 

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

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