comparison MpdlXmlTextServer.py @ 529:f0e28d31ebc6

fixed bug with viewmode xml.
author casties
date Thu, 26 Apr 2012 14:45:05 +0200
parents 652cc8d3f1a9
children 5c7433c2515c
comparison
equal deleted inserted replaced
528:f8a5f63eafc0 529:f0e28d31ebc6
249 249
250 # other modes don't combine 250 # other modes don't combine
251 if 'dict' in modes: 251 if 'dict' in modes:
252 # dict is called textPollux in the backend 252 # dict is called textPollux in the backend
253 textmode = 'textPollux' 253 textmode = 'textPollux'
254 elif 'xml' in modes:
255 # xml mode
256 textmode = 'xml'
257 textParams['characterNormalization'] = 'orig'
254 else: 258 else:
255 # text is default mode 259 # text is default mode
256 textmode = 'text' 260 textmode = 'text'
257 261
258 textParams['mode'] = textmode 262 textParams['mode'] = textmode