diff options
-rw-r--r-- | helpers/xmlhelp.dtd | 9 | ||||
-rwxr-xr-x | to-wiki/wikiconv2.py | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/helpers/xmlhelp.dtd b/helpers/xmlhelp.dtd index 86a17cdb13..9130e37c02 100644 --- a/helpers/xmlhelp.dtd +++ b/helpers/xmlhelp.dtd @@ -15,7 +15,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> -<!-- +<!-- Version 03-Feb-2006 added optional localize attribute to images --> @@ -101,7 +101,7 @@ Version 03-Feb-2006 version CDATA #REQUIRED > -<!ELEMENT history (created, lastedited)> +<!ELEMENT history (created)> <!ELEMENT image (caption* | alt+)?> <!ATTLIST image @@ -117,11 +117,6 @@ Version 03-Feb-2006 type CDATA #REQUIRED > -<!ELEMENT lastedited (#PCDATA)> -<!ATTLIST lastedited - date CDATA #REQUIRED -> - <!ELEMENT link (#PCDATA | embedvar | emph | sub | sup | item | variable | switchinline)*> <!ATTLIST link href CDATA #REQUIRED diff --git a/to-wiki/wikiconv2.py b/to-wiki/wikiconv2.py index a04e2dac0d..5f2da13d88 100755 --- a/to-wiki/wikiconv2.py +++ b/to-wiki/wikiconv2.py @@ -751,7 +751,7 @@ class Meta(ElementBase): def start_element(self, parser, name, attrs): if name == 'topic': self.parse_child(Topic(attrs, self)) - elif name == 'history' or name == 'lastedited': + elif name == 'history': self.parse_child(Ignore(attrs, self, name)) else: self.unhandled_element(parser, name) |