# HG changeset patch # User abukhman # Date 1288002205 -7200 # Node ID 33adbe14053400abca1a3362c841cc599207868c # Parent dc71a34f96a733246307b9ab417e77cd8e2fb43f *** empty log message *** diff -r dc71a34f96a7 -r 33adbe140534 MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Mon Oct 25 12:22:15 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 25 12:23:25 2010 +0200 @@ -212,11 +212,11 @@ textmode = "textPollux" else: textmode = mode - logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) + #logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) textParam = "document=%s&mode=%s&pn=%s&characterNormalization=%s"%(docpath,textmode,pn,characterNormalization) - #if highlightQuery is not None: - # textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) - + if highlightQuery is not None: + textParam +="&highlightQuery=%s&sn=%s"%(urllib.quote(highlightQuery),sn) + logging.debug("documentViewer highlightQuery: %s"%(highlightQuery)) pagexml = self.getServerData("page-fragment.xql",textParam) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)