# HG changeset patch # User abukhman # Date 1288002135 -7200 # Node ID dc71a34f96a733246307b9ab417e77cd8e2fb43f # Parent ece96864632c8201e6a944b69d3fce77d7adea82 *** empty log message *** diff -r ece96864632c -r dc71a34f96a7 MpdlXmlTextServer.py --- a/MpdlXmlTextServer.py Mon Oct 25 12:20:28 2010 +0200 +++ b/MpdlXmlTextServer.py Mon Oct 25 12:22:15 2010 +0200 @@ -214,8 +214,8 @@ textmode = mode 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) pagexml = self.getServerData("page-fragment.xql",textParam) #pagexml=self.template.fulltextclient.eval("/mpdl/interface/page-fragment.xql", textParam, outputUnicode=False)