--- documentViewer/MpdlXmlTextServer.py 2010/08/24 12:34:32 1.22 +++ documentViewer/MpdlXmlTextServer.py 2010/08/24 14:05:44 1.27 @@ -42,8 +42,8 @@ class MpdlXmlTextServer(SimpleItem): """get search list""" docpath = docinfo['textURLPath'] url = docinfo['url'] - #logging.debug("documentViewer (gettoc) docpath: %s"%(docpath)) - #logging.debug("documentViewer (gettoc) url: %s"%(url)) + logging.debug("documentViewer (gettoc) docpath: %s"%(docpath)) + logging.debug("documentViewer (gettoc) url: %s"%(url)) pagesize = pageinfo['queryPageSize'] pn = pageinfo['searchPN'] sn = pageinfo['sn'] @@ -52,7 +52,7 @@ class MpdlXmlTextServer(SimpleItem): queryType =pageinfo['queryType'] viewMode= pageinfo['viewMode'] tocMode = pageinfo['tocMode'] - #characterNormalization = pageinfo ['characterNormalization'] + characterNormalization = pageinfo['characterNormalization'] tocPN = pageinfo['tocPN'] selfurl = self.absolute_url() @@ -130,7 +130,7 @@ class MpdlXmlTextServer(SimpleItem): docinfo['numPages'] = text.count("