<?xml version="1.0" encoding="UTF-8"?>
<!--
      ********************************************************************
      *  declaration v0.1   2001 APRIL                                   *
      ********************************************************************
      *  public "-//wipo//dtd declaration v0.1 2001-04-30/en"            *
      ********************************************************************
      *  contacts:                                                       *
      *  EPO:   Paul Brewin;  pbrewin@epo.org                            *
      *  JPO:   Mitsuru Sono; sono-mitsuru@jpo.go.jp                     *
      *  USPTO: Bruce B. Cox; bruce.cox@uspto.gov                        *
      *  WIPO:  Shiro Ankyu;  shiro.ankyu@wipo.int                       *
      *
      ********************************************************************
      * revision history                                                 *
      ********************************************************************
Created 2001-04-26
WIPO, EPO, USPTO      Geneva
-->


<!--DOCTYPE declaration [                                                    -->

<!-- Define some entities                                                    -->
<!-- Name group entity, please see name element group for each elements      -->

<!ENTITY % nam  "((name | (prefix?,last-name,first-name,middle-name?,suffix?,
                   iid?,role?,orgname?,department?,synonym*)),
                   registered-number?)"                                        >


<!-- DECLARATION                                                             -->

<!ELEMENT declaration           (doc-page+ | (identity-of-inventor+ |
                                              entitlement-filing-date+ |
                                              entitlement-priorty-date+ |
                                              inventorship+ | 
                                              lack-of-novelty+))               >
<!--type of declartion
          1:  Declaration as to the identity of the inventor
          2:  Declaration as applicant's entitlement, as at the international
              filing date, to apply for and be granted a patent
          3:  Declaration as applicant's entitlement, as at the international 
              filing date, to clime the priority of the earlier application 
          4:  Declaration of inventorship    
          5:  Declaration as to non-prejudical disclosures or exceptions to
              lack of novelty                                                
   combined:  Combined declaration 1 and 2                                   -->



<!ATTLIST declaration
               dec-type          (1 | 2 | 3 | 4 | 5 | combined )  #REQUIRED
               lang              CDATA    #REQUIRED
               dtd-version       CDATA    #IMPLIED
               date-produced     CDATA    #IMPLIED
               status            CDATA    #IMPLIED
               file              CDATA    #IMPLIED                             >


<!-- Declaration as to the identity of the inventor                          -->

<!ELEMENT identity-of-inventor  (application-reference?,( date | addressbook |
                                (all-designations |
                                 all-designations-except-us |
                                 designated-states))+)                         >
<!ATTLIST identity-of-inventor
               sequence          CDATA                #REQUIRED
               lang              CDATA                #IMPLIED                 >



<!-- Declaration as applicant's entitlement, as at the international         -->
<!-- filing date, to apply for and be granted a patent                       -->

<!ELEMENT entitlement-filing-date  (application-reference?,%nam;,matter+)      >
<!ATTLIST entitlement-filing-date
               sequence          CDATA                #REQUIRED
               lang              CDATA                #IMPLIED                 >

<!ELEMENT matter               (date | %nam; | addressbook |court-name |
                                kind-of-transfer| (all-designations |
                                all-designations-except-us |
                                designated-states))+                           >
<!ATTLIST matter
               num               CDATA                #IMPLIED                 >



<!ELEMENT kind-of-transfer     (#PCDATA)                                       >
<!ELEMENT court-name           (#PCDATA)                                       >
<!-- Declaration as applicant's entitlement, as at the international         -->
<!-- filing date, to clime the priority of the earlier application           -->

<!ELEMENT entitlement-priorty-date  (application-reference?,%nam;,
                                     earlier-app-reference,matter+)            >
<!ATTLIST entitlement-priorty-date
               sequence          CDATA                #REQUIRED
               lang              CDATA                #IMPLIED                 >



<!-- Declaration of inventorship                                             -->

<!ELEMENT inventorship         (application-reference?,earlier-app-reference*,
                                inventor-info+,signatories?,dtext?)            >
<!ATTLIST inventorship
               sequence          CDATA                #REQUIRED
               lang              CDATA                #IMPLIED                 >

<!ELEMENT inventor-info        (addressbook?,us-residence,
                                authority-applicant?)                          >

<!ELEMENT us-residence         (military-service | (us | non-us))              >

<!ELEMENT military-service     (#PCDATA)                                       >

<!ELEMENT us                   (city,state,country,citizenship?)               >

<!ELEMENT citizenship          (#PCDATA)                                       >

<!ELEMENT non-us               (city,country,citizenship?)                     >

<!ELEMENT authority-applicant  (#PCDATA)                                       >


<!-- Declaration as to non-prejudical disclosures or exceptions to           -->
<!-- lack of novelty                                                         -->

<!ELEMENT lack-of-novelty      (application-reference?,%nam;, (date | address |
                                title-of-disclosure | method-of-disclosure |
                                dtext | (all-designations | 
                                designated-states))+)                          >
<!ATTLIST lack-of-novelty
               sequence         CDATA                 #REQUIRED
               lang             CDATA                 #IMPLIED                 >

<!ELEMENT title-of-disclosure  (#PCDATA)                                       >

<!ELEMENT method-of-disclosure (international-exhibition | publication |
                                abuse | other)                                 > 

<!ELEMENT international-exhibition  (#PCDATA)                                  >

<!ELEMENT publication          (#PCDATA)                                       >

<!ELEMENT abuse                (#PCDATA)                                       >

<!ELEMENT other                (#PCDATA)                                       >



<!--  NAME if no distinction or detail can be given.                 
      Also to be used for:                                
      personal (natural-person) and corporate (legal entity) names           -->

<!ELEMENT name                      (#PCDATA)                                  >
<!ATTLIST name
            type (legal | natural)   #REQUIRED                                 >

<!--                  *Title e.g., Mr., Mrs., Dr. etc*                       -->
<!ELEMENT prefix                    (#PCDATA)                                  >

<!-- Last, family, surname                                                   -->
<!ELEMENT last-name                 (#PCDATA)                                  >

<!--  First, given, middle name(s), initials                     
      eg. John, John F., J.F, John Frederick                                 -->

<!ELEMENT first-name                (#PCDATA)                                  >
 
<!ELEMENT middle-name               (#PCDATA)                                  >

<!--            * Suffix (e.g., II, Jr.Dip. Ing., BA, et al, etc. *          -->
<!ELEMENT suffix                    (#PCDATA)                                  >

<!--                            * Individual id *                            -->
<!ELEMENT iid                       (#PCDATA)                                  >

<!--             * Role, eg President added 02.11.2000 PB ISO 12083 *        -->
<!ELEMENT role                      (#PCDATA)                                  >

<!--                          * Organisation name *                          -->
<!ELEMENT orgname                   (#PCDATA)                                  >

<!--                * Department,division,section, etc. name *               -->
<!ELEMENT department                (#PCDATA)                                  >

<!--                     * Synonym, cross-reference *                        -->
<!ELEMENT synonym                   (#PCDATA)                                  >


<!-- Applicant's, agent's registration number with the office                -->
<!ELEMENT registered-number         (#PCDATA)                                  >


<!-- addressbook :  NAME and ADDRESS COMPONENTS / GROUP TAG 

    % nam "((name | (prefix?,last-name,first-name,middle-name?,suffix?,
             iid?, role?,orgname?,department?,synonym*)),registered-number?)" 

    The lang attribute is REQUIRED for eg.the JPO PCT request where names and
    addresses may be repeated in two different languages.
    If no structure possible use pctext                                      -->

<!ELEMENT addressbook  ((%nam;,address, phone*, fax* ,email* , url* , ead*,
                          dtext?) | dtext)                                     >
<!ATTLIST addressbook 
                lang        CDATA       #REQUIRED                              >


<!--   ADDRESS COMPONENTS *
       The name may form part of addresses.  Address format differ from 
       country to country.   If no structure possible use pctext *           -->

<!ELEMENT address  ((address-1?,address-2?,address-3?,street?,city?,
                     county?,state?,postcode,country) | text)                  >


<!--*     In case the address dose not have street name,city name,etc       *-->
<!ELEMENT address-1                 (#PCDATA)                                  >
<!ELEMENT address-2                 (#PCDATA)                                  >
<!ELEMENT address-3                 (#PCDATA)                                  >

<!--*     Street may contain house number or name                           *-->
<!ELEMENT street                    (#PCDATA)                                  >

<!--*     City or town name                                                 *-->
<!ELEMENT city                      (#PCDATA)                                  >

<!--*     County, parish, department, etc (mainly UK, USA)                  *-->
<!ELEMENT county                    (#PCDATA)                                  >

<!--*     Region of country eg. state, province, lande etc                  *-->
<!ELEMENT state                     (#PCDATA)                                  >

<!--*     Postal code or zip code                                           *-->
<!ELEMENT postcode                  (#PCDATA)                                  >

<!--*     Country use ST.3 country code eg. DE, FR, GB, NL - changed
          Includes region codes for EP, AP, EA, OA                          *-->

<!--*     Telephone number                                                  *-->
<!ELEMENT phone                     (#PCDATA)                                  >

<!--*     Fax number                                                        *-->
<!ELEMENT fax                       (#PCDATA)                                  >

<!ELEMENT email                     (#PCDATA)                                  >

<!--*     Web page location,Universal Resource Locator, eg. www.epoline.org *-->
<!ELEMENT url                       (#PCDATA)                                  >

<!--*     Electronic address use for other than email                       *-->
<!ELEMENT ead                       (#PCDATA)                                  >


<!--*     Descriptive text                                                  *-->
<!ELEMENT dtext                     (#PCDATA)                                  >
<!ELEMENT text                      (#PCDATA)                                  >

<!-- signatories                                                             -->

<!ELEMENT signatories            (signatory+) >

<!ELEMENT signatory              (%nam;,electronic-signature,
                                        signatory-capacity?)                   >

<!ELEMENT electronic-signature   (basic-signature | enhanced-signature)        >
<!ATTLIST electronic-signature
                     date         CDATA         #REQUIRED
                     place-signed CDATA         #IMPLIED                       >

<!ELEMENT signatory-capacity     (#PCDATA)                                     >

<!ELEMENT basic-signature        (fax-image | text-string | click-wrap)        >

<!ELEMENT enhanced-signature     (pkcs7)                                       >

<!ELEMENT fax-image               EMPTY                                        >
<!ATTLIST fax-image
                     file         CDATA         #REQUIRED                      >

<!ELEMENT text-string            (#PCDATA)                                     >

<!ELEMENT click-wrap              EMPTY                                        >

<!ELEMENT pkcs7                   EMPTY                                        >


<!-- common elements                                                         -->

<!-- application identification group                                        -->
<!ELEMENT application-reference     (document-id,language-of-filing?)          >

<!-- earlier application identification group                                -->
<!ELEMENT earlier-app-reference     (document-id)                              >

<!-- Document, application identification group                              -->
<!ELEMENT document-id               (country,doc-number,name?,kind?,date?)     >

<!-- country code, ST.3                                                      -->
<!ELEMENT country                   (#PCDATA)                                  >

<!-- Document number                                                         -->
<!--      In case of application ; application number                        -->
<!--      In case of publication ; publication number                        -->
<!--      In case of grant patent; patent number                             -->
<!ELEMENT doc-number                (#PCDATA)                                  >

<!-- kind code,                                                              -->
<!ELEMENT kind                      (#PCDATA)                                  >

<!-- date, YYYYMMDD, e.g, 20011230                                           -->
<!ELEMENT date                      (#PCDATA)                                  >

<!-- filing language                                                         -->
<!ELEMENT language-of-filing        (#PCDATA)                                  >

<!ELEMENT all-designations           EMPTY                                     > 

<!ELEMENT all-designations-except-us EMPTY                                     >

<!ELEMENT designated-states         (country*,(region,country+)*)              >

<!ELEMENT region                    (country)                                  >


<!--        DOC-PAGE - DOCument or PAGE 
            This is primarily to be used when data for major sections 
            of an application are in image format OR other formats such 
            as pdf. Page range attributes are given when required 
            pp- page range ppf - first page ppl - last page 
           <image> may also be used for complete pages, eg. in drawings      -->
<!ELEMENT doc-page   EMPTY  >
<!ATTLIST doc-page
               id         ID      #REQUIRED
               he         NMTOKEN #REQUIRED
               wi         NMTOKEN #REQUIRED
               type       (jpg | tiff | jfif | pdf | jpeg | tif)   #REQUIRED
               alt        CDATA   #IMPLIED
               label      CDATA   #IMPLIED
               pp         CDATA   #IMPLIED
               ppf        CDATA   #IMPLIED
               ppl        CDATA   #IMPLIED
               file       CDATA   #REQUIRED
               color      (color | bw)   #IMPLIED                              >




