Build: #1589 was successful Scheduled with changes by teleivo <> and Ivo Ulrich <>

Code commits

openmrs-core master

  • Ivo Ulrich <>

    Ivo Ulrich <> 329dff326085246e73afaef4e9958a69f3877dd3

    Merge pull request #2666 from teleivo/TRUNK-5399
    TRUNK-5399 Add and fix config xml dtd files 1-0.1.5

  • teleivo <>

    teleivo <> 2bf237237a4dfeb86372102b21890a693f97ad84

    TRUNK-5399 Add and fix config xml dtd files 1-0.1.5
    * add the DTD files for the config.xml in versions 1.0-1.5 to the
    resources of org/openmrs/module/dtd so they are under version control,
    can easily be found, edited and uploaded back to
    * add elements that were not declared and thus made the DTDs invalid and
    not useful for devs writing their config.xml

    * add missing elements judging from legacyui dwr element in config.xml
    * create (param, include*) always has a param and can have 0-N include's
    param and include are empty elements with required attributes
    * convert has one optional param child

    * fix the mappingFiles quantifier since it should only occur Zero or One
    time thus use `?`. mappingFiles itself can have multiple whitespace
    separated filenames

    * be more strict on `require_modules` which should have 1-N `require_module`
    instead of 0-N, because why declare it if you dont require any module

    * add `aware_of_modules` element to version 1.4, which was missing in
    the file uploaded to and this also has to have 1-N
    `aware_of_module` if added

    * filter-mapping added in 1.2 defines that one of the following
    url-pattern or servlet-name elements must be included thus the pattern
    (url-pattern | servlet-name)

    • api/src/main/resources/org/openmrs/module/dtd/config-1.0.dtd (version 2bf237237a4dfeb86372102b21890a693f97ad84)
    • api/src/main/resources/org/openmrs/module/dtd/config-1.1.dtd (version 2bf237237a4dfeb86372102b21890a693f97ad84)
    • api/src/main/resources/org/openmrs/module/dtd/config-1.2.dtd (version 2bf237237a4dfeb86372102b21890a693f97ad84)
    • api/src/main/resources/org/openmrs/module/dtd/config-1.3.dtd (version 2bf237237a4dfeb86372102b21890a693f97ad84)
    • api/src/main/resources/org/openmrs/module/dtd/config-1.4.dtd (version 2bf237237a4dfeb86372102b21890a693f97ad84)
    • api/src/main/resources/org/openmrs/module/dtd/config-1.5.dtd (version 2bf237237a4dfeb86372102b21890a693f97ad84)