Glossary Item Box

MEdit Send comments on this topic.

XML Template Types

XML Template Types

 

XML Tempate Types

A variety of standardized templates are used in the process of converting ASN to its XML equivalent. This section documents the existing templates and their proper use. It should be noted that for the complex templates (such as a sequence) that other templates will be found inside them and the process builds up the final XML production in steps. In general each leaf that is pared out of the ASN produces one similar entry in the final XML. Indenting each part, as well as rendering various restrictions and trimming away unused section of the template, is handled by the Mini-Edit tool.

 

The current XML templates a user has can always be found in the table XML_Templates of the MEdit_Settings.mdb file.

 

 

 

tag

text

base_binary

<xs:simpleType name="binary">

   <xs:restriction base="xs:string">

      <xs:pattern value="[01]*"/>

   </xs:restriction>

</xs:simpleType>

base_boundedSring

<xs:simpleType name="BoundedString" $OCCURS$>

   <xs:restriction base="xs:string">

      <xs:maxLength value="255"/>

      <xs:minLength value="1"/>

   </xs:restriction>

</xs:simpleType>

base_numString

<xs:simpleType name="NumericString" $OCCURS$>

   <xs:restriction base="xs:string">

      <xs:pattern value="\d*"/>

   </xs:restriction>

</xs:simpleType>

base_octet

<xs:simpletype name="OctetStringOptions">  

   <xs:union memberTypes="xs:hexBinary xs:base64Binary"/>     

</xs:simpleType> 

<xs:complexType name="OctetString">

   <xs:simpleContent>

      <xs:extension base="OctetStringOptions">

         <xs:attribute name="EncodingType" use="required">

            <xs:simpleType>

               <xs:restriction base="xs:NMTOKEN">

                  <xs:enumeration value="hexBinary"/>

                  <xs:enumeration value="base64Binary"/>

               </xs:restriction>

            </xs:simpleType>

         </xs:attribute>

      </xs:extension>

   </xs:simpleContent>

</xs:simpletype>

base_undefined

<xs:simpletype name="UndefinedElement"/>

begin

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

BIT STRING

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>       

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="binary">

         <xs:minLength value="$MIN_LENGTH$"/>

         <xs:maxLength value="$MAX_LENGTH$"/>

         <xs:length value="$ONLY_LENGTH$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

BIT STRING COMPLEX

<xs:$TYPE$ name="$NAME$-item" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:union>

         <xs:simpleType>

            <xs:restriction base="xs:int">

               <xs:minInclusive value="$MIN_VALUE$"/>

               <xs:maxInclusive value="$MAX_VALUE$"/>

            </xs:restriction>

         </xs:simpleType>

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:enumeration value="$ENUM_STRING_VALUE$"/>

            </xs:restriction>

         </xs:simpleType >

      </xs:union>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

 

<xs:simpleType name="$NAME$">

   <xs:list itemType="$NAME$-item"/>

</xs:simpleType>

BIT_STRING_COMPLEX_LOCAL

<xs:$TYPE$ name="$NAME$-item" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:union>

         <xs:simpleType>

            <xs:restriction base="xs:int">

               <xs:minInclusive value="$MIN_VALUE$"/>

               <xs:maxInclusive value="$MAX_VALUE$"/>

            </xs:restriction>

         </xs:simpleType>

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:enumeration value="$ENUM_STRING_VALUE$"/>

            </xs:restriction>

         </xs:simpleType >

         <xs:simpleType>

            <xs:restriction base="local:$COMPLEX_NAME$" />

         </xs:simpleType>

      </xs:union>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

 

<xs:simpleType name="$NAME$">

   <xs:list itemType="$NAME$-item"/>

</xs:simpleType>

BIT_STRING_LOCAL

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:union>

         <xs:simpleType>

            <xs:restriction base="binary">

               <xs:minLength value="$MIN_LENGTH$"/>

               <xs:maxLength value="$MAX_LENGTH$"/>

               <xs:length value="$ONLY_LENGTH$"/>

            </xs:restriction>

         </xs:simpleType>

         <xs:simpleType>

            <xs:restriction base="local:$COMPLEX_NAME$" />

         </xs:simpleType>

      </xs:union>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

