Re: Comment on last CCXML WD

Pavel,

The DTD and the schema unfortunately did not get updated in the working
draft.  Here is an unoffcial DTD.  The offcial version will be published
in an update to the draft.

<!ENTITY % uri "CDATA">
<!ENTITY % version "NMTOKEN">
<!ENTITY % esvar "NMTOKEN">
<!ENTITY % esvars "CDATA">
<!ENTITY % expression "CDATA">
<!ENTITY % boolean "(true | false)">
<!ENTITY % content.type "CDATA">
<!ENTITY % duration "CDATA">
<!ENTITY % string "CDATA">
<!ENTITY % executable.content "accept | assign | createcall | createccxml | createconference | destroyconference | dialogstart | dialogterminate | disconnect | exit | fetch | goto | hold | if | join | log | move | redirect | reject | script | send | unjoin | var">

<!ELEMENT accept EMPTY>
<!ATTLIST accept  
    conid %expression; '_event.callid' 
>

<!ELEMENT assign EMPTY>
<!ATTLIST assign  
    name %expression; #IMPLIED
    expr %expression; #REQUIRED 
>

<!ELEMENT authenticate EMPTY>
<!ATTLIST authenticate  
    server   %expression; #IMPLIED
    userid   %expression; #REQUIRED
    password %expression; #REQUIRED 
>

<!ELEMENT ccxml (authenticate | assign | var | eventhandler | script)*>
<!ATTLIST ccxml  
    version %version; #REQUIRED 
>

<!ELEMENT createcall EMPTY>
<!ATTLIST createcall  
    dest     %expression; #REQUIRED 
    conid    %expression; #IMPLIED
    aai      %expression; #IMPLIED
    callerid %expression; #IMPLIED
    hints    %expression; #IMPLIED
    use      %expression; #IMPLIED
    timeout  %duration;   #IMPLIED
>

<!ELEMENT createccxml EMPTY>
<!ATTLIST createccxml  
    fetchid   %expression; #REQUIRED 
    start     %expression; #IMPLIED 
    sessionid %expression; #IMPLIED 
>

<!ELEMENT createconference EMPTY>
<!ATTLIST createconference  
    id %expression; #REQUIRED 
>

<!ELEMENT destroyconference EMPTY>
<!ATTLIST destroyconference  
    id %expression; #REQUIRED 
>

<!ELEMENT dialogstart EMPTY>
<!ATTLIST dialogstart  
    conid    %expression;   '_event.dialogid'
    src      %expression;   #REQUIRED
    type     %content.type; 'application/xml+vxml'
    namelist %esvars;       #IMPLIED
    dialogid %expression;   #IMPLIED
    duplex   %expression;   'full' 
>

<!ELEMENT dialogterminate EMPTY>
<!ATTLIST dialogterminate  
    dialogid  %expression; '_event.dialogid'
    immediate (true|false) 'false' 
>

<!ELEMENT disconnect EMPTY>
<!ATTLIST disconnect  
    conid    %expression; '_event.callid' 
    dialogid %expression; #IMPLIED
    reason   %expression; #IMPLIED
>

<!ELEMENT else EMPTY>

<!ELEMENT elseif EMPTY>
<!ATTLIST elseif  
    cond %expression; #REQUIRED 
>

<!ELEMENT eventhandler (transition)*>
<!ATTLIST eventhandler  
    statevariable %esvar; #REQUIRED 
>

<!ELEMENT exit EMPTY>
<!ATTLIST exit  
    expr     %expression; '0'
    namelist %esvars;     #IMPLIED 
>

<!ELEMENT fetch EMPTY>
<!ATTLIST fetch  
    next     %expression; #REQUIRED
    namelist %esvars;     #IMPLIED 
    method   (get|post)   'get'
    fetchid  %expression; #IMPLIED
    synch    %expression; #IMPLIED
    timeout  %duration;   #IMPLIED
>

<!ELEMENT goto EMPTY>
<!ATTLIST goto  
    fetchid %expression; #REQUIRED 
>

<!ELEMENT hold EMPTY>
<!ATTLIST hold  
    connid  %expression;  #REQUIRED
    alt     %expression;  #IMPLIED
    newconn %expression;  #IMPLIED
>

<!ELEMENT if (%executable.content; | elseif | else)*>
<!ATTLIST if  
    cond %expression; #REQUIRED 
>

<!ELEMENT join EMPTY>
<!ATTLIST join  
    id1     %expression; #REQUIRED
    id2     %expression; #REQUIRED
    duplex  %expression; 'full' 
>

<!ELEMENT log EMPTY>
<!ATTLIST log  
    label %expression; #IMPLIED
    expr  %expression; #REQUIRED
>

<!ELEMENT move EMPTY>
<!ATTLIST move   
    source    %expression; #IMPLIED
    event     %expression; #IMPLIED
    sessionid %expression; #REQUIRED
>

<!ELEMENT redirect EMPTY>
<!ATTLIST redirect  
    conid  %expression; '_event.callid'
    dest   %expression; #REQUIRED
    reason %expression; #IMPLIED 
>

<!ELEMENT reject EMPTY>
<!ATTLIST reject  
    conid  %expression; '_event.callid' 
    reason %expression; #IMPLIED
>

<!ELEMENT script (#PCDATA)*>
<!ATTLIST script  
    src %expression; #IMPLIED 
>

<!ELEMENT send EMPTY>
<!ATTLIST send  
    event    %expression; #REQUIRED
    target   %expression; #IMPLIED
    name     %expression; #IMPLIED
    delay    %duration;   #IMPLIED
    namelist %esvars;     #IMPLIED 
>

<!ELEMENT transition (%executable.content;)*>
<!ATTLIST transition  
    state %string;     #IMPLIED
    event %expression; #REQUIRED
    cond  %expression; #IMPLIED
    name  %esvar;      #IMPLIED
>

<!ELEMENT unjoin EMPTY>
<!ATTLIST unjoin  
    id1 %expression; #REQUIRED
    id2 %expression; #REQUIRED 
>

<!ELEMENT var EMPTY>
<!ATTLIST var  
    name %esvar;      #REQUIRED
    expr %expression; #IMPLIED 
>

Pavel Cenek wrote:

> 
> Dear Voice Browser Working Group,
> 
> In the last CCXML working draft [12 June 2003], the <log> tag was added 
> to the spec (section 6.2.8). However, the <log> tag was not added to the 
> enclosed DTD / schema. Could you specify where this tag can be properly 
> placed in the ccxml document?
> 
>    Regards
> 
>       Pavel Cenek
> 

-- 
Dan Evans, Software Development
Nortel Networks - Voice Portal Solutions
dde@nortelnetworks.com
Phone (1)-631-285-2583 ESN 297-2583

Received on Thursday, 14 August 2003 10:19:22 UTC