Hello.
I'm living a hard situation:
I'm using a DB with has some fields with whitespaces at the start and the end. Ex: ' Mr. Me '. When I try to get the content of the field using MIRH variables, I got the content trimmed Ex: 'Mr. Me'.
Looking at the MessageBrowser, I can see the text with all the whitespaces (<pacName> Mr. Me </pacName>), but accesing msg['pacName'] in the transformer, ending wihtespaces are lost.
I've tried with the toString(), text(), getValueOf(), toXMLString() methods, and with XML.ignoreWhitespace property, and with all of them I lost my loved whitespaces.
Any idea?
I'm living a hard situation:
I'm using a DB with has some fields with whitespaces at the start and the end. Ex: ' Mr. Me '. When I try to get the content of the field using MIRH variables, I got the content trimmed Ex: 'Mr. Me'.
Looking at the MessageBrowser, I can see the text with all the whitespaces (<pacName> Mr. Me </pacName>), but accesing msg['pacName'] in the transformer, ending wihtespaces are lost.
I've tried with the toString(), text(), getValueOf(), toXMLString() methods, and with XML.ignoreWhitespace property, and with all of them I lost my loved whitespaces.
Any idea?
Comment