home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 October / INTERNET108.ISO / pc / software / windows / building / xmlspy / xmlspyentcomplete5.exe / Data1.cab / _9ABA17F33A0C443092B5CF5AE82D1293 < prev    next >
Encoding:
Extensible Markup Language  |  2003-02-12  |  6.9 KB  |  187 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema targetNamespace="http://www.w3.org/2001/vxml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/vxml" elementFormDefault="qualified" version="1.0">
  3.     <xsd:annotation>
  4.         <xsd:documentation>VoiceXML 2.0 datatypes (20021115)</xsd:documentation>
  5.     </xsd:annotation>
  6.     <xsd:annotation>
  7.         <xsd:documentation>
  8. Copyright 1998-2002 W3C (MIT, INRIA, Keio), All Rights Reserved. Permission to
  9. use, copy, modify and distribute the VoiceXML schema and its accompanying
  10. documentation for any purpose and without fee is hereby granted in perpetuity,
  11. provided that the above copyright notice and this paragraph appear in all
  12. copies.  The copyright holders make no representation about the suitability of
  13. the schema for any purpose. It is provided "as is" without expressed or
  14. implied warranty.
  15. </xsd:documentation>
  16.     </xsd:annotation>
  17.     <xsd:annotation>
  18.         <xsd:documentation>
  19.     XML Schema datatypes module for VoiceXML 2.0
  20.     </xsd:documentation>
  21.     </xsd:annotation>
  22.     <xsd:annotation>
  23.         <xsd:documentation>General Datatypes</xsd:documentation>
  24.     </xsd:annotation>
  25.     <xsd:simpleType name="Boolean.datatype">
  26.         <xsd:annotation>
  27.             <xsd:documentation>Boolean: true or false only</xsd:documentation>
  28.         </xsd:annotation>
  29.         <xsd:restriction base="xsd:NMTOKENS">
  30.             <xsd:enumeration value="true"/>
  31.             <xsd:enumeration value="false"/>
  32.         </xsd:restriction>
  33.     </xsd:simpleType>
  34.     <xsd:simpleType name="URI.datatype">
  35.         <xsd:annotation>
  36.             <xsd:documentation>URI (RFC2396)</xsd:documentation>
  37.         </xsd:annotation>
  38.         <xsd:restriction base="xsd:anyURI"/>
  39.     </xsd:simpleType>
  40.     <xsd:simpleType name="Script.datatype">
  41.         <xsd:annotation>
  42.             <xsd:documentation>Script Expression (ECMA-262 ECMAScript)</xsd:documentation>
  43.         </xsd:annotation>
  44.         <xsd:restriction base="xsd:string"/>
  45.     </xsd:simpleType>
  46.     <xsd:simpleType name="Integer.datatype">
  47.         <xsd:annotation>
  48.             <xsd:documentation>Non-negative integer</xsd:documentation>
  49.         </xsd:annotation>
  50.         <xsd:restriction base="xsd:nonNegativeInteger"/>
  51.     </xsd:simpleType>
  52.     <xsd:simpleType name="Duration.datatype">
  53.         <xsd:annotation>
  54.             <xsd:documentation>Time designation following Time [CSS2]; negative numbers not allowed (6.5)</xsd:documentation>
  55.         </xsd:annotation>
  56.         <xsd:restriction base="xsd:string">
  57.             <xsd:pattern value="(\+)?([0-9]*\.)?[0-9]+(ms|s)"/>
  58.         </xsd:restriction>
  59.     </xsd:simpleType>
  60.     <xsd:simpleType name="ContentType.datatype">
  61.         <xsd:annotation>
  62.             <xsd:documentation>Content type [RFC2045]</xsd:documentation>
  63.         </xsd:annotation>
  64.         <xsd:list itemType="xsd:string"/>
  65.     </xsd:simpleType>
  66.     <xsd:annotation>
  67.         <xsd:documentation>VoiceXML specific datatypes</xsd:documentation>
  68.     </xsd:annotation>
  69.     <xsd:simpleType name="RestrictedVariableName.datatype">
  70.         <xsd:annotation>
  71.             <xsd:documentation>Variable name which are NMTOKEN. Additional
  72.         constraints: doesn't start with "_", doesn't contain "." , must 
  73. follow ECMAScript variable naming conventions; not include ECMAScript 
  74. reserve words</xsd:documentation>
  75.         </xsd:annotation>
  76.         <xsd:restriction base="xsd:NMTOKEN"/>
  77.     </xsd:simpleType>
  78.     <xsd:simpleType name="VariableName.datatype">
  79.         <xsd:annotation>
  80.             <xsd:documentation>Variable name which are model on NMTOKENS
  81.         except that "$" is permitted. Additional constraints: must 
  82. follow ECMAScript variable naming conventions; not include ECMAScript 
  83. reserve words</xsd:documentation>
  84.         </xsd:annotation>
  85.         <xsd:restriction base="xsd:token">
  86.             <xsd:pattern value="['$'\c]+"/>
  87.         </xsd:restriction>
  88.     </xsd:simpleType>
  89.     <xsd:simpleType name="RestrictedVariableNames.datatype">
  90.         <xsd:annotation>
  91.             <xsd:documentation>space separated list of restricted variable names </xsd:documentation>
  92.         </xsd:annotation>
  93.         <xsd:restriction base="xsd:NMTOKENS"/>
  94.     </xsd:simpleType>
  95.     <xsd:simpleType name="VariableNames.datatype">
  96.         <xsd:annotation>
  97.             <xsd:documentation>space separated list of variable names including shadow variables</xsd:documentation>
  98.         </xsd:annotation>
  99.         <xsd:restriction base="xsd:string">
  100.             <xsd:pattern value="['$'\c]+([\s]+['$'\c]+)*"/>
  101.         </xsd:restriction>
  102.     </xsd:simpleType>
  103.     <xsd:simpleType name="DTMFSequence.datatype">
  104.         <xsd:annotation>
  105.             <xsd:documentation>DTMF sequence ([0-9#*] with spaces)</xsd:documentation>
  106.         </xsd:annotation>
  107.         <xsd:restriction base="xsd:string">
  108.             <xsd:pattern value="([\s]*[0-9#*]+[\s]*)+"/>
  109.         </xsd:restriction>
  110.     </xsd:simpleType>
  111.     <xsd:simpleType name="EventName.datatype">
  112.         <xsd:annotation>
  113.             <xsd:documentation>EventName (5.2)</xsd:documentation>
  114.         </xsd:annotation>
  115.         <xsd:restriction base="xsd:NMTOKEN"/>
  116.     </xsd:simpleType>
  117.     <xsd:simpleType name="EventNames.datatype">
  118.         <xsd:annotation>
  119.             <xsd:documentation>space separated list of EventName.datatype</xsd:documentation>
  120.         </xsd:annotation>
  121.         <xsd:restriction base="xsd:NMTOKENS"/>
  122.     </xsd:simpleType>
  123.     <xsd:simpleType name="Bargeintype.datatype">
  124.         <xsd:annotation>
  125.             <xsd:documentation>bargeintype: speech or hotword (4.1.5)</xsd:documentation>
  126.         </xsd:annotation>
  127.         <xsd:restriction base="xsd:NMTOKEN">
  128.             <xsd:enumeration value="speech"/>
  129.             <xsd:enumeration value="hotword"/>
  130.         </xsd:restriction>
  131.     </xsd:simpleType>
  132.     <xsd:simpleType name="Fetchhint.datatype">
  133.         <xsd:annotation>
  134.             <xsd:documentation>prefetch or safe</xsd:documentation>
  135.         </xsd:annotation>
  136.         <xsd:restriction base="xsd:NMTOKEN">
  137.             <xsd:enumeration value="prefetch"/>
  138.             <xsd:enumeration value="safe"/>
  139.         </xsd:restriction>
  140.     </xsd:simpleType>
  141.     <xsd:simpleType name="Accept.datatype">
  142.         <xsd:annotation>
  143.             <xsd:documentation>exact or approximate</xsd:documentation>
  144.         </xsd:annotation>
  145.         <xsd:restriction base="xsd:NMTOKEN">
  146.             <xsd:enumeration value="exact"/>
  147.             <xsd:enumeration value="approximate"/>
  148.         </xsd:restriction>
  149.     </xsd:simpleType>
  150.     <xsd:simpleType name="GrammarScope.datatype">
  151.         <xsd:annotation>
  152.             <xsd:documentation>dialog or document</xsd:documentation>
  153.         </xsd:annotation>
  154.         <xsd:restriction base="xsd:NMTOKEN">
  155.             <xsd:enumeration value="document"/>
  156.             <xsd:enumeration value="dialog"/>
  157.         </xsd:restriction>
  158.     </xsd:simpleType>
  159.     <xsd:simpleType name="Method.datatype">
  160.         <xsd:annotation>
  161.             <xsd:documentation>get or post</xsd:documentation>
  162.         </xsd:annotation>
  163.         <xsd:restriction base="xsd:NMTOKEN">
  164.             <xsd:enumeration value="get"/>
  165.             <xsd:enumeration value="post"/>
  166.         </xsd:restriction>
  167.     </xsd:simpleType>
  168.     <xsd:simpleType name="FilledMode.datatype">
  169.         <xsd:annotation>
  170.             <xsd:documentation>any or all</xsd:documentation>
  171.         </xsd:annotation>
  172.         <xsd:restriction base="xsd:string">
  173.             <xsd:enumeration value="any"/>
  174.             <xsd:enumeration value="all"/>
  175.         </xsd:restriction>
  176.     </xsd:simpleType>
  177.     <xsd:simpleType name="Valuetype.datatype">
  178.         <xsd:annotation>
  179.             <xsd:documentation>data or ref</xsd:documentation>
  180.         </xsd:annotation>
  181.         <xsd:restriction base="xsd:string">
  182.             <xsd:enumeration value="data"/>
  183.             <xsd:enumeration value="ref"/>
  184.         </xsd:restriction>
  185.     </xsd:simpleType>
  186. </xsd:schema>
  187.