Changeset 193:9097dd41bc90 in documentViewer


Ignore:
Timestamp:
Oct 5, 2010, 9:53:03 AM (14 years ago)
Author:
abukhman
Branch:
default
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r192 r193  
    135135            return docinfo
    136136        xpath ='/count(//pb)'
    137         text=self.getServerData("xpath.xql", "document=%sxpath=%s"%(docinfo['textURLPath'], xpath))
     137        text=self.getServerData("xpath.xql", "document=%s&xpath=%s"%(docinfo['textURLPath'], xpath))
    138138        logging.debug("documentViewer (text) text: %s"%(text))
    139         docinfo['numPages']=text.xpath
     139        #docinfo['numPages']=text.xpath
    140140        #logging.debug("documentViewer (characterNormalization) characterNormalization: %s"%(characterNormalization))
    141141        return docinfo
Note: See TracChangeset for help on using the changeset viewer.