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.>
To: public-ws-semann@w3.org


>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"
    <enumeration value="black smoker"
    <enumeration value="unknown" modelReference="unknoenontology#unknown"/>

Thanks in advance,

Renzo Kottmann, PhD student IMPRS-MM
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.4.0 : Friday, 17 January 2020 19:36:21 UTC