ISDN ERROR in PI XI

Hello all,
we have troubles with sending messages via ISDN line from PX0. Bellow on the screen you can see details.
Thanks a lot for help
error:
ISDN Error occured (Capi runtime error: application 22033 class 4, value 1: Bearer capability not implemented), rescheduling message
details
http://download.hellshare.cz/error-isdn-jpg/4048100/

Hi!
Yes i have dicussed with the basis team they gave me two file name
/usr/sap/hostctrl/work/dev_saphostexec
/usr/sap/OXD/DVEBMGS00/j2ee/cluster/server0/OOM.hprof
Because of these two files only often PI server is facing problem in database so they ask us to delete this two files.
Since i am new to XI i dont know about the useage of these file ,so i am hesitating to delete these two files.
Error Is:
While Login to the Pi Server the following error message is displaying
"SQL Database error is occurred when accessing"
When we restart the PI server the problem is getting solved.After Few weeks we will get the same error message.

Similar Messages

  • Cause 1 = 0x82A6 Network out of order - ISDN error

    When we are try to make outgoing call, we are getting the below error :
    cause 1 = 0x82A6 Network out of order
    Incoming call there is no problem in the Same E1 PRI line, ISP saying there is no problem from thier side.

    We are using h323 gateway. When I am using csim start the outgoing calls fails
    ISA-VG1#un all
    All possible debugging has been turned off
    ISA-VG1#csim start 93XXX6306
    csim: called number = 93XXX6306, loop count = 1 ping count = 0
    csim err csimDisconnected recvd DISC cid(570049)
    csim: loop = 1, failed = 1
    csim: call attempted = 1, setup failed = 1, tone failed = 0
    Router#sh gateway
    H.323 ITU-T Version: 4.0   H323 Stack Version: 0.1
    H.323 service is up
    This gateway  is not registered to any gatekeeper
    Alias list (CLI configured) is empty
    Alias list (last RCF) is empty
    ISA-VG1#csim start 93XXX6306
    csim: called number = 934466306, loop count = 1 ping count = 0
    *Feb  5 13:06:47.949 UTC: ISDN Se0/3/0:15 Q931: Sending SETUP  callref = 0x3957
    callID = 0xCE73 switch = primary-net5 interface = User
    *Feb  5 13:06:47.953 UTC: ISDN Se0/3/0:15 Q931: TX -> SETUP pd = 8  callref = 0x
    3957
            Bearer Capability i = 0x8090A3
                    Standard = CCITT
                    Transfer Capability = Speech
                    Transfer Mode = Circuit
                    Transfer Rate = 64 kbit/s
            Channel ID i = 0xA9839F
                    Exclusive, Channel 31
            Called Party Number i = 0x80, '34XXX6306'
                    Plan:Unknown, Type:Unknown
    *Feb  5 13:06:48.049 UTC: ISDN Se0/3/0:15 Q931: RX <- SETUP_ACK pd = 8  callref
    = 0xB957
            Channel ID i = 0xA9839F
                    Exclusive, Channel 31
    csim err csimDisconnected recvd DISC cid(570048)
    csim: loop = 1, failed = 1
    csim: call attempted = 1, setup failed = 1, tone failed = 0
    ISA-VG1#
    *Feb  5 13:06:48.049 UTC: ISDN Se0/3/0:15 Q931: RX <- CALL_PROC pd = 8  callref
    = 0xB957
            Progress Ind i = 0x8288 - In-band info or appropriate now available
    *Feb  5 13:06:48.097 UTC: ISDN Se0/3/0:15 Q931: RX <- RELEASE pd = 8  callref =
    0xB957
           Cause i = 0x82A6 - Network out of order
    *Feb  5 13:06:48.097 UTC: ISDN Se0/3/0:15 Q931: TX -> RELEASE_COMP pd = 8  callr
    ef = 0x3957
    Incoming calls are perefect, Please let me know the problem is from ISP Side ?

  • 2811 ISDN **ERROR**: accept_incoming_data: no hdlc available

    Hi,
    My customer has a 2811 with a vwic2-1mft-e1/t1 configured as fractional and every incoming call es rejected with this error message:
    *Apr 29 09:00:44.169: ISDN Se0/0/0:15 **ERROR**: accept_incoming_data: no hdlc available from controller b channel 0, call id 0xB
    I attached the show ver, show run, show isdn status and the q931 debug.
    The PRI is fractional, the telco provide 10 channels but they have configured 15 channels.
    Thanks in advance

    Hi Jorge,
    First I would like to know whether you want to use this connectivity for Voice or Data.
    From the configuration you have configured the controller with pri-group command which is used to configure voice channels. However the error message states that it's nto able to accept data.
    If you are usng this link for data connectivity use channel-group 1 timeslots 1-16 command instead of pri-group.
    If you want to use this link for both voice and data then, follow the link posted by paolo.
    -> Sushil

  • Outgoing to ISDN calls fail with cause 0x2C

    Cisco 2821 with 4 E1 connected to PSTN. Most outgoing calls flow without any issues, but sometimes fails (debug isdn error shows "CCPMSG_OutCall: fails with cause 0x2C"). I see enough free timeslots in E1 at this time. This E1 using for outgoing calls only, incoming calls come via other E1.
    Router configuration:
    controller E1 0/1/1
    framing NO-CRC4
    pri-group timeslots 1-31
    interface Serial0/1/1:15
    no ip address
    encapsulation hdlc
    no logging event link-status
    isdn switch-type primary-net5
    isdn timer T303 120000
    isdn incoming-voice voice
    isdn map address .* plan isdn type national
    isdn send-alerting
    isdn negotiate-bchan resend-setup
    isdn bchan-number-order ascending round-robin
    isdn sending-complete
    no isdn outgoing display-ie
    trunk-group PSTN 10
    no cdp enable

    "debug isdn q931 detailed" & "debug isdn error" show:
    ISDN Se0/1/1:15 Q931d: Default type/plan 0x0 0x1 sw-type 18 Calling number 4242510458 isdn_map 0 mask 0x3022
    ISDN Se0/1/1:15 Q931d: Calling plan/type unspecified in call_decode, so ignored.
    ISDN Se0/1/1:15 Q931d: No call_decode, isdn default set
    ISDN Se0/1/1:15 Q931d: isdn_parser_map_lkup: Comparing 4242510458/.*, (regexp)
    ISDN Se0/1/1:15 Q931d: isdn_parser_map_lkup: overriding plan/type for 4242510458, isdn/unknown to isdn/national; Oct3a 0x81
    ISDN Se0/1/1:15 Q931d: Default type/plan 0x0 0x1 sw-type 18 Called number 9262151 isdn_map 0 mask 0x3022
    ISDN Se0/1/1:15 Q931d: Called plan/type unspecified in call_decode, so ignored.
    ISDN Se0/1/1:15 Q931d: No call_decode, isdn default set
    ISDN Se0/1/1:15 Q931d: isdn_parser_map_lkup: Comparing 9262151/.*, (regexp)
    ISDN Se0/1/1:15 Q931d: isdn_parser_map_lkup: overriding plan/type for 9262151, isdn/unknown to isdn/national
    ISDN Se0/1/1:15 Q931d: isdn_parser_map_lkup: Comparing 4242510458/.*, (regexp)
    ISDN Se0/1/1:15 Q931d: isdn_parser_map_lkup: overriding plan/type for 4242510458, isdn/unknown to isdn/national
    ISDN Se0/1/1:15 **ERROR**: CCPMSG_OutCall: fails with cause 0x2C
    ISDN Se0/1/1:15 Q931d: L3IF_rx_L2_pak: received data
    080285335A
    ISDN Se0/1/1:15 Q931d: L3_Go: source 0x020A, event 0x005A, call id 0x0000, int id 0x0
    ISDN Se0/1/1:15 Q931d: L3_Go: event 0x5A cr_len 2 cr 1331
    ISDN Se0/1/1:15 Q931d: L3_Go: call_id 0x84C9 cr 0x533 state 19 event 0x5A ces 1
    ISDN Se0/1/1:15 Q931d: L3_ProcessEvent: callref = 0x0533 RELEASE_COMP:U19_ReleaseComp(nlcb)
    ISDN Se0/1/1:15 Q931d: L3_state_change: callref 0x0533 old RELEASE_REQUEST, new NULL_STATE

  • Q-sig Integration AS5400 / Hicon 300 E

    I have a AS5400 router, and it has two E1/R2 interfaces and One E1/PRI(ISDN/QSIG).The first E1(6/7) are linked with PBX (ISDN Q-Sig) and the second E1 I used to remote access with E1 R2 linked with PSTN it's work fine.
    The problem is with ISDN/Q-SIG voice works:
    Below the configuration: (sh ver, Debug q931 and 921)
    Phone -- PABX/Hicom 300 -- E1/PRI(ISDN-Qsig) -- AS5400 --- 2621 -- E1/R2 -- PABX/Hicom 300 Phone
    AS5400#sh run
    Building configuration...
    Current configuration : 6990 bytes
    version 12.2
    service timestamps debug datetime msec localtime show-timezone
    service timestamps log datetime msec localtime show-timezone
    service password-encryption
    service pt-vty-logging
    hostname AS5400
    boot system flash c5400-is-mz.122-15.T1.bin
    no boot startup-test
    logging queue-limit 100
    no logging rate-limit
    no logging console
    resource-pool disable
    clock timezone BRA -3
    spe country e1-default
    spe default-firmware spe-firmware-1
    ip subnet-zero
    no ip source-route
    ip cef
    isdn switch-type primary-qsig
    isdn voice-call-failure 0
    voice call send-alert
    voice call convert-discpi-to-prog
    voice call carrier capacity active
    voice rtp send-recv
    voice service voip
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
    h323
    voice class codec 1
    codec preference 1 g726r32
    voice class codec 2
    codec preference 1 g729br8
    codec preference 5 g726r32
    no voice hpi capture buffer
    no voice hpi capture destination
    mta receive maximum-recipients 0
    controller E1 6/0
    framing NO-CRC4
    ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani
    ds0 busyout 27-31 soft
    cas-custom 0
    country brazil
    metering
    seizure-ack-time 2
    category 2
    answer-signal group-b 1
    dnis-digits min 3 max 12
    answer-guard-time 1
    description *** E1/R2 / PABX ***
    controller E1 6/1
    framing NO-CRC4
    ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled
    cas-custom 0
    country brazil
    metering
    seizure-ack-time 2
    category 2
    answer-signal group-b 1
    dnis-digits min 3 max 12
    answer-guard-time 1
    description *** E1/R2 / PABX ***
    controller E1 6/2
    controller E1 6/3
    controller E1 6/4
    controller E1 6/5
    controller E1 6/6
    controller E1 6/7
    pri-group timeslots 1-8,16
    description *** E1/PRI ISDN Q-sig / PABX ***
    interface FastEthernet0/0
    ip address xxxxxxxxxxxxxxxxxx
    ip route-cache flow
    duplex full
    speed 100
    no cdp enable
    interface FastEthernet0/1
    ip address xxxxxxxxxxxxxxxxxxxx
    load-interval 30
    duplex full
    speed auto
    no cdp enable
    hold-queue 75 in
    interface Serial6/7:15
    no ip address
    isdn switch-type primary-qsig
    isdn overlap-receiving
    isdn incoming-voice modem
    isdn guard-timer 3000
    isdn contiguous-bchan
    isdn bchan-number-order ascending
    isdn sending-complete
    no cdp enable
    interface Group-Async0
    no ip address
    group-range 1/00 3/107
    ip classless
    ip route 0.0.0.0 0.0.0.0 xxxxxxxxx
    no ip http server
    call rsvp-sync
    call progress tone country brazil
    voice-port 6/0:0
    input gain -5
    output attenuation -5
    compand-type a-law
    cptone BR
    timeouts initial 0
    timeouts interdigit 0
    timeouts call-disconnect 3
    timeouts wait-release 3
    voice-port 6/1:0
    input gain -5
    output attenuation -5
    compand-type a-law
    cptone BR
    voice-port 6/7:D
    bearer-cap Speech
    mgcp profile default
    dial-peer cor custom
    dial-peer voice 1 pots
    description *** xxxxxxxxxxxxxxxx ***
    preference 1
    destination-pattern 514...
    progress_ind alert enable 8
    direct-inward-dial
    port 6/0:0
    prefix 4
    dial-peer voice 4 voip
    description *** xxxxxxxxxxx ***
    destination-pattern 0115509....
    voice-class codec 1
    session target ipv4:xxxxxxxxxx
    fax rate 14400
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
    dial-peer voice 150 voip
    description *** xxxxxxxxxxxxxx ***
    preference 3
    destination-pattern 2301T
    progress_ind setup enable 3
    voice-class codec 1
    session target ipv4:xxxxxxxxx
    fax rate 14400
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
    dial-peer voice 5 pots
    description *** xxxxxxxxxxxxxxxx ***
    preference 5
    destination-pattern 514...
    direct-inward-dial
    port 6/1:0
    forward-digits 3
    prefix 4
    dial-peer voice 7 pots
    description *** xxxxxxxxxxxxxxx ***
    preference 3
    destination-pattern 515T
    direct-inward-dial
    port 6/1:0
    forward-digits 3
    prefix 5
    dial-peer voice 100 voip
    description *** xxxxxxxxxxxx ***
    destination-pattern 110T
    voice-class codec 1
    session target ipv4:xxxxxxxxxx
    fax rate 14400
    fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
    dial-peer voice 159 voip
    description *** ISDN-Qsig ***
    destination-pattern 590115509....
    voice-class codec 1
    session target ipv4:xxxx
    no vad
    line 3/00 3/107
    no flush-at-activation
    modem InOut
    scheduler allocate 10000 400
    end
    AS5400#sh ver
    Cisco Internetwork Operating System Software
    IOS (tm) 5400 Software (C5400-IS-M), Version 12.2(15)T1, RELEASE SOFTWARE (fc1)
    TAC Support: http://www.cisco.com/tac
    Copyright (c) 1986-2003 by cisco Systems, Inc.
    Compiled Thu 27-Mar-03 07:42 by ccai
    Image text-base: 0x6000895C, data-base: 0x61600000
    ROM: System Bootstrap, Version 12.2(1r)1, RELEASE SOFTWARE (fc1)
    BOOTLDR: 5400 Software (C5400-BOOT-M), Version 12.1(1)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc2)
    voz2-poa uptime is 21 hours, 15 minutes
    System returned to ROM by reload at 12:24:43 BRA Thu Apr 24 2003
    System image file is "flash:c5400-is-mz.122-15.T1.bin"
    cisco AS5400 (R7K) processor (revision T) with 262144K/65536K bytes of memory.
    Processor board ID JAE053503JM
    R7000 CPU at 250Mhz, Implementation 39, Rev 1.0, 256KB L2, 2048KB L3 Cache
    Last reset from IOS reload
    Channelized E1, Version 1.0.
    Bridging software.
    X.25 software, Version 3.0.0.
    SuperLAT software (copyright 1990 by Meridian Technology Corp).
    Primary Rate ISDN software, Version 1.1.
    Manufacture Cookie Info:
    EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x31,
    Board Hardware Version 3.27, Item Number 800-5171-02,
    Board Revision A0, Serial Number JAE053503JM,
    PLD/ISP Version 2.2, Manufacture Date 3-Sep-2001.
    Processor 0x14, MAC Address 0x0653455054
    Backplane HW Revision 1.0, Flash Type 5V
    2 FastEthernet/IEEE 802.3 interface(s)
    19 Serial network interface(s)
    276 terminal line(s)
    16 Channelized E1/PRI port(s)
    512K bytes of non-volatile configuration memory.
    32768K bytes of processor board System flash (Read/Write)
    8192K bytes of processor board Boot flash (Read/Write)
    Configuration register is 0x2102
    AS5400#
    AS5400#debug isdn q931
    debug isdn q931 is ON.
    voz2-poa#debug isdn q921
    debug isdn q921 is ON.
    voz2-poa#
    *Apr 24 10:34:01.444 BRA: ISDN Se6/7:15 Q921: User RX <- RRp sapi=0 tei=0 nr=0
    *Apr 24 10:34:01.444 BRA: ISDN Se6/7:15 Q921: User TX -> RRf sapi=0 tei=0 nr=66
    *Apr 24 10:34:10.096 BRA: ISDN Se6/7:15 Q921: User RX <- INFO sapi=0 tei=0, ns=66 nr=0
    *Apr 24 10:34:10.096 BRA: ISDN Se6/7:15 Q931: SEGMENT pd = 8 callref = 0x007F
    Segmented Message i = 0x8105
    1st segment. Segments remaining : 1
    *Apr 24 10:34:10.096 BRA: ISDN Se6/7:15 Q921: User TX -> RR sapi=0 tei=0 nr=67
    *Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q921: User RX <- INFO sapi=0 tei=0, ns=67 nr=0
    *Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q931: SEGMENT pd = 8 callref = 0x007F
    Segmented Message i = 0x0005
    Segments remaining : 0
    *Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q921: User TX -> RR sapi=0 tei=0 nr=68
    *Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q931: RX <-
    *Apr 24 10:34:10.120 BRA: ISDN Se6/7:15 Q931: SETUP pd = 8 callref = 0x007F (re-assembled)
    Bearer Capability i = 0x9090A3
    Standard = CCITT
    Transer Capability = 3.1kHz Audio
    Transfer Mode = Circuit
    Transfer Rate = 64 kbit/s
    Channel ID i = 0xA98382
    Exclusive, Channel 2
    Facility i = 0x91AA068001008201008B0100A1150202243006082B0C02885302010603050101000000
    Facility i = 0x91AA068001018201018B0100A1580202244006082B0C0288530201073048A2463044810100820101A30BA0098004343136310A0100A40B80033230313004800200C8A50C8004343136313004800200C8A614800D353930313135353039393035303003800164
    Facility i = 0x91AA068001018201018B0100A1300202245006082B0C0288530201043020800332303102030ACB48800332303102030ACB49A004800200C8A104800200C8
    Facility i = 0x91AA068001008201008B0102A1140202246002013B300B30090A01050A01030A0104
    Facility i = 0x91AA068001008201008B0100A11C0202247006042B0C0900A110040B4A4F414F204152414E4441020101
    Facility i = 0x91AA068001008201018B0100A1330202248006082B0C0288530201003023822101039E00A0031A0200000001000000000000840E38208F0480C500000404008884
    Progress Ind i = 0x8183 - Origination address is non-ISDN
    Calling Party Number i = 0x0083, '4161'
    Plan:Unknown, Type:Unknown
    Called Party Number i = 0x80, '5901155099050'
    Plan:Unknown, Type:Unknown
    *Apr 24 10:34:10.120 BRA: ISDN **ERROR**: Module-CCPQSIG Function-CCPQSIG_CallOffered Error-Unknown event 0x4E
    *Apr 24 10:34:14.064 BRA: ISDN Se6/7:15 Q921: User RX <- INFO sapi=0 tei=0, ns=68 nr=0
    *Apr 24 10:34:14.064 BRA: ISDN Se6/7:15 Q931: RELEASE_COMP pd = 8 callref = 0x007F
    Cause i = 0x80E6333033 - Recovery on timer expiry
    *Apr 24 10:34:14.064 BRA: ISDN Se6/7:15 Q921: User TX -> RR sapi=0 tei=0 nr=69
    AS5400#
    Any idea?
    Can someone help me?
    Regards

    The call received on AS5400 over isdn-qsig line was disconnected because of CALL-PROCEEDING was not received by PBX/Hicom switch.
    So number 5901155099050 will match the voip dial-peer 159 and ip call will be initiated to 2621. Now 2621 will initiate the call over E1-R2 to pbx/switch and call-proceeding has to be generated by that switch which will be forwarded back to isdn-qsig switch/pbx. I think that delayed too much and finally switch may have timedout and disconnect the call.
    So turn on "debug voip ccapi inout" and "debug isdn q931" on both the gateways involved to see what happened with that call.

  • VoIP between Norstar and Nortel option 11

    Hi, i have some problems in the calls between a Norstar and a Nortel option 11, both are connected to a 2811 via E1 with the IOS is c2800nm-spservicesk9-mz.124-15.T3.bin both routers are using h323. We also have a Callmanager 5.1.2.3000-2 that interact with both PBX.
    The problem is that when i make a call from the Norstar to the Nortell or CCM the call listens choppy and sometime the voice goes only one side.
    Do you know of some debug that i can apply to see ISDN errors, h323 errors, or QoS errors.
    Thanks in advanced
    Jose

    Well the IAD is configured for E&M immidiate which is completely different from R2 even though they are both a way to do CAS.
    http://cisco.com/en/US/tech/tk652/tk653/tk755/tech_protocol_home.html
    E&M:
    http://cisco.com/en/US/products/sw/iosswrel/ps5207/products_configuration_guide_chapter09186a008020ecf6.html#wp1021994
    R2:
    http://cisco.com/en/US/tech/tk652/tk653/technologies_configuration_example09186a00800ad389.shtml
    http://cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00800942f2.shtml

  • Cisco CUCM 6.1 PSTN calls busy

    Hello,
    We have a customer who has a cluster CUCM 6.1
    In one remote site he has a Voice-Gateway with a E1 Primary.
    The incoming calls done by VOIP or digital lines works perfectly while analog calls are busy.
    Someone can help me ?
    Thanks in advance

    Hello Jaime,
    it's a new installation, today is its first day
    Here the debugs:
    deb isdn q921
    debug isdn q921 is  ON.
    *Jan 15 14:51:20.962: ISDN Se0/0/0:15 Q921: User TX -> RRp sapi=0 tei=0 nr=118
    *Jan 15 14:51:20.974: ISDN Se0/0/0:15 Q921: User RX <- RRf sapi=0 tei=0 nr=35
    *Jan 15 14:51:24.814: ISDN Se0/0/0:15 Q921: User RX <- INFO sapi=0 tei=0, ns=118 nr=35
    *Jan 15 14:51:24.814: ISDN Se0/0/0:15 Q921: User TX -> RR sapi=0 tei=0 nr=119
    *Jan 15 14:51:24.818: ISDN Se0/0/0:15 Q921: User TX -> INFO sapi=0 tei=0, ns=35 nr=119
    *Jan 15 14:51:24.822: ISDN Se0/0/0:15 Q921: User TX -> INFO sapi=0 tei=0, ns=36 nr=119
    *Jan 15 14:51:24.838: ISDN Se0/0/0:15 Q921: User RX <- RR sapi=0 tei=0 nr=36
    *Jan 15 14:51:24.842: ISDN Se0/0/0:15 Q921: User RX <- RR sapi=0 tei=0 nr=37
    *Jan 15 14:51:24.882: ISDN Se0/0/0:15 Q921: User RX <- INFO sapi=0 tei=0, ns=119 nr=37
    *Jan 15 14:51:24.882: ISDN Se0/0/0:15 Q921: User TX -> RR sapi=0 tei=0 nr=120
    *Jan 15 14:51:24.882: ISDN  **ERROR**: Module-CCPRI  Function-CCPCC_CallReleasing  Error-Unknown event received in message from L3 or Host:  93
    *Jan 15 14:51:24.906: ISDN Se0/0/0:15 Q921: User RX <- INFO sapi=0 tei=0, ns=120 nr=37
    *Jan 15 14:51:24.910: ISDN Se0/0/0:15 Q921: User TX -> RR sapi=0 tei=0 nr=121
    *Jan 15 14:51:24.910: ISDN Se0/0/0:15 Q921: User TX -> INFO sapi=0 tei=0, ns=37 nr=121
    *Jan 15 14:51:24.926: ISDN Se0/0/0:15 Q921: User RX <- RR sapi=0 tei=0 nr=38
    *Jan 15 14:51:34.930: ISDN Se0/0/0:15 Q921: User TX -> RRp sapi=0 tei=0 nr=121
    *Jan 15 14:51:34.942: ISDN Se0/0/0:15 Q921: User RX <- RRf sapi=0 tei=0 nr=38
    Tiare_VG#deb isdn q931
    debug isdn q931 is  ON.
    Tiare_VG#
    Tiare_VG#
    Tiare_VG#
    *Jan 15 14:51:59.814: %ISDN-6-DISCONNECT: Interface Serial0/0/0:7  disconnected from 38640500470 , call lasted 138 seconds
    *Jan 15 14:51:59.814: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x8800
    Cause i = 0x8090 - Normal call clearing
    *Jan 15 14:51:59.866: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x0800
    *Jan 15 14:51:59.870: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x8800
    *Jan 15 14:52:00.510: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x1600
    Bearer Capability i = 0x9090A3
      Standard = CCITT
      Transfer Capability = 3.1kHz Audio
      Transfer Mode = Circuit
      Transfer Rate = 64 kbit/s
    Channel ID i = 0xA18385
      Preferred, Channel 5
    Progress Ind i = 0x8283 - Origination address is non-ISDN 
    Calling Party Number i = 0x2183, '522924145'
      Plan:ISDN, Type:National
    Called Party Number i = 0xA1, '4819647'
      Plan:ISDN, Type:National
    *Jan 15 14:52:00.510: ISDN Se0/0/0:15 Q931: TX -> SETUP_ACK pd = 8  callref = 0x9600
    Channel ID i = 0xA98385
      Exclusive, Channel 5
    *Jan 15 14:52:00.514: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x9600
    Cause i = 0x8081 - Unallocated/unassigned number
    *Jan 15 14:52:00.598: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x1600
    *Jan 15 14:52:00.598: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x9600
    Tiare_VG#deb isdn eve
    debug isdn event is  ON.
    Tiare_VG#
    Tiare_VG#
    Tiare_VG#
    *Jan 15 14:52:44.354: ISDN Se0/0/0:15 EVENT: process_rxstate: ces/callid 1/0x48 calltype 2 CALL_INCOMING
    *Jan 15 14:52:44.354: ISDN Se0/0/0:15 EVENT: call_incoming: call_id 0x0048, Guid = 866C2DEB8049
    *Jan 15 14:52:44.430: ISDN Se0/0/0:15 EVENT: process_rxstate: ces/callid 1/0x48 calltype 2 CALL_CLEARED
    Tiare_VG#
    Tiare_VG#deb voice ccapi ino
    voip ccapi inout debugging is on
    Tiare_VG#
    Tiare_VG#
    Tiare_VG#
    *Jan 15 14:53:09.354: //-1/9552E06B804A/CCAPI/cc_api_display_ie_subfields:
       cc_api_call_setup_ind_common:
       cisco-username=
       ----- ccCallInfo IE subfields -----
       cisco-ani=00522924145
       cisco-anitype=2
       cisco-aniplan=1
       cisco-anipi=0
       cisco-anisi=3
       dest=4819647
       cisco-desttype=2
       cisco-destplan=1
       cisco-rdie=FFFFFFFF
       cisco-rdn=
       cisco-rdntype=-1
       cisco-rdnplan=-1
       cisco-rdnpi=-1
       cisco-rdnsi=-1
       cisco-redirectreason=-1
    *Jan 15 14:53:09.354: //-1/9552E06B804A/CCAPI/cc_api_call_setup_ind_common:
       Interface=0x6686DACC, Call Info(
       Calling Number=00522924145(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed),
       Called Number=4819647(TON=National, NPI=ISDN),
       Calling Translated=TRUE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
       Incoming Dial-peer=1, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=TRUE,
       Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
    *Jan 15 14:53:09.354: //-1/9552E06B804A/CCAPI/ccCheckClipClir:
       In: Calling Number=00522924145(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed)
    *Jan 15 14:53:09.354: //-1/9552E06B804A/CCAPI/ccCheckClipClir:
       Out: Calling Number=00522924145(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed)
    *Jan 15 14:53:09.354: //252/9552E06B804A/CCAPI/cc_api_call_setup_ind_common:
       Set Up Event Sent;
       Call Info(Calling Number=00522924145(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed),
       Called Number=4819647(TON=National, NPI=ISDN))
    *Jan 15 14:53:09.354: //252/9552E06B804A/CCAPI/cc_process_call_setup_ind:
       Event=0x65F7D718
    *Jan 15 14:53:09.354: //252/9552E06B804A/CCAPI/ccCallSetContext:
       Context=0x65110A64
    *Jan 15 14:53:09.354: //252/9552E06B804A/CCAPI/cc_process_call_setup_ind:
       >>>>CCAPI handed cid 252 with tag 1 to app "_ManagedAppProcess_Default"
    *Jan 15 14:53:09.354: //252/9552E06B804A/CCAPI/ccCallSetupAck:
       Call Id=252
    *Jan 15 14:53:09.354: //252/9552E06B804A/CCAPI/cc_api_set_transfer_info:
       Transfer Number=, Transfer Reason=0x0
    *Jan 15 14:53:09.358: //252/9552E06B804A/CCAPI/ccCallDisconnect:
       Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
    *Jan 15 14:53:09.358: //252/9552E06B804A/CCAPI/ccCallDisconnect:
       Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)
    *Jan 15 14:53:09.358: //252/9552E06B804A/CCAPI/cc_api_get_transfer_info:
       Transfer Number Is Null
    *Jan 15 14:53:09.454: //252/9552E06B804A/CCAPI/cc_api_call_disconnect_done:
       Disposition=0, Interface=0x6686DACC, Tag=0x0, Call Id=252,
       Call Entry(Disconnect Cause=1, Voice Class Cause Code=0, Retry Count=0)
    *Jan 15 14:53:09.454: //252/9552E06B804A/CCAPI/cc_api_call_disconnect_done:
       Call Disconnect Event Sent
    Tiare_VG#
    Tiare_VG#

  • All circuits busy

    We have a 3825 with two PRI's terminated on it, that is the voice gateway to the PSTN for about 50 clients (200+ phones). They use varying systems including routers with FXS cards (and analog phones), CME, and SIP voice. Ocationally when someone is trying to call a customer they get a message "all circuits buys" Then they try again a few times and the call goes through.
    Are there any logs I can setup on my gateway to determine if we are maxing out on channels at times, which would give this message to the people calling in?
    Any thing eles I can check to determine if this issue is mine or the Telco's?

    Here is a syslog message that I get when I do a debug isdn error interface ser 1/1:23
    7-06-01 10:25:20 Local7.Debug 10.254.249.3 64084: Jun 1 16:25:20.572: ISDN Se1/1:23 **ERROR**: call_cleared: VOICE ERROR: Bearer capability not available(0x3A): bchan -1, call id 0xBA5F
    2007-06-01 10:25:20 Local7.Debug 10.254.249.3 64085: Jun 1 16:25:20.768: ISDN Se1/1:23 **ERROR**: CCPMSG_OutCall: fails with cause 0x22
    2007-06-01 10:25:20 Local7.Debug 10.254.249.3 64086: Jun 1 16:25:20.768: ISDN Se1/1:23 SERROR: call_cleared: Got a disconnect on a non-existent call (call id = 0xBA61).
    2007-06-01 10:25:20 Local7.Debug 10.254.249.3 64087: <009>This probably is a call that we placed that failed.
    Any ideas?

  • IOS 15.1 POTS dial-peer problem

    Good day!
    After updating to IOS version 15.1(4)M6 there is  a problem with outgoing calls through the PRI.
    Router configuration in the attach. On the gateway turned on debugs:
    sho debugging
    The following ISDN debugs are enabled on all DSLs:debug isdn error is ON.
    debug isdn q931 is ON. (filter is OFF)
    DIALPEER:
    debug voip dialpeer error call is ON (filter is OFF)
    debug voip dialpeer error informational call is ON (filter is OFF)
    debug voip dialpeer error software is ON
    debug voip dialpeer error software is ON informational
    debug voip dialpeer function is ON (filter is OFF)
    debug voip dialpeer inout is ON (filter is OFF)
    debug  voip dialpeer detail is ON (filter is OFF).
    The result of debug also in attach.
    On CUCM 9.1 configured SIP trunk to this gateway. When I  call the test number 89261234567 I hear a busy signal. If I upload this  version 12.2(24)T6, with exactly the same configuration, everything  works successfully. Accordingly some problem lies precisely in the new  IOS. Please tell me to what may be the case.
    Thank you!

    Hi Filipp,
    As Deji correctly guessed, the call is disconnected because of the Toll Fraud prevention.
    *Feb  4 15:35:26 MSK: //1/6FAB58800001/CCAPI/cc_process_call_setup_ind:
       >>>>CCAPI handed cid 1 with tag 101 to app "_ManagedAppProcess_TOLLFRAUD_APP"
    *Feb  4 15:35:26 MSK: //1/6FAB58800001/CCAPI/ccCallDisconnect:
       Cause Value=21, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
    you can add the IP addresses of CCM servers from where the calls are originated under
    voice service voip
      ip address trusted list
    URL for your reference: https://supportforums.cisco.com/docs/DOC-12228
    Please rate all the useful posts

  • Gateway Redundancy

    Hello All, can someone tell me how Lync 2013 handles PSTN gateway redundancy? I currently have two cisco gateways connected to my Lync 2013 environment. It appears that under normal operation, Lync just round robins between the two gateways. If I purposely
    take one of the gateways down, almost every other outgoing Lync call will fail. Do I have to do something within Lync so that it can detect when a gateway is unavailable and use the surviving one?
    Also, how can I make sure that Lync will use the other gateway if the first one is out of T1 channels.

    That is probably the explanation. If you want to research further you will have to look at what error the gateway is providing Lync. In all likelihood when the call is failing there will be some type of error that points to an ISDN error. For example,
    in trunk busy situation Lync will get a 503 error with an additional reason (e.g. msgwsip-reason="Q.850; cause=34";). The cause shown here is a the ISDN error code. It can
    take some time for Lync to mark these gateways as down.
    What return error would make lync use the other gateway? By default, my gw is responding with a SIP 404 error: SIP/2.0 404 Not Found. I could however make it respond with a 503 error: SIP/2.0 503 Service Unavailable.
    SIP/2.0 404 Not Found
    Via: SIP/2.0/UDP 10.86.176.110:5060;branch=z9hG4bK647452a554f9
    From: <sip:[email protected]>;tag=114175~98718eca-fc35-493e-8cde-1d27b61c679c-30156882
    To: <sip:[email protected]>;tag=1B49687C-261B
    Date: Tue, 08 Jan 2013 22:54:54 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow-Events: kpml, telephone-event
    Server: Cisco-SIPGateway/IOS-15.2.3.T
    Reason: Q.850;cause=1
    Content-Length: 0
    SIP/2.0 503 Service Unavailable
    Via: SIP/2.0/UDP 10.86.176.110:5060;branch=z9hG4bK6473356b69f7
    From: <sip:[email protected]>;tag=114171~98718eca-fc35-493e-8cde-1d27b61c679c-30156879
    To: <sip:[email protected]>;tag=1B4927B4-285
    Date: Tue, 08 Jan 2013 22:54:37 GMT
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Allow-Events: kpml, telephone-event
    Server: Cisco-SIPGateway/IOS-15.2.3.T
    Reason: Q.850;cause=34
    Content-Length: 0

  • ISDN dsl errors

    My c876 router logs the following errors:
    *Apr 14 10:24:46.943: esw_dtc_ltc4258_reg_write: no acknowlege from POE
    *Apr 14 10:24:46.943: esw_mrvl_pdc_hardware_config failed on slot 0/0
    *Apr 14 10:24:48.451: esw_dtc_ltc4258_reg_write: no acknowlege from POE
    *Apr 14 10:24:48.451: esw_mrvl_pdc_hardware_config failed on slot 0/0
    Slot 0/0 contains an ATM interface with adsl module. The ATM module is configured like this:
    interface ATM0
    no ip address
    ip verify unicast reverse-path
    no ip redirects
    no ip unreachables
    no ip route-cache cef
    no ip route-cache
    no atm ilmi-keepalive
    pvc 0 8/48
    encapsulation aal5mux ppp dialer
    dialer pool-member 1
    dsl operating-mode auto
    The ATM interface also keeps restarting every few hours.
    Is my hardware failing or is there some other solution?

    I rater not post the full configuration to a public forum.
    This is the output of 'show version'
    Cisco IOS Software, C870 Software (C870-ADVENTERPRISEK9-M), Version 12.3(8)YI1, RELEASE SOFTWARE (fc1)
    Synched to technology version 12.3(10.3)T2
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2005 by Cisco Systems, Inc.
    Compiled Fri 22-Apr-05 14:58 by ealyon
    ROM: System Bootstrap, Version 12.3(8r)YI1, RELEASE SOFTWARE
    ROM: Cisco IOS Software, C870 Software (C870-ADVENTERPRISEK9-M), Version 12.3(8)YI1, RELEASE SOFTWARE (fc1)
    weesp-studio11 uptime is 1 week, 1 hour, 51 minutes
    System returned to ROM by power-on
    System restarted at 13:45:14 MET Tue Apr 18 2006
    System image file is "flash:c870-adventerprisek9-mz.123-8.YI1.bin"
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected]
    Cisco 876 (MPC8272) processor (revision 0x100) with 118784K/12288K bytes of memory.
    Processor board ID FHK092312HL
    MPC8272 CPU Rev: Part Number 0xC, Mask Number 0x10
    4 FastEthernet interfaces
    1 ISDN Basic Rate interface
    1 ATM interface
    128K bytes of non-volatile configuration memory.
    28672K bytes of processor board System flash (Intel Strataflash)
    Configuration register is 0x2102

  • ISDN PRI Configuration errors

    Dears,
    I trying to configure a ISDN PRI on a 1751-V router and the following error occur:
    CISCO_BARR(config-controller)#pri-group time 1-6
    %Controller tdm clock does not have data capability
    %Insufficient HDLC resource for pri-group - it has been removed
    How do I to configure ISDN PRI in that router ?
    More information:
    Cisco 1751-V
    Router Version: c1700-ipvoice-mz.123-9d.bin

    Hi,
    Please make sure that you putting the T1/E1 card in the WVIC and not VIC slot as PRI can do
    voice but it is still considedred as data, so if you try to confiugre this in a slot that
    is VIC (instead of VWIC) only then it will not work for you. Furthermore, you needed to
    have the tdm clock command set to both and not just voice, as you are creating a PRI,
    which, again, is Data, but can do voice too.
    here is the example of command :--
    tdm clock T1 2/0 both export line
    hth
    CJ

  • ISDN Gateway error message- What does it mean and what could be causing it?

    Hi Folks,
    I have a customer that is getting the following errors in the logs of his Cisco/ Codian ISDN Gateway: Any ideas of what they mean and what could be causing them?
    I know Q931 is affiliated with Call Setup but not sure why an error would occur.  Any help that can be provided is much appreciated, thanks.
    Warning
    parse_q931_header: invalid protocol discrimator
    207
    09:45:50.968 
    ISDN
    Warning
    parse_q931_header: invalid protocol discrimator
    208
    09:45:50.975 
    ISDN
    Warning
    parse_q931_header: invalid protocol discrimator
    209
    09:45:51.120 
    ISDN
    Warning
    parse_q931_header: invalid protocol discrimator
    210
    09:45:51.128 
    ISDN
    Warning
    parse_q931_header: invalid protocol discrimator

    I think I narrowed this down to having a network volume mounted with a  share name of "Users".  The strange thing is even you if unmount the  volume you will still have problems.  However, if you avoid mounting the  volume entirely (from boot) it will be OK.
    The  solution, it appears, is to rename the sharepoint to something other  than "Users".  This worked for us.  I'm not sure if it matters whether  the server is Windows or Mac OS.  In our case the sharepoint was an AFP  volume on Mac OS.
    We had other errors related to Bridge  such as "unable to create folder" and the path in the message appeared  to be /Users/currentUser/.....  which made no sense at all.  However, if  Bridge was internally trying to use /Volumes/Users (the mounted  sharepoint), it would not only not find "currentUser", but it would not  have permissions to create that folder either.
    So, another possible solution could be to grant file creation rights on the network volume "Users".  Another not-so-great idea.
    Hope that helps someone else!

  • Error( No Device detected) is showing between SX20 & ISDN Link

    Hi Team,
    we have SX20 & ISDN Link, I have done all configuration in SX20 & ISDN Link  but when i search the device in SX20 (peripherals option) for making the pairing between both system than sx20 shows that "No device detected" so i need to your expertise for this resolved this issue.
    SX20 Version- TC7.1.1
    ISDN Link Version-IL1.1.1
    Thanks 
    Pooran

    Would this work for the same issue, but on an EX90?
    EX90 Version- TC6.3.0.3d8e7d1
    ISDN Link Version-IL1.1.1.2c65b7d
    Note:  on the isdnlink itself it says "SystemUnit State ParingStatusText: "No connection with [an IPv6 address]"".  However, it said it paired. Also, when you go to Config->Peripherals in the web console of the EX90, then ISDN Link, "Status: Inactive", "Mode:  Unknown", and the aforementioned IPv6 address is coming up here as well.
    IPv6 has no ip address/subnetmask/dgw or anything.  Dhcpoptions for this is off, and set to static.  unless theres another way to turn off IPv6 entirely.

  • Error while registering a schema

    Hi :
    I get this error while I am registering my XML schema.
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LPX-00217: invalid character 0 (\u0000)
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26
    ORA-06512: at line 2
    I have marked in bold the part of the schema which bombs while registering. (When I validate this scehms in XML Spy it says it is a valid schems)
    The Schema definition is as follows :
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema targetNamespace="urn:uk:ac:ebi:spml" xmlns="urn:uk:ac:ebi:spml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xs:include schemaLocation="feature.xsd"/>
    <!-- Evidence definition begins -->
    <xs:complexType name="evidenceListType">
    <xs:annotation>
    <xs:documentation>The list of all evidences stored in one entry.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="evidence" type="evidenceType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="evidenceType">
    <xs:annotation>
    <xs:documentation>The evidence element is equivalent to the actual evidence (**EV line).</xs:documentation>
    </xs:annotation>
    <xs:attribute name="category" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="curator"/>
    <xs:enumeration value="import"/>
    <xs:enumeration value="program"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="ANU-2DPAGE_ADD"/>
    <xs:enumeration value="COMPLUYEAST-2DPAGE_ADD"/>
    <xs:enumeration value="Curator"/>
    <xs:enumeration value="EMBL"/>
    <xs:enumeration value="Experimental"/>
    <xs:enumeration value="FLYBASE_ADD"/>
    <xs:enumeration value="GENEW_ADD"/>
    <xs:enumeration value="GOA_ADD"/>
    <xs:enumeration value="GRAMENE_ADD"/>
    <xs:enumeration value="HSSP_ADD"/>
    <xs:enumeration value="Import"/>
    <xs:enumeration value="MEROPS_ADD"/>
    <xs:enumeration value="MGD_ADD"/>
    <xs:enumeration value="Opinion"/>
    <xs:enumeration value="PHCI-2DPAGE_ADD"/>
    <xs:enumeration value="PMMA-2DPAGE_ADD"/>
    <xs:enumeration value="ProtImp"/>
    <xs:enumeration value="REBASE_ADD"/>
    <xs:enumeration value="Rulebase"/>
    <xs:enumeration value="SGD_ADD"/>
    <xs:enumeration value="SIENA-2DPAGE_ADD"/>
    <xs:enumeration value="SignalP"/>
    <xs:enumeration value="Similarity"/>
    <xs:enumeration value="TRANSFAC_ADD"/>
    <xs:enumeration value="TrEMBL"/>
    <xs:enumeration value="ZFIN_ADD"/>
    <xs:enumeration value="internal"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="attribute" type="xs:string" use="optional"/>
    <xs:attribute name="date" type="xs:date" use="required"/>
    <xs:attribute name="evID" type="xs:string" use="required"/>
    </xs:complexType>
    <!-- Evidence definition ends -->
    <!-- Definition of the protein begins -->
    <xs:complexType name="proteinType">
    <xs:sequence>
    <xs:element name="name" type="nameType" maxOccurs="unbounded"/>
    <xs:element name="iRefList" type="iRefListType" minOccurs="0">
    <xs:annotation>
    <xs:documentation>This is referring to a possible EC number (ENZYME database cross reference).</xs:documentation>
    </xs:annotation>
    </xs:element>
    <xs:choice minOccurs="0">
    <xs:element name="componentList">
    <xs:annotation>
    <xs:documentation>The component list is equivalent to the CONTAINS section of the DE line.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="component" maxOccurs="unbounded">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="nameType" maxOccurs="unbounded"/>
    <xs:element name="iRefList" type="iRefListType" minOccurs="0">
    <xs:annotation>
    <xs:documentation>This is referring to a possible EC number (ENZYME database cross reference).</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="domainList">
    <xs:annotation>
    <xs:documentation>The domain list is equivalent to the INCLUDES section of the DE line.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="domain" maxOccurs="unbounded">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="nameType" maxOccurs="unbounded"/>
    <xs:element name="iRefList" type="iRefListType" minOccurs="0">
    <xs:annotation>
    <xs:documentation>This is referring to a possible EC number (ENZYME database cross reference).</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    <xs:element name="evList" type="evListType" minOccurs="0">
    <xs:annotation>
    <xs:documentation>This contains all evidence that are connected to the complete DE line (For the time being also the ones that couldn't be resolved to a single name).</xs:documentation>
    </xs:annotation>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="evidenceStatus">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="hypothetical"/>
    <xs:enumeration value="putative"/>
    <xs:enumeration value="possible"/>
    <xs:enumeration value="probable"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="type">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="fragment"/>
    <xs:enumeration value="fragments"/>
    <xs:enumeration value="version1"/>
    <xs:enumeration value="version2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:complexType>
    <!-- Definition of the protein ends -->
    <!-- DB reference definition begins -->
    <xs:complexType name="sptrProperties">
    <xs:complexContent>
    <xs:restriction base="propertyBaseType">
    <xs:attribute name="name" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="edition"/>
    <xs:enumeration value="entry name"/>
    <xs:enumeration value="evidence"/>
    <xs:enumeration value="gene designation"/>
    <xs:enumeration value="last revision date"/>
    <xs:enumeration value="match status"/>
    <xs:enumeration value="match status hits"/>
    <xs:enumeration value="method"/>
    <xs:enumeration value="organism name"/>
    <xs:enumeration value="pdb accession"/>
    <xs:enumeration value="protein sequence ID"/>
    <xs:enumeration value="status"/>
    <xs:enumeration value="term"/>
    <xs:enumeration value="type"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="value" type="xs:string" use="required"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:simpleType name="allSPTrDbsType">
    <xs:restriction base="xs:string">
    <xs:enumeration value="ANU-2DPAGE"/>
    <xs:enumeration value="Aarhus/Ghent-2DPAGE"/>
    <xs:enumeration value="COMPLUYEAST-2DPAGE"/>
    <xs:enumeration value="DictyDb"/>
    <xs:enumeration value="EC"/>
    <xs:enumeration value="ECO2DBASE"/>
    <xs:enumeration value="EMBL"/>
    <xs:enumeration value="EcoGene"/>
    <xs:enumeration value="FlyBase"/>
    <xs:enumeration value="GO"/>
    <xs:enumeration value="Genew"/>
    <xs:enumeration value="GlycoSuiteDB"/>
    <xs:enumeration value="Gramene"/>
    <xs:enumeration value="HIV"/>
    <xs:enumeration value="HSC-2DPAGE"/>
    <xs:enumeration value="HSSP"/>
    <xs:enumeration value="InterPro"/>
    <xs:enumeration value="Leproma"/>
    <xs:enumeration value="ListiList"/>
    <xs:enumeration value="MAIZE-2DPAGE"/>
    <xs:enumeration value="MEROPS"/>
    <xs:enumeration value="MGD"/>
    <xs:enumeration value="MIM"/>
    <xs:enumeration value="MaizeDB"/>
    <xs:enumeration value="MypuList"/>
    <xs:enumeration value="PDB"/>
    <xs:enumeration value="PHCI-2DPAGE"/>
    <xs:enumeration value="PhosSite"/>
    <xs:enumeration value="PIR"/>
    <xs:enumeration value="PMMA-2DPAGE"/>
    <xs:enumeration value="PRINTS"/>
    <xs:enumeration value="PROSITE"/>
    <xs:enumeration value="Pfam"/>
    <xs:enumeration value="ProDom"/>
    <xs:enumeration value="REBASE"/>
    <xs:enumeration value="SGD"/>
    <xs:enumeration value="SMART"/>
    <xs:enumeration value="SWISS-2DPAGE"/>
    <xs:enumeration value="Siena-2DPAGE"/>
    <xs:enumeration value="StyGene"/>
    <xs:enumeration value="SubtiList"/>
    <xs:enumeration value="TIGR"/>
    <xs:enumeration value="TIGRFAMs"/>
    <xs:enumeration value="TRANSFAC"/>
    <xs:enumeration value="TubercuList"/>
    <xs:enumeration value="WormPep"/>
    <xs:enumeration value="ZFIN"/>
    </xs:restriction>
    </xs:simpleType>
    <!-- <xs:complexType name="sptrDbReferenceType" abstract="true">-->
    <xs:complexType name="sptrDbReferenceType">
    <xs:complexContent>
    <xs:restriction base="dbReferenceBaseType">
    <xs:sequence>
    <xs:element name="property" type="propertyBaseType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="db" type="allSPTrDbsType" use="required"/>
    <xs:attribute name="id" type="xs:string" use="required"/>
    <xs:attribute name="iRefID" type="xs:string" use="required"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <!-- EMBL -->
    <!--
    <xs:complexType name="emblDbProperties">
    <xs:complexContent>
    <xs:restriction base="propertyBaseType">
    <xs:attribute name="name" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="protein sequence ID"/>
    <xs:enumeration value="status"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="value" type="xs:string" use="required"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="emblDbReferenceType">
    <xs:complexContent>
    <xs:restriction base="sptrDbReferenceType">
    <xs:sequence>
    <xs:element name="property" type="emblDbProperties" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="db" use="required">
    <xs:simpleType>
    <xs:restriction base="allSPTrDbsType">
    <xs:enumeration value="EMBL"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="id" type="xs:string" use="required"/>
    <xs:attribute name="iRefID" type="xs:string" use="required"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    -->
    <!-- EMBL -->
    <!-- NCBI Taxonomy -->
    <xs:complexType name="taxonomyDBType">
    <xs:annotation>
    <xs:documentation>This dbRef type is meant for taxonomy database such as the NCBI taxonomy database.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:restriction base="dbReferenceBaseType">
    <xs:sequence>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="db" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="NCBI Taxonomy"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="id" type="xs:string" use="required"/>
    <xs:attribute name="iRefID" type="xs:string" use="required"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <!-- NCBI Taxonomy -->
    <!-- DB reference definition ends -->
    <!-- Name definition begins -->
    <xs:complexType name="nameType" mixed="true">
    <xs:annotation>
    <xs:documentation>The name type is used for all names occuring in an entry.</xs:documentation>
    </xs:annotation>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="organismNameType">
    <xs:annotation>
    <xs:documentation>The name type is used for source organism names.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="common name"/>
    <xs:enumeration value="full name"/>
    <xs:enumeration value="scientific name"/>
    <xs:enumeration value="synonym"/>
    <xs:enumeration value="abbreviation"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    <!-- Name definition ends -->
    <!-- Definition of the geneLocation begins -->
    <xs:complexType name="geneLocationListType">
    <xs:annotation>
    <xs:documentation>Defines the locations/origins of the shown sequence (OG line).</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="geneLocation" type="geneLocationBaseType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="geneLocationBaseType" abstract="true">
    <xs:annotation>
    <xs:documentation>The location's supertype.</xs:documentation>
    </xs:annotation>
    </xs:complexType>
    <xs:complexType name="organelleLocationType">
    <xs:annotation>
    <xs:documentation>This type stores the location if it's a chloroplast, cyanelle or mitochondrium.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="geneLocationBaseType">
    <xs:sequence>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="chloroplast"/>
    <xs:enumeration value="cyanelle"/>
    <xs:enumeration value="mitochondrion"/>
    <xs:enumeration value="nucleomorph"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="plasmidLocationType">
    <xs:annotation>
    <xs:documentation>This type stores the location if it's a plasmid including all plasmid names.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="geneLocationBaseType">
    <xs:sequence>
    <xs:element name="name" type="nameType"/>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="plasmid"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <!-- Definition of the geneLocation ends -->
    <!-- Feature definition begins -->
    <xs:complexType name="baseFeatureType" mixed="true">
    <xs:annotation>
    <xs:documentation>The feature's supertype from which all other feature element types are derived.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:group ref="locationGroup" minOccurs="0"/>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="description" type="xs:string" use="optional"/>
    </xs:complexType>
    <xs:complexType name="featureType" mixed="true">
    <xs:annotation>
    <xs:documentation>Currently there is only one basic feature type, but this will change in future with enhancement of the FT line parsers.</xs:documentation>
    </xs:annotation>
    <xs:complexContent mixed="true">
    <xs:extension base="baseFeatureType">
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="active site"/>
    <xs:enumeration value="binding site"/>
    <xs:enumeration value="calcium-binding region"/>
    <xs:enumeration value="glycosylation site"/>
    <xs:enumeration value="chain"/>
    <xs:enumeration value="sequence conflict"/>
    <xs:enumeration value="disulfide bond"/>
    <xs:enumeration value="DNA-binding region"/>
    <xs:enumeration value="domain"/>
    <xs:enumeration value="helix"/>
    <xs:enumeration value="initiator methionine"/>
    <xs:enumeration value="lipid moiety-binding region"/>
    <xs:enumeration value="metal ion-binding site"/>
    <xs:enumeration value="modified residue"/>
    <xs:enumeration value="mutagenesis site"/>
    <xs:enumeration value="non-consecutive residues"/>
    <xs:enumeration value="non-terminal residue"/>
    <xs:enumeration value="nucleotide phosphate-binding region"/>
    <xs:enumeration value="peptide"/>
    <xs:enumeration value="propeptide"/>
    <xs:enumeration value="repeat"/>
    <xs:enumeration value="selenocysteine"/>
    <xs:enumeration value="signal peptide"/>
    <xs:enumeration value="site"/>
    <xs:enumeration value="strand"/>
    <xs:enumeration value="thioether bond"/>
    <xs:enumeration value="thiolester bond"/>
    <xs:enumeration value="transit peptide"/>
    <xs:enumeration value="transmembrane region"/>
    <xs:enumeration value="turn"/>
    <xs:enumeration value="unsure residue"/>
    <xs:enumeration value="sequence variant"/>
    <xs:enumeration value="splice variant"/>
    <xs:enumeration value="zinc finger region"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <!-- Feature definition ends -->
    <!-- Comment definition begins -->
    <xs:complexType name="baseCommentType" abstract="true" mixed="true">
    <xs:annotation>
    <xs:documentation>The comment's supertype from which all other comment element types are derived</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="commentType" mixed="true">
    <xs:annotation>
    <xs:documentation>Basic comment type which contains only text and evidence tags, no extra structure/attributes.</xs:documentation>
    </xs:annotation>
    <xs:complexContent mixed="true">
    <xs:extension base="baseCommentType">
    <xs:attribute name="topic" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="alternative products"/>
    <xs:enumeration value="biotechnology"/>
    <xs:enumeration value="catalytic activity"/>
    <xs:enumeration value="caution"/>
    <xs:enumeration value="cofactor"/>
    <xs:enumeration value="database"/>
    <xs:enumeration value="developmental stage"/>
    <xs:enumeration value="disease"/>
    <xs:enumeration value="domain"/>
    <xs:enumeration value="enzyme regulation"/>
    <xs:enumeration value="function"/>
    <xs:enumeration value="induction"/>
    <xs:enumeration value="miscellaneous"/>
    <xs:enumeration value="pathway"/>
    <xs:enumeration value="pharmaceutical"/>
    <xs:enumeration value="polymorphism"/>
    <xs:enumeration value="ptm"/>
    <xs:enumeration value="similarity"/>
    <xs:enumeration value="subcellular location"/>
    <xs:enumeration value="subunit"/>
    <xs:enumeration value="tissue specificity"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <!--
    <xs:complexType name="commentDatabaseType" mixed="true">
    <xs:complexContent mixed="true">
    <xs:extension base="baseCommentType">
    <xs:attribute name="topic" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="database"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="note" type="xs:string" use="optional"/>
    <xs:attribute name="www" type="xs:anyURI" use="optional"/>
    <xs:attribute name="ftp" type="xs:anyURI" use="optional"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    -->
    <xs:complexType name="massSpecType" mixed="true">
    <xs:annotation>
    <xs:documentation>The information of the mass spectrometry comment is stored in the attributes:
    -molWeight (molecular weight)
    -mwError (error of the molecular weight)
    -msMethod (the method used for the mass spectrometry)
    -range (which amino acids were messured. It's not mentioned if the complete sequence as shown in the entry was messured)</xs:documentation>
    </xs:annotation>
    <xs:complexContent mixed="true">
    <xs:extension base="baseCommentType">
    <xs:sequence minOccurs="0">
    <xs:element name="range" minOccurs="0" maxOccurs="unbounded">
    <xs:complexType>
    <xs:attribute name="begin" type="xs:int" use="required"/>
    <xs:attribute name="end" type="xs:int" use="required"/>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="topic" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="mass spectrometry"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="molWeight" type="xs:float" use="required"/>
    <xs:attribute name="mwError" type="xs:string" use="optional"/>
    <xs:attribute name="msMethod" type="xs:string" use="optional"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <!-- Comment definition ends -->
    <!-- Citation type section begins -->
    <!-- Definitions for SPTr's additional citation information begins -->
    <xs:complexType name="scopeListType">
    <xs:annotation>
    <xs:documentation>Contains a list of scopes regarding a citation. There is no classification currently, but will be introduced in future. (RP lines).</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="scope" type="xs:string" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="sourceDataType">
    <xs:annotation>
    <xs:documentation>Contains specific information about the sequence source that was used in the ciation (RC lines).</xs:documentation>
    </xs:annotation>
    <xs:choice maxOccurs="unbounded">
    <xs:element name="species">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="iRefList" type="iRefListType"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="strain">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="xs:string" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="plasmid" type="xs:string"/>
    <xs:element name="transposon" type="xs:string"/>
    <xs:element name="tissue" type="xs:string"/>
    </xs:choice>
    </xs:complexType>
    <xs:group name="sptrCitationGroup">
    <xs:annotation>
    <xs:documentation>Groups the scope and source data lists.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="scopeList" type="scopeListType"/>
    <xs:element name="source" type="sourceDataType" minOccurs="0"/>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    </xs:group>
    <!-- Definitions for SPTr's additional citation information ends -->
    <xs:complexType name="referenceType">
    <xs:annotation>
    <xs:documentation>Stores all information of the reference block in SPTr (RN, RP, RC, RX, RA, RT and RL line).</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="citation" type="citationType"/>
    <xs:group ref="sptrCitationGroup"/>
    </xs:sequence>
    <xs:attribute name="iRefID" type="xs:string" use="required"/>
    </xs:complexType>
    <!-- Citation type section ends -->
    <!-- Entry type definition begins -->
    <xs:complexType name="entryType">
    <xs:annotation>
    <xs:documentation>A (public) SPTr entry</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="secondaryAccessionList" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="accession" type="xs:string" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="secondaryNameList" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="xs:string" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="protein" type="proteinType"/>
    <xs:element name="geneList" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="gene" maxOccurs="unbounded">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="nameType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="organismList">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="organism" maxOccurs="unbounded">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" type="organismNameType" maxOccurs="unbounded"/>
    <xs:element name="dbReferenceList">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="dbReference" type="taxonomyDBType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="lineage" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="taxon" type="xs:string" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="iRefID" type="xs:string" use="optional"/>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="geneLocationList" type="geneLocationListType" minOccurs="0"/>
    <xs:element name="referenceList">
    <xs:complexType>
    <xs:choice maxOccurs="unbounded">
    <xs:element name="reference" type="referenceType"/>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    <xs:element name="commentList" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="comment" type="baseCommentType" nillable="true" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="dbReferenceList" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="dbReference" type="sptrDbReferenceType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="keywordList" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="keyword" maxOccurs="unbounded">
    <xs:complexType mixed="true">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="evList" type="evListType"/>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="featureList" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="feature" type="featureType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="evidenceList" type="evidenceListType" minOccurs="0"/>
    <xs:element name="sequence">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="length" type="xs:integer" use="required"/>
    <xs:attribute name="weight" type="xs:integer" use="required"/>
    <xs:attribute name="crc64" type="xs:string" use="required"/>
    <xs:attribute name="lastUpdate" type="xs:date" use="required"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="accession" type="xs:string" use="required"/>
    <xs:attribute name="database" type="xs:string" use="required"/>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="firstPublic" type="xs:date" use="required"/>
    <xs:attribute name="lastAnnotationUpdate" type="xs:date" use="required"/>
    </xs:complexType>
    <!-- Entry type definition ends -->
    <!-- Definition of the content of the root element "swissprot" -->
    <xs:element name="sptr">
    <xs:annotation>
    <xs:documentation>Contains a collection of Swiss-Prot entries.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:sequence>
    <xs:element name="entry" type="entryType" maxOccurs="unbounded">
    <xs:key name="referenceKey">
    <xs:annotation>
    <xs:documentation>Defines the key constraint for iRefID attribute where possible in the entry (citations are missing still).</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="organismList/organism|dbReferenceList/dbReference"/>
    <xs:field xpath="iRefID"/>
    </xs:key>
    <xs:key name="evidenceReferenceKey">
    <xs:annotation>
    <xs:documentation>Defines the key constraint for evID attribute in evidence elements.</xs:documentation>
    </xs:annotation>
    <xs:selector xpath="evidenceList/evidence"/>
    <xs:field xpath="evID"/>
    </xs:key>
    <!--
    <xs:keyref name="internalReference" refer="referenceKey">
    <xs:selector xpath=".//iRef"/>
    <xs:field xpath="ref"/>
    </xs:keyref>
    -->
    <xs:keyref name="evidenceReference" refer="evidenceReferenceKey">
    <xs:selector xpath=".//ev"/>
    <xs:field xpath="ref"/>
    </xs:keyref> <!--
    -->
    </xs:element>
    <xs:element name="copyright">
    <xs:complexType>
    <xs:simpleContent>
    <xs:extension base="xs:string">
    <xs:attribute name="iRefID" type="xs:string" use="required"/>
    </xs:extension>
    </xs:simpleContent>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    feature.xsd is below :
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema targetNamespace="urn:uk:ac:ebi:spml" xmlns="urn:uk:ac:ebi:spml" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <!-- Feature location definition begins -->
    <xs:complexType name="positionType">
    <xs:attribute name="position" type="xs:unsignedLong" use="required"/>
    </xs:complexType>
    <xs:complexType name="gapType">
    <xs:complexContent>
    <xs:extension base="positionType">
    <xs:attribute name="length" type="xs:unsignedLong" use="optional"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="intervalType">
    <xs:attribute name="begin" type="xs:unsignedLong" use="required"/>
    <xs:attribute name="end" type="xs:unsignedLong" use="required"/>
    </xs:complexType>
    <xs:complexType name="baseLocationType">
    <xs:annotation>
    <xs:documentation>A location can be either a position, site or have a start and end, only start, only end or is an empty element if the position is unknown.
    The iRef attribute points to an external database reference (equivalent to J00194:100..202 in EMBL).</xs:documentation>
    </xs:annotation>
    <xs:choice>
    <xs:sequence>
    <xs:choice minOccurs="0">
    <xs:element name="begin" type="positionType"/>
    <xs:element name="beginInterval" type="intervalType"/>
    </xs:choice>
    <xs:choice minOccurs="0">
    <xs:element name="end" type="positionType"/>
    <xs:element name="endInterval" type="intervalType"/>
    </xs:choice>
    </xs:sequence>
    <xs:element name="position" type="positionType"/>
    <xs:element name="positionInterval" type="intervalType"/>
    <xs:element name="site" type="positionType"/>
    </xs:choice>
    <xs:attribute name="iRef" type="xs:string" use="optional"/>
    <xs:attribute name="complement" type="xs:boolean" use="optional" default="false"/>
    </xs:complexType>
    <xs:complexType name="fuzzyLocationType">
    <xs:annotation>
    <xs:documentation>A location can be either a position, site or have a start and end, only start, only end or is an empty element if the position is unknown.
    The iRef attribute points to an external database reference (equivalent to J00194:100..202 in EMBL).</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="baseLocationType">
    <xs:attribute name="fuzzy" use="optional" default="none">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="left"/>
    <xs:enumeration value="right"/>
    <xs:enumeration value="both"/>
    <xs:enumeration value="none"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="joinType">
    <xs:sequence>
    <xs:choice maxOccurs="unbounded">
    <xs:element name="location" type="baseLocationType"/>
    <xs:element name="gap" type="gapType"/>
    </xs:choice>
    </xs:sequence>
    <xs:attribute name="fuzzy" use="optional" default="none">
    <xs:simpleType>
    <xs:restriction base="xs:NMTOKEN">
    <xs:enumeration value="left"/>
    <xs:enumeration value="right"/>
    <xs:enumeration value="both"/>
    <xs:enumeration value="none"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="complement" type="xs:boolean" use="optional" default="false"/>
    </xs:complexType>
    <xs:group name="locationGroup">
    <xs:choice>
    <xs:element name="location" type="fuzzyLocationType"/>
    <xs:element name="join" type="joinType"/>
    </xs:choice>
    </xs:group>
    <!-- Feature location definition ends -->
    <!-- Evidence definition begins -->
    <xs:complexType name="evListType">
    <xs:annotation>
    <xs:documentation>Contains a list of evidence tags.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="ev" maxOccurs="unbounded">
    <xs:annotation>
    <xs:documentation>The ev element is equivalent to an evidence tags.</xs:documentation>
    </xs:annotation>
    <xs:complexType>
    <xs:attribute name="ref" type="xs:string" use="required"/>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <!-- Evidence definition ends -->
    <!-- DB reference definition begins -->
    <xs:complexType name="propertyBaseType">
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="value" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="dbReferenceBaseType" abstract="true">
    <xs:annotation>
    <xs:documentation>DR line</xs:documentation>
    </xs:annotation>
    <xs:sequence>
    <xs:element name="property" type="propertyBaseType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="db" type="xs:string" use="required"/>
    <xs:attribute name="id" type="xs:string" use="required"/>
    <xs:attribute name="iRefID" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="citationDBType">
    <xs:annotation>
    <xs:documentation>This dbRef type is meant for citation database such as PubMed and MEDLINE.</xs:documentation>
    <xs:documentation>This dbRef type is meant for citation database such as PubMed and MEDLINE.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:restriction base="dbReferenceBaseType">
    <xs:sequence>
    <xs:element name="evList" type="evListType" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="db" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="PubMed"/>
    <xs:enumeration value="MEDLINE"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="id" type="xs:string" use="required"/>
    <xs:attribute name="iRefID" type="xs:string" use="required"/>
    </xs:restriction>
    </xs:complexContent>
    </xs:complexType>
    <!-- DB reference definition ends -->
    <!-- Citation type section begins -->
    <xs:group name="citationContentGroup">
    <xs:sequence>
    <xs:element name="authorList" type="nameListType"/>
    <xs:element name="dbReferenceList" minOccurs="0">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="dbReference" type="citationDBType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="iRefList" type="iRefListType" minOccurs="0"/>
    </xs:sequence>
    </xs:group>
    <xs:complexType name="citationType" abstract="true">
    <xs:annotation>
    <xs:documentation>The citation super type</xs:documentation>
    </xs:annotation>
    <xs:attribute name="iRefID" type="xs:string" use="optional"/>
    </xs:complexType>
    <xs:complexType name="bookType">
    <xs:annotation>
    <xs:documentation>Stores all information about a book.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:element name="title" type="freeTextType" minOccurs="0"/>
    <xs:element name="bookTitle" type="xs:string"/>
    <xs:element name="editorList" type="nameListType" minOccurs="0"/>
    <xs:group ref="citationContentGroup"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="book"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="volume" type="xs:string" use="optional"/>
    <xs:attribute name="year" type="xs:int" use="required"/>
    <xs:attribute name="first" type="xs:unsignedInt" use="required"/>
    <xs:attribute name="last" type="xs:unsignedInt" use="required"/>
    <xs:attribute name="ISDN" type="xs:string" use="optional"/>
    <xs:attribute name="publisher" type="xs:string" use="required"/>
    <xs:attribute name="city" type="xs:string" use="required"/>
    <xs:attribute name="country" type="xs:string" use="optional"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="electronicType">
    <xs:annotation>
    <xs:documentation>Stores all information about a so-called online citation.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:element name="title" type="freeTextType" minOccurs="0"/>
    <xs:group ref="citationContentGroup"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="online journal article"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="volume" type="xs:string" use="optional"/>
    <xs:attribute name="year" type="xs:int" use="required"/>
    <xs:attribute name="issue" type="xs:unsignedInt" use="optional">
    <xs:annotation>
    <xs:documentation>Currently used only in the "Worm Breeder's Gazette".</xs:documentation>
    </xs:annotation>
    </xs:attribute>
    <xs:attribute name="articleNo" type="xs:unsignedInt" use="required">
    <xs:annotation>
    <xs:documentation>Currently used only in the "Worm Breeder's Gazette".</xs:documentation>
    </xs:annotation>
    </xs:attribute>
    <xs:attribute name="name" type="xs:string" use="optional">
    <xs:annotation>
    <xs:documentation>Can be used for stating the name of the electronic journal.</xs:documentation>
    </xs:annotation>
    </xs:attribute>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="incompleteJournalType">
    <xs:annotation>
    <xs:documentation>Stores all information about an incomplete journal article.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:element name="title" type="freeTextType" minOccurs="0"/>
    <xs:group ref="citationContentGroup"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="incomplete journal article"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="first" type="xs:string" use="optional"/>
    <xs:attribute name="last" type="xs:string" use="optional"/>
    <xs:attribute name="volume" type="xs:string" use="optional"/>
    <xs:attribute name="year" type="xs:int" use="optional"/>
    <xs:attribute name="name" type="xs:string" use="optional"/>
    <xs:attribute name="ISSN" type="xs:string" use="optional"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="journalType">
    <xs:annotation>
    <xs:documentation>Stores all information about a journal article.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:element name="title" type="freeTextType"/>
    <xs:group ref="citationContentGroup"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="journal article"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="first" type="xs:string" use="required"/>
    <xs:attribute name="last" type="xs:string" use="required"/>
    <xs:attribute name="volume" type="xs:string" use="required"/>
    <xs:attribute name="year" type="xs:int" use="required"/>
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="ISSN" type="xs:string" use="optional"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="observationType">
    <xs:annotation>
    <xs:documentation>Stores all information about a citation of the type "Unpublished Observations".</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:group ref="citationContentGroup"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="unpublished observations"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="date" type="xs:gYearMonth" use="required"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="patentType">
    <xs:annotation>
    <xs:documentation>Stores all information about a patent.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:element name="title" type="freeTextType" minOccurs="0"/>
    <xs:group ref="citationContentGroup" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="patent"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="number" type="xs:string" use="required"/>
    <xs:attribute name="date" type="xs:date" use="required"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="resultType">
    <xs:annotation>
    <xs:documentation>Stores all information about a citation of the type "Unpublished Results". For the unpublished results type it is necessary that the title element is optional, since one won't find this data in flat files (and might not be added in future, either).</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:element name="title" type="freeTextType" minOccurs="0"/>
    <xs:group ref="citationContentGroup"/>
    <xs:choice>
    <xs:element name="citedInBook" type="bookType"/>
    <xs:element name="citedInArticle" type="incompleteJournalType">
    <xs:annotation>
    <xs:documentation>The type of this element needs to be the incompleteJournalType as the SP-ML converter cannot create the title yet (it doesn't evaluate the PubMed database).</xs:documentation>
    </xs:annotation>
    </xs:element>
    <xs:element name="citedInElectronic" type="electronicType"/>
    <xs:element name="citedInThesis" type="thesisType"/>
    </xs:choice>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="unpublished results"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="submissionType">
    <xs:annotation>
    <xs:documentation>Stores all information about a submission to one of the following databases:
    -EMBL/GenBank/DDBJ databases
    -SWISS-PROT data bank
    -HIV data bank
    -PDB data bank
    -PIR data bank</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:element name="title" type="freeTextType" minOccurs="0"/>
    <xs:group ref="citationContentGroup"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="submission"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="date" type="xs:gYearMonth" use="required"/>
    <xs:attribute name="db" type="xs:string" use="required"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="thesisType">
    <xs:annotation>
    <xs:documentation>Stores all information about a thesis.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
    <xs:extension base="citationType">
    <xs:sequence>
    <xs:element name="title" type="freeTextType" minOccurs="0"/>
    <xs:group ref="citationContentGroup"/>
    </xs:sequence>
    <xs:attribute name="type" use="required">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="thesis"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="institute" type="xs:string" use="required"/>
    <xs:attribute name="city" type="xs:string" use="optional"/>
    <xs:attribute name="country" type="xs:string" use="required"/>
    <xs:attribute name="year" type="xs:int" use="required"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="groupType">
    <xs:attribute name="name" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="personType">
    <xs:attribute name="name" type="xs:string" use="required"/>
    <xs:attribute name="forename" type="xs:string" use="optional"/>
    <xs:attribute name="surname" type="xs:string" use="optional"/>
    </xs:complexType>
    <xs:complexType name="nameListType">
    <xs:choice maxOccurs="unbounded">
    <xs:element name="person" type="personType"/>
    <xs:element name="group" type="groupType"/>
    </xs:choice>
    </xs:complexType>
    <!-- Citation type section ends -->
    <xs:complexType name="freeTextType" mixed="true">
    <xs:sequence minOccurs="0">
    <xs:element name="iRefList" type="iRefListType"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="iRefType">
    <xs:attribute name="type" type="xs:string" use="optional"/>
    <xs:attribute name="ref" type="xs:string" use="required"/>
    </xs:complexType>
    <xs:complexType name="iRefListType">
    <xs:sequence>
    <xs:element name="iRef" type="iRefType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>

    We've found two errors, both which can be worked around.
    Currently there is a bug in XMLDB which fails to create a unique name for the case where the subtype and supertype both define an element or attribute with the same name. In your schema both baseCommentType defines an element called evList. massSpecType extends baseCommentType and adds an element with the same name.
    This causes an error creating the massSpecType SQLType. The workaround for this is to declare the XMLDB namespace in the schema and use the xdb:SQLName annotation to define a unique name for the second element.
    Eg
         <xs:complexType name="massSpecType" mixed="true">
              <xs:complexContent mixed="true">
                   <xs:extension base="baseCommentType">
                        <xs:sequence minOccurs="0">
                             <xs:element name="range" minOccurs="0" maxOccurs="unbounded">
                                  <xs:complexType>
                                       <xs:attribute name="begin" type="xs:int" use="required"/>
                                       <xs:attribute name="end" type="xs:int" use="required"/>
                                  </xs:complexType>
                             </xs:element>
                             <xs:element name="evList" type="evListType" minOccurs="0" xdb:SQLName="EVLIST1"/>
                        </xs:sequence>
                        <xs:attribute name="topic" use="required">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="mass spectrometry"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="molWeight" type="xs:float" use="required"/>
                        <xs:attribute name="mwError" type="xs:string" use="optional"/>
                        <xs:attribute name="msMethod" type="xs:string" use="optional"/>
                   </xs:extension>
              </xs:complexContent>
         </xs:complexType>
    Eg...
    The second issue with the /u0000 is caused by the key/key reference definitions in the schema.
    If you comment them out the schema will register
                             <!--
                             <xs:key name="referenceKey">
                                  <xs:selector xpath="organismList/organism|dbReferenceList/dbReference"/>
                                  <xs:field xpath="@iRefID"/>
                             </xs:key>
                             <xs:key name="evidenceReferenceKey">
                                  <xs:selector xpath="evidenceList/evidence"/>
                                  <xs:field xpath="@evID"/>
                             </xs:key>
                             <xs:keyref name="evidenceReference" refer="evidenceReferenceKey">
                                  <xs:selector xpath=".//ev"/>
                                  <xs:field xpath="@ref"/>
                             </xs:keyref>
    -->

Maybe you are looking for

  • ITunes won't import a song

    I had some songs stored in a folder in the My Music folder. When I added the folder to iTunes using the (rather obvious) "Add Folder to iTunes" command under the File menu it added all the songs in the folder except for one. I've tried over and over

  • How to create a chart for past 12 months

    Our objective is to show month by month the cumulative growth of new accounts for the past 12 months. I know how to do cumulative. The problem is that for some of the months, we don't have new accounts. My pivot table only has those months that have

  • First ejb

    hi everyone I am deploying my first EJB in weblogic 5.1 .When i try to load the jar file in weblogic's EJB deployer.I am getting the following errors. org.xml.sax.SAXParseException: Element "session" requires additional elements. at com.sun.xml.parse

  • Getting iPod OUT of diskmode!!! HELP!

    hey all, i have a 40 gig iPod with a bunch of music on it. Unfortunately, my iPod has more space than my laptop computer, so i've been forced to put music on my iPod via iTunes, and then delete the music from iTunes, but keeping it on my iPod with my

  • String won't accept a backslash char

    I'm trying to refer to a file on my Cdrive in Windows XP. java.io.File file = new java.io.File("C:\myFile.pdf"); The compiler won't accept this.