Author |
Message
|
mail2me.venky |
Posted: Thu May 31, 2012 8:36 am Post subject: issue with default value in MXSD |
|
|
Apprentice
Joined: 11 May 2012 Posts: 26
|
<xsd:element name="CX21A_G_FUNCT_HEADER">
<xsd:complexType>
<xsd:annotation>
<xsd:appinfo source="WMQI_APPINFO">
<tdsStructRep dataElementSeparation="FixedLength" messageSetDefaultRep="Text1"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element default="$~\u003eFUNCT-HEADER\u003c~$" name="CX21A_FUNCT_HEADER_L_ID" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="WMQI_APPINFO">
<tdsElemRep length="18" messageSetDefaultRep="Text1" precision="-1"/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
for the above default value "$~\u003eFUNCT-HEADER\u003c~$" , In the output file it should be written as "$~>FUNCT-HEADER<~"
but it is writing as "$~\u003eFUNCT-HEAD"
i changed the default value format as "$~<0x003e>FUNCT-HEADER<0x003c>~$" to get required result. but nothing worked.
Could someone to help me to solve this issue.
How to make recognize these
"$~\u003eFUNCT-HEADER\u003c~$" value in correct format @ output
How can i able to recognize hexadecimal string in correct character format in output?
Should i have to change any messageset settings or in mxsd ?
Thanks in advance
varun |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu May 31, 2012 6:09 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20763 Location: LI,NY
|
Shouldn't that default value rather say:
Code: |
default="$~>FUNCT-HEADER<~$" |
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
kimbert |
Posted: Fri Jun 01, 2012 12:56 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5543 Location: Southampton
|
|
Back to top |
|
 |
mail2me.venky |
Posted: Fri Jun 01, 2012 10:15 am Post subject: |
|
|
Apprentice
Joined: 11 May 2012 Posts: 26
|
Thank for the reply.
I will try and get back to you , sure.
B4 that , just a small clarification
If i set these suggested values in message set( gui ) default properties
will it reflect ?
Sorry if i am wrong
Thanks
varun |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 01, 2012 10:32 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
default values are not automatically populated except in certain circumstances. |
|
Back to top |
|
 |
|