<!--
 * SVC.dtd version 0.9.1
 *
 * Information can be found at http://openscience.chem.nd.edu/~egonw/svc/
 *
 * Copyright (c) 2000 E.L. Willighagen (egonw@sci.kun.nl)
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. -->

<!ELEMENT softpkg        (name,authors?,abstract?,website?,specification?,buglist?,implementation*)>
<!ATTLIST softpkg        id              CDATA        #REQUIRED
                         version         "0.9.1"      #IMPLIED>
<!ELEMENT name           (#PCDATA)>
<!ELEMENT abstract       (#PCDATA)>
<!ELEMENT website        (#PCDATA)>
<!ELEMENT authors        (person+)>
<!ELEMENT person         (name|email?)>
<!ATTLIST person         id              CDATA        #IMPLIED
                         type            (author|contact|co-author)
                                         "author">
<!ELEMENT email          (#PCDATA)>
<!ELEMENT specification  (rule*)>
<!ATTLIST specification  href            CDATA        #IMPLIED>
<!ELEMENT rule           (desc)>
<!ATTLIST rule           id              CDATA        #REQUIRED>
<!ELEMENT desc           (#PCDATA)>
<!ELEMENT implementation (distro)*>
<!ATTLIST implementation lang            CDATA        #REQUIRED
                         os              CDATA        #IMPLIED>
<!ELEMENT distro         (release-date?,release-info?,buglist?,diffs*)>
<!ATTLIST distro         version         CDATA        #REQUIRED>
<!ELEMENT release-date   (#PCDATA)>
<!ATTLIST release-date   href            CDATA        #IMPLIED>
<!ELEMENT release-info   (#PCDATA)>
<!ELEMENT buglist        (bug+)>
<!ELEMENT bug
<!ELEMENT bug            (#PCDATA)*>
<!ATTLIST bug            id              CDATA        #REQUIRED
                         state           (solved|known) 
                                         "known">
<!ELEMENT diffs          (spec,depend,bug,object,func,var)+>
<!ATTLIST diffs          type            (new|changed|removed)
                                         "new">
<!ELEMENT spec           (support,comment)>
<!ATTLIST spec           id              CDATA        #REQUIRED
                         author          CDATA        #IMPLIED
                         type            CDATA        #IMPLIED>
<!ELEMENT support        (EMPTY)>
<!ATTLIST support        percentage      CDATA        #IMPLIED
                         mark            (none|partly|buggy|full)
			                 "none">
<!ELEMENT depend         (softpkg)>
<!ATTLIST depend         author          CDATA        #IMPLIED
                         type            CDATA        #IMPLIED>
<!ELEMENT object         (rel*,desc?,remark*)>
<!ATTLIST object         author          CDATA        #IMPLIED
                         name            CDATA        #REQUIRED
                         type            CDATA        #IMPLIED>
<!ELEMENT rel            (#PCDATA)>
<!ATTLIST rel            type            (part-of|subclass|superclass)
                                                      "part-of">
<!ELEMENT func           (returns?,param*,desc?,remark*)>
<!ATTLIST func           author          CDATA        #IMPLIED
                         name	         CDATA	      #REQUIRED
                         scope           CDATA        #IMPLIED
                         type            CDATA        #IMPLIED>
<!ELEMENT param          (#PCDATA)>
<!ATTLIST param          order           CDATA        #IMPLIED
                         type            CDATA        #IMPLIED
                         name            CDATA        #REQUIRED>
<!ELEMENT returns        (#PCDATA)>
<!ATTLIST returns        type            CDATA        #REQUIRED>
<!ELEMENT remark         (#PCDATA)>
<!ELEMENT var            (type?,desc?,remark*)>
<!ATTLIST var            author          CDATA        #IMPLIED
                         scope           CDATA        #IMPLIED
                         name            CDATA        #REQUIRED
                         type            CDATA        #IMPLIED>
<!ELEMENT type           (#PCDATA)>
<!--
 * SVC.dtd version 0.9.1
 *
 * Information can be found at http://openscience.chem.nd.edu/~egonw/svc/
 *
 * Copyright (c) 2000 E.L. Willighagen (egonw@sci.kun.nl)
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. -->

<!ELEMENT softpkg        (name,authors?,abstract?,website?,specification?,buglist?,implementation*)>
<!ATTLIST softpkg        id              CDATA        #REQUIRED
                         version         CDATA        "0.9.1">
<!ELEMENT name           (#PCDATA)>
<!ELEMENT abstract       (#PCDATA)>
<!ELEMENT website        (#PCDATA)>
<!ELEMENT authors        (person+)>
<!ELEMENT person         (name|email?)>
<!ATTLIST person         id              CDATA        #IMPLIED
                         type            (author|contact|co-author)
                                         "author">
<!ELEMENT email          (#PCDATA)>
<!ELEMENT specification  (rule*)>
<!ATTLIST specification  href            CDATA        #IMPLIED>
<!ELEMENT rule           (desc)>
<!ATTLIST rule           id              CDATA        #REQUIRED>
<!ELEMENT desc           (#PCDATA)>
<!ELEMENT implementation (distro)*>
<!ATTLIST implementation lang            CDATA        #REQUIRED
                         os              CDATA        #IMPLIED>
<!ELEMENT distro         (release-date?,release-info?,buglist?,diffs*)>
<!ATTLIST distro         version         CDATA        #REQUIRED>
<!ELEMENT release-date   (#PCDATA)>
<!ATTLIST release-date   href            CDATA        #IMPLIED>
<!ELEMENT release-info   (#PCDATA)>
<!ELEMENT buglist        (bug+)>
<!ELEMENT bug            (#PCDATA)*>
<!ATTLIST bug            id              CDATA        #REQUIRED
                         state           (solved|known) 
                                         "known">
<!ELEMENT diffs          (spec,depend,bug,object,func,var)+>
<!ATTLIST diffs          type            (new|changed|removed)
                                         "new">
<!ELEMENT spec           (support,comment)>
<!ATTLIST spec           id              CDATA        #REQUIRED
                         author          CDATA        #IMPLIED
                         type            CDATA        #IMPLIED>
<!ELEMENT support        (EMPTY)>
<!ATTLIST support        percentage      CDATA        #IMPLIED
                         mark            (none|partly|buggy|full)
			                 "none">
<!ELEMENT depend         (softpkg)>
<!ATTLIST depend         author          CDATA        #IMPLIED
                         type            CDATA        #IMPLIED>
<!ELEMENT object         (rel*,desc?,remark*)>
<!ATTLIST object         author          CDATA        #IMPLIED
                         name            CDATA        #REQUIRED
                         type            CDATA        #IMPLIED>
<!ELEMENT rel            (#PCDATA)>
<!ATTLIST rel            type            (part-of|subclass|superclass)
                                                      "part-of">
<!ELEMENT func           (returns?,param*,desc?,remark*)>
<!ATTLIST func           author          CDATA        #IMPLIED
                         name	         CDATA	      #REQUIRED
                         scope           CDATA        #IMPLIED
                         type            CDATA        #IMPLIED>
<!ELEMENT param          (#PCDATA)>
<!ATTLIST param          order           CDATA        #IMPLIED
                         type            CDATA        #IMPLIED
                         name            CDATA        #REQUIRED>
<!ELEMENT returns        (#PCDATA)>
<!ATTLIST returns        type            CDATA        #REQUIRED>
<!ELEMENT remark         (#PCDATA)>
<!ELEMENT var            (type?,desc?,remark*)>
<!ATTLIST var            author          CDATA        #IMPLIED
                         scope           CDATA        #IMPLIED
                         name            CDATA        #REQUIRED
                         type            CDATA        #IMPLIED>
<!ELEMENT type           (#PCDATA)>