BOOLEAN

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$> 

      <xs:annotation>

         <xs:documentation>       

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:boolean"/>

   </xs:$SUBTYPE$> 

</xs:$TYPE$>

bottom

<!--  -->

<!-- The final few items are global types used by other entires -->

<!--  -->

 

<xs:simpleType name="binary">

   <xs:restriction base="xs:string">

      <xs:pattern value="[01]*"/>

   </xs:restriction>

</xs:simpleType>

 

<xs:simpleType name="OctetStringOptions">  

   <xs:union memberTypes="xs:hexBinary xs:base64Binary"/>     

</xs:simpleType>

<xs:complexType name="OctetString">

   <xs:simpleContent>

      <xs:extension base="OctetStringOptions">

         <xs:attribute name="EncodingType" use="required">

            <xs:simpleType>

               <xs:restriction base="xs:NMTOKEN">

                  <xs:enumeration value="hexBinary"/>

                  <xs:enumeration value="base64Binary"/>

               </xs:restriction>

            </xs:simpleType>

         </xs:attribute>

      </xs:extension>

   </xs:simpleContent>

</xs:complexType>

 

<xs:simpleType name="NumericString">

   <xs:restriction base="xs:string">

      <xs:pattern value="\d*"/>  

   </xs:restriction>

</xs:simpleType>

bottomFirst

<!--  -->

<!-- These items are added the schema file by the export routines -->

<!-- The below entries are provided to "patch" to common items  -->

<!-- which ideally will be properly defined in other namesspaces  -->

<!--  -->

 

<xs:complexType name="xxx"/>  <!-- add others as needed -->

CHOICE

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:choice>

         $INSERT_HERE$

      </xs:choice>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

CHOICE-NOTAG

<xs:choice $OCCURS$>

   $INSERT_HERE$

</xs:choice>

<!-- $ASN_COMMENTS$ -->

complex_type

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:sequence minOccurs="0" maxOccurs="unbounded">

         <xs:element name="$SUB_NAME$" type="xs:$SUB_TYPE$"/>

      </xs:sequence>

   </xs:$SUBTYPE$>

</xs:$TYPE$>  <!-- is this used anymore? -->

customImports

$CUSTOM_IMPORTS$

customNamespaces

<xs:schema targetNamespace="http://www.$NAMESPACE$-$MAIN_RELEASE_TYPE$-$MAIN_REVISION_STRING$"

   xmlns="http://www.$NAMESPACE$-$MAIN_RELEASE_TYPE$-$MAIN_REVISION_STRING$"

   xmlns:xs="http://www.w3.org/2001/XMLSchema"

   $CUSTOM_NAMESPACES$

   elementFormDefault="unqualified"

   attributeFormDefault="unqualified"

   version="DRAFT">

<!-- add for each space you define: xmlns:$NAME$="http://www.$NAME$-$RELEASE_TYPE$-$REVISION_STRING$ -->

customWSDLNamespaces

<xs:schema targetNamespace="http://www.$NAMESPACE$-$MAIN_RELEASE_TYPE$-$MAIN_REVISION_STRING$"

   xmlns="http://www.$NAMESPACE$-$MAIN_RELEASE_TYPE$-$MAIN_REVISION_STRING$"

   xmlns:xs="http://www.w3.org/2001/XMLSchema"

   xmlns:c2c="http://www.c2c-adopted-01-00-00"

   xmlns:ftp="http://schemas.ntcip.org/wsdl/ftp/"  

   xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"

   xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"

   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">

   $CUSTOM_NAMESPACES$

   elementFormDefault="unqualified"

   attributeFormDefault="unqualified"

   version="DRAFT">

<!-- add for each space you define: xmlns:$NAME$="http://www.$NAME$-$RELEASE_TYPE$-$REVISION_STRING$ -->

defined_type

<xs:$TYPE$ name="$NAME$" type="$DEF_TYPE$" $OCCURS$>

end

</xs:schema>

