changeset 193:9097dd41bc90

*** empty log message ***
author abukhman
date Tue, 05 Oct 2010 11:53:03 +0200
parents 169a6fbf71ff
children 490a0a1a65d7
files MpdlXmlTextServer.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MpdlXmlTextServer.py	Tue Oct 05 11:45:40 2010 +0200
+++ b/MpdlXmlTextServer.py	Tue Oct 05 11:53:03 2010 +0200
@@ -134,9 +134,9 @@
             # allredy there
             return docinfo
         xpath ='/count(//pb)'
-        text=self.getServerData("xpath.xql", "document=%sxpath=%s"%(docinfo['textURLPath'], xpath))
+        text=self.getServerData("xpath.xql", "document=%s&xpath=%s"%(docinfo['textURLPath'], xpath))
         logging.debug("documentViewer (text) text: %s"%(text))
-        docinfo['numPages']=text.xpath
+        #docinfo['numPages']=text.xpath
         #logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization))
         return docinfo