helpers/xmlhelp.dtd  |    9 ++-------
 to-wiki/wikiconv2.py |    2 +-
 2 files changed, 3 insertions(+), 8 deletions(-)

New commits:
commit 9b62f36c82b8f7b15a8ed5ec062d73bef9a820cc
Author: Andras Timar <andras.ti...@collabora.com>
Date:   Fri Nov 13 23:30:25 2015 +0100

    remove lastedited element from dtd and wiki converter
    
    Change-Id: I4eeee9b3a00a197ec915c9996ace0249546f2319

diff --git a/helpers/xmlhelp.dtd b/helpers/xmlhelp.dtd
index 86a17cd..9130e37 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 a04e2da..5f2da13 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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to