ENUMERATED

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:union>

         <xs:simpleType>

            <xs:restriction base="xs:unsignedInt">

               <xs:minInclusive value="$MIN_VALUE$"/>

               <xs:maxInclusive value="$MAX_VALUE$"/>

            </xs:restriction>

         </xs:simpleType>

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:enumeration value="$ENUM_STRING_VALUE$"/>

            </xs:restriction>

         </xs:simpleType >

      </xs:union>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

ENUMERATED_ITIS

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:union>

          <xs:simpleType>

            <xs:restriction base="xs:unsignedInt">

               <xs:minInclusive value="$MIN_VALUE$"/>

               <xs:maxInclusive value="$MAX_VALUE$"/>

            </xs:restriction>

         </xs:simpleType>

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:enumeration value="$ENUM_STRING_VALUE$" id="_$ENUM_ID_VALUE$"/>

            </xs:restriction>

         </xs:simpleType >

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:pattern value="\[.+\].*"/>

            </xs:restriction>

         </xs:simpleType>        

         <xs:simpleType>

            <xs:restriction base="local:$COMPLEX_NAME$" />

         </xs:simpleType>

      </xs:union>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

ENUMERATED_ITIS-test

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:union>

         <xs:simpleType>

            <xs:restriction base="xs:unsignedInt">

               <xs:minInclusive value="$MIN_VALUE$"/>

               <xs:maxInclusive value="$MAX_VALUE$"/>

            </xs:restriction>

         </xs:simpleType>

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:enumeration value="$ENUM_STRING_VALUE$" id="_$ENUM_ID_VALUE$"/>

            </xs:restriction>

         </xs:simpleType >

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:pattern value="\[.+\].*"/>

            </xs:restriction>

         </xs:simpleType>        

         <xs:simpleType>

            <xs:restriction base="local:$COMPLEX_NAME$" />

         </xs:simpleType>

      </xs:union>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

ENUMERATED_LOCAL

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:union>

         <xs:simpleType>

            <xs:restriction base="xs:unsignedInt">

               <xs:minInclusive value="$MIN_VALUE$"/>

               <xs:maxInclusive value="$MAX_VALUE$"/>

            </xs:restriction>

         </xs:simpleType>

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:enumeration value="$ENUM_STRING_VALUE$"/>

            </xs:restriction>

         </xs:simpleType >

         <xs:simpleType>

            <xs:restriction base="local:$COMPLEX_NAME$" />

         </xs:simpleType>

      </xs:union>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

error_bottom

 

</errors>

error_top

<?xml version="1.0" encoding="UTF-8"?>

<!--Begin export of errors and warnings found -->

<errors>

external

<xs:$TYPE$ name="wxyz" type="wxyz:SpecialType"/>

<!--Does not seem right???  From 4.23 -->

   <xs:annotation>

      <xs:appinfo>

         $APP_INFO$

      </xs:appinfo>

      <xs:documentation>      

         $ASN_COMMENTS$

      </xs:documentation>

   </xs:annotation>

</xs:$TYPE$>

IA5String

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:string">

         <xs:minLength value="$MIN_LENGTH$"/>

         <xs:maxLength value="$MAX_LENGTH$"/>

         <xs:length value="$ONLY_LENGTH$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

importADUS

<xs:import namespace="http://www.adus-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="adus.xsd"/>

importATIS

<xs:import namespace="http://www.atis-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="atis.xsd"/>

importC2C

<xs:import namespace="http://www.c2c-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="c2c.xsd"/>

importDSRC

<xs:import namespace="http://www.dsrc-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="dsrc.xsd"/>

importHPMS

<xs:import namespace="http://www.hpms-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="hpms.xsd"/>

importIM

<xs:import namespace="http://www.im-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="im.xsd"/>

importITIS

<xs:import namespace="http://www.itis-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="itis.xsd"/>

importJXDD

<xs:import namespace="http://www.jxdd-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="jxdd.xsd"/>

importLocal

<xs:import namespace="http://www.$OWNER$-local-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="$OWNER$-local.xsd"/>

importLRMS

<xs:import namespace="http://www.lrms-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="lrms.xsd"/>

importNTCIP

<xs:import namespace="http://www.ntcip-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="ntcip.xsd"/>

importRSPA

<xs:import namespace="http://www.rspa-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="rspa.xsd"/>

