diff options
-rw-r--r-- | menuorg.dtd | 2 | ||||
-rw-r--r-- | src/MenuConfigurationRepository.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/menuorg.dtd b/menuorg.dtd index d4dfb46..2f1c431 100644 --- a/menuorg.dtd +++ b/menuorg.dtd @@ -19,7 +19,7 @@ $Id$ --> -<!ELEMENT menu ((menu | system | plugin | command | separator)+)> +<!ELEMENT menu ((menu | system | plugin | command | separator)*)> <!ATTLIST menu name CDATA #REQUIRED > diff --git a/src/MenuConfigurationRepository.cpp b/src/MenuConfigurationRepository.cpp index 647bc88..8c21905 100644 --- a/src/MenuConfigurationRepository.cpp +++ b/src/MenuConfigurationRepository.cpp @@ -39,7 +39,7 @@ using namespace std; const string MenuConfigurationRepository::_dtd = "<!ELEMENT menus ((menu | system | plugin | command | separator)+)>\n" - "<!ELEMENT menu ((menu | system | plugin | command | separator)+)>\n" + "<!ELEMENT menu ((menu | system | plugin | command | separator)*)>\n" "<!ATTLIST menu name CDATA #REQUIRED>\n" "<!ELEMENT system EMPTY>\n" "<!ATTLIST system\n" |