W3C home > Mailing lists > Public > public-ws-semann@w3.org > January 2008

SAWSDL and annotating enumerations in simpleTypes

From: Renzo Kottmann <rkottman@mpi-bremen.de>
Date: Sun, 6 Jan 2008 02:58:17 +0100 (CET)
Message-ID: <53806.134.102.40.13.1199584697.squirrel@magnum.mpi-bremen.de>
To: public-ws-semann@w3.org

Hi,

>From reading the specification and usage guide it is not clear to me
whether one can annotate enumeration elements within simpleTypes with the
modelReference attribute and if the techniques of  Bottom Level Annotation
 and Top Level Annotation hold. My specific use case is the following:

<simpleType name="marineHabitat" modelReference="envontology#marinehabitat">
  <restriction base="string">
    <enumeration value="hot vent"
modelReference="envontology#marinehabitat"/>
    <enumeration value="black smoker"
modelReference="envontology#marinehabitat"/>
    <enumeration value="unknown" modelReference="unknoenontology#unknown"/>
  </restriction>
</simpleType>

Thanks in advance,

renzo
-----------------------
Renzo Kottmann, PhD student IMPRS-MM
http://marmic.mpg.de
Microbial Genomics Group Department of Molecular Ecology
Max Planck Institute for Marine Microbiology
Celsiusstr. 1 D-28359 Bremen, Germany
Phone: +49-(0)421-2028-974
Fax:   +49-(0)421-2028-580
-----------------------
Received on Sunday, 6 January 2008 20:37:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:47 UTC