imports

<!--  HAND EDIT THE ABOVE SECTION TO REMOVE ANY NAMESPACEs YOU DO NOT NEED -->

<!--  HAND EDIT THE ABOVE SECTION TO REMOVE ANY NAMESPACEs YOU DO NOT NEED -->

<!--  HAND EDIT THE ABOVE SECTION TO REMOVE ANY NAMESPACEs YOU DO NOT NEED -->

<!--  HAND EDIT THE ABOVE SECTION TO REMOVE ANY NAMESPACEs YOU DO NOT NEED -->

<!-- The two sections should match (remove items from both as needed) -->

<!--  HAND EDIT THIS SECTION TO REMOVE ANY NAMESPACEs YOU DO NOT NEED -->

<!--  HAND EDIT THIS SECTION TO REMOVE ANY NAMESPACEs YOU DO NOT NEED -->

<!--  HAND EDIT THIS SECTION TO REMOVE ANY NAMESPACEs YOU DO NOT NEED -->

<!--  HAND EDIT THIS SECTION TO REMOVE ANY NAMESPACEs YOU DO NOT NEED -->

<!--  Where do you get the file with this namespace, of the form:

      <xs:import namespace="AboveURI" schemaLocation="$PATH$/$NAME$.xsd" /> 

      which must match the namespace you defined above as well -->

<xs:import namespace="http://www.lrms-0-0-0" schemaLocation="$PATH$/lrms.xsd"/>

<xs:import namespace="http://www.itis-0-0-0" schemaLocation="$PATH$/itis.xsd"/>

<xs:import namespace="http://www.tcip-0-0-0" schemaLocation="$PATH$/tcip.xsd"/>

<xs:import namespace="http://www.tmdd-0-0-0" schemaLocation="$PATH$/tmdd.xsd"/>

<xs:import namespace="http://www.atis-0-0-0" schemaLocation="$PATH$/atis.xsd"/>

<xs:import namespace="http://www.adus-0-0-0" schemaLocation="$PATH$/adus.xsd"/>

<xs:import namespace="http://www.hpms-0-0-0" schemaLocation="$PATH$/hpms.xsd"/>

<xs:import namespace="http://www.dsrc-0-0-0" schemaLocation="$PATH$/dsrc.xsd"/>

<xs:import namespace="http://www.im-0-0-0" schemaLocation="$PATH$/im.xsd"/>

<xs:import namespace="http://www.ntcip-0-0-0" schemaLocation="$PATH$/ntcip.xsd"/>

importTCIP

<xs:import namespace="http://www.tcip-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="tcip.xsd"/>

importTMDD

<xs:import namespace="http://www.tmdd-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="tmdd.xsd"/>

importUNITS

<xs:import namespace="http://www.units-$RELEASE_TYPE$-$REVISION_STRING$" schemaLocation="units.xsd"/>

Incomplete

<!-- WARNING  The XML is not complete and needs further refinement -->

INTEGER_ALL

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>  

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:int">

         <xs:minInclusive value="$MIN_VALUE$"/>

         <xs:maxInclusive value="$MAX_VALUE$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

INTEGER_BYTE

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$> 

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:byte">

         <xs:minInclusive value="$MIN_VALUE$"/>

         <xs:maxInclusive value="$MAX_VALUE$"/>

      </xs:restriction>

   </xs:$SUBTYPE$> 

</xs:$TYPE$>

INTEGER_SHORT

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:short">

         <xs:minInclusive value="$MIN_VALUE$"/>

         <xs:maxInclusive value="$MAX_VALUE$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

INTEGER_UNSIGNED_BYTE

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:unsignedByte">

         <xs:minInclusive value="$MIN_VALUE$"/>

         <xs:maxInclusive value="$MAX_VALUE$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

INTEGER_UNSIGNED_INT

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:unsignedInt">

         <xs:minInclusive value="$MIN_VALUE$"/>

         <xs:maxInclusive value="$MAX_VALUE$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

INTEGER_UNSIGNED_SHORT

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:unsignedShort">

         <xs:minInclusive value="$MIN_VALUE$"/>

         <xs:maxInclusive value="$MAX_VALUE$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

ITISandTEXT

<!--  This template is not yet ready to use -->

<!--  Still developing the logic for this one -->

<!-- it will be a struc with the text tags and the enum

     for the allowed subset of ITIS to be used -->

ITIScodes

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:union>

         <xs:simpleType>

            <xs:restriction base="xs:unsignedInt">

               <xs:minInclusive value="$MIN_VALUE$"/>

               <xs:maxInclusive value="$MAX_VALUE$"/>

            </xs:restriction>

         </xs:simpleType>

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <!-- the following subset of the ITIS codes shall be used -->

               <xs:enumeration value="$ENUM_STRING_VALUE$"/>

            </xs:restriction>

         </xs:simpleType >

      </xs:union>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

Local_ENUMERATED

<xs:simpleType name="$NAME$">

   <xs:restriction base="xs:string">

      <xs:enumeration value="insert-local-values-here"/>

   </xs:restriction>

</xs:simpleType>

Local_SEQUENCE

<xs:complexType name="$NAME$">

   <xs:sequence>

      <xs:element name="yourName"  minOccurs="0">

         <xs:simpleType>

            <xs:restriction base="xs:string">

               <xs:length value="10"/>

            </xs:restriction>

         </xs:simpleType>

      </xs:element>

      <!-- Insert instance name and Type of each elements here,

           and any restrictions that are needed. -->

   </xs:sequence>

</xs:complexType>

namespaces

<xs:schema targetNamespace="http://www.Edit-$NAMESPACE$-$MAIN_RELEASE_TYPE$"

   xmlns="http://www.Edit-$NAMESPACE$-$MAIN_REVISION_STRING$"

   xmlns:xs="http://www.w3.org/2001/XMLSchema"

   xmlns:lrms="http://www.lrms-0-0-0"

   xmlns:itis="http://www.itis-0-0-0"

   xmlns:tcip="http://www.tcip-0-0-0"

   xmlns:tmdd="http://www.tmdd-0-0-0"

   xmlns:atis="http://www.atis-0-0-0"

   xmlns:adus="http://www.adus-0-0-0"

   xmlns:hpms="http://www.hpms-0-0-0"

   xmlns:dsrc="http://www.dsrc-0-0-0"

   xmlns:ntcip="http://www.ntcip-0-0-0"

   xmlns:im="http://www.im-0-0-0"  

   elementFormDefault="unqualified"

   attributeFormDefault="unqualified"

   version="DRAFT">

<!-- add for each space you define: xmlns:$NAME$="http://www.$NAME$-$RELEASE_TYPE$-$REVISION_STRING$ -->

No_errors

<Summary>

<Results>   No Errrors or Warnings were found.

</Results>

</Summary>

None

<!--  No pattern available for this item    -->

<!--  Suggest you manually edit this entry  -->

nsADUS

xmlns:adus="http://www.adus-$RELEASE_TYPE$-$REVISION_STRING$"

nsATIS

xmlns:atis="http://www.atis-$RELEASE_TYPE$-$REVISION_STRING$"

nsC2C

xmlns:dsrc="http://www.dc2c-$RELEASE_TYPE$-$REVISION_STRING$"

nsDSRC

xmlns:dsrc="http://www.dsrc-$RELEASE_TYPE$-$REVISION_STRING$"

nsHPMS

xmlns:hpms="http://www.hpms-$RELEASE_TYPE$-$REVISION_STRING$"

nsIM

xmlns:im="http://www.im-$RELEASE_TYPE$-$REVISION_STRING$"

nsITIS

xmlns:itis="http://www.itis-$RELEASE_TYPE$-$REVISION_STRING$"

nsJXDD

xmlns:jxdd="http://www.jxdd-$RELEASE_TYPE$-$REVISION_STRING$"

nsLocal

xmlns:local="http://www.$OWNER$-local-$RELEASE_TYPE$-$REVISION_STRING$"

nsLRMS

xmlns:lrms="http://www.lrms-$RELEASE_TYPE$-$REVISION_STRING$"

nsNTCIP

xmlns:ntcip="http://www.ntcip-$RELEASE_TYPE$-$REVISION_STRING$"

nsRSPA

xmlns:units="http://www.rspa-$RELEASE_TYPE$-$REVISION_STRING$"

nsTCIP

xmlns:tcip="http://www.tcip-$RELEASE_TYPE$-$REVISION_STRING$"

nsTMDD

xmlns:tmdd="http://www.tmdd-$RELEASE_TYPE$-$REVISION_STRING$"

nsUNITS

xmlns:units="http://www.units-$RELEASE_TYPE$-$REVISION_STRING$"

NULL

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$> 

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

   </xs:$SUBTYPE$> 

</xs:$TYPE$>

NumericString

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$> 

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:string">

         <xs:pattern value="\d*"/>  

         <xs:minLength value="$MIN_LENGTH$"/>

         <xs:maxLength value="$MAX_LENGTH$"/>

         <xs:length value="$ONLY_LENGTH$"/>

      </xs:restriction>

   </xs:$SUBTYPE$> 

</xs:$TYPE$>

OBJECT-IDENTIFIER

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:string"/>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

OCTET_STRING

<xs:$TYPE$ name="$NAME$" type="UndefinedElement"  $OCCURS$/>

OCTET_STRING_RANGED

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:simpleContent>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:extension base="$NAME$-string" >

         <xs:attribute name="EncodingType" use="required">

           <xs:simpleType>

              <xs:restriction base="xs:NMTOKEN">

                 <xs:enumeration value="$ENCODING$"/>

              </xs:restriction>

           </xs:simpleType>

         </xs:attribute>

      </xs:extension>

   </xs:simpleContent>

</xs:$TYPE$>

<xs:simpleType name="$NAME$-string">

   <xs:restriction base="xs:$ENCODING$">

      <xs:minLength value="$MIN_LENGTH$"/>

      <xs:maxLength value="$MAX_LENGTH$"/>

      <xs:length value="$ONLY_LENGTH$"/>

   </xs:restriction>

</xs:simpleType >

OCTET_STRING_RANGEDx

<xs:$TYPE$ name="$NAME$" EncodingType="$ENCODING$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="OctetString" >

         <xs:minLength value="$MIN_LENGTH$"/>

         <xs:maxLength value="$MAX_LENGTH$"/>

         <xs:length value="$ONLY_LENGTH$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

path

http://www.itsware.net/xml

PrintableString

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$> 

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:string">

         <xs:pattern value="[0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!@#$%^&*()_+|,./<>?;':"[]{}]*"/>

         <xs:minLength value="$MIN_LENGTH$"/>

         <xs:maxLength value="$MAX_LENGTH$"/>

         <xs:length value="$ONLY_LENGTH$"/>

      </xs:restriction>

   </xs:$SUBTYPE$> 

</xs:$TYPE$>

REAL

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

   <xs:annotation>

      <xs:documentation>      

          $ASN_COMMENTS$

      </xs:documentation>

   </xs:annotation>

   <xs:restriction base="xs:float">

      <xs:minInclusive value="$MIN_VALUE$"/>

      <xs:maxInclusive value="$MAX_VALUE$"/>

   </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

<!-- Warning, above may need hand editing -->  

<!-- observe that min-max restrictions have -->

<!-- not been added to this template yet -->

scrap_bottom

</scrap>

</xs:schema>

scrap_top

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema targetNamespace="http://www.SCRAP-0-0-0"

   xmlns="http://www.SCRAP-0-0-0"

   xmlns:xs="http://www.w3.org/2001/XMLSchema"

   xmlns:lrms="http://www.lrms-0-0-0"

   xmlns:itis="http://www.itis-0-0-0"

   xmlns:tcip="http://www.tcip-0-0-0"

   xmlns:tmdd="http://www.tmdd-0-0-0"

   xmlns:atis="http://www.atis-0-0-0"

   xmlns:adus="http://www.adus-0-0-0"

   xmlns:hpms="http://www.hpms-0-0-0"

   xmlns:dsrc="http://www.dsrc-0-0-0"

   xmlns:ntcip="http://www.ntcip-0-0-0"

   xmlns:im="http://www.im-0-0-0"

   elementFormDefault="qualified"

   attributeFormDefault="unqualified"

   version="SCRAP_DRAFT">

<!--Begin export -->

<scrap>

SEQUENCE

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:sequence>

         $INSERT_HERE$

      </xs:sequence>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

SEQUENCE-NOTAG

<xs:sequence>

   $INSERT_HERE$

</xs:sequence>

SEQUENCE-OF

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:sequence minOccurs="0" maxOccurs="unbounded">

        $INSERT_HERE$

      </xs:sequence>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

SEQUENCE-OF-NOTAG

<xs:element name="$NAME$"  type="$INSERT_HERE$" minOccurs="$MIN_LENGTH$" maxOccurs="unbounded" />

<!-- $ASN_COMMENTS$ -->

SEQUENCE-OF-NOTAG-COMPLEX

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:sequence minOccurs="$MIN_LENGTH$" maxOccurs="$MAX_LENGTH$">

         $INSERT_HERE$

      </xs:sequence>

   </xs:$SUBTYPE$>

</xs:$TYPE$>  <!-- not sure about above template -->

SEQUENCE-OF-RANGED

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:sequence minOccurs="$MIN_LENGTH$" maxOccurs="$MAX_LENGTH$">

         $INSERT_HERE$

      </xs:sequence>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

SEQUENCE-OF-RANGED-NOTAG

<xs:element name="$NAME$"  type="$INSERT_HERE$" minOccurs="$MIN_LENGTH$" maxOccurs="$MAX_LENGTH$" />

<!-- $ASN_COMMENTS$ -->

SEQUENCE-TO-CHOICE

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:choice minOccurs="$MIN_VALUE$">

        $INSERT_HERE$

      </xs:choice>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

SEQUENCE-TO-CHOICE-NOTAG

<xs:choice minOccurs="$MIN_VALUE$">

   $INSERT_HERE$

</xs:choice>

<!-- $ASN_COMMENTS$ -->

SET

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:sequence>

         $INSERT_HERE$

      </xs:sequence>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

top

<?xml version="1.0" encoding="UTF-8"?>

top_Level

<xs:$TYPE$ name="$NAME$"  type="$NAME$">

topAnnotate

<xs:annotation>

   <xs:documentation>

      $TEXT$

   </xs:documentation>

</xs:annotation>

TypeDef

<xs:$TYPE$ name="$NAME$" type="$DEF_TYPE$" $OCCURS$>

</xs:$TYPE$>

TypeDef_ATTRIB

<xs:$TYPE$ name="$NAME$" type="$DEF_TYPE$" $OCCURS$>

</xs:$TYPE$>

TypeDef_COMPLEX

<xs:complexType name="$NAME$" $OCCURS$>

    <xs:complexContent>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:extension base ="$DEF_TYPE$"/>

    </xs:complexContent>

</xs:complexType>

TypeDef_RANGED

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$>

      <xs:annotation>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base ="$DEF_TYPE$">

         <xs:minInclusive value="$MIN_VALUE$"/>

         <xs:maxInclusive value="$MAX_VALUE$"/>

         <xs:minLength value="$MIN_LENGTH$"/>

         <xs:maxLength value="$MAX_LENGTH$"/>

         <xs:length value="$ONLY_LENGTH$"/>

      </xs:restriction>

   </xs:$SUBTYPE$>

</xs:$TYPE$>

UTF8String

<xs:$TYPE$ name="$NAME$" $OCCURS$>

   <xs:$SUBTYPE$> 

      <xs:annotation>

         <xs:appinfo>

            $APP_INFO$

         </xs:appinfo>

         <xs:documentation>      

            $ASN_COMMENTS$

         </xs:documentation>

      </xs:annotation>

      <xs:restriction base="xs:string">

         <xs:minLength value="$MIN_LENGTH$"/>

         <xs:maxLength value="$MAX_LENGTH$"/>

         <xs:length value="$ONLY_LENGTH$"/>

      </xs:restriction>

   </xs:$SUBTYPE$> 

</xs:$TYPE$>



 

 

 

11424034

   <-LAST     TOP      NEXT->  

 

 


© SubCarrier Systems Corp. All Rights Reserved.