Technote (troubleshooting)
Problem(Abstract)
You use the XML tab within your WebSphere Message Broker (WMB) message to specify the PublicId and the SystemId for the DocType Declaration. You type in the string without any quotes. The system generates these fields with double-quote marks surrounding the string, however the receiving application had specified these strings be surrounded by apostrophes. See example below:
Generated from WebSphere Business Integration Message Broker (WBIMB):
<!DOCTYPE ciflob01 PUBLIC "xml file for CIF LOB updates" "CifUpdatedReq.dtd">
Application Requirements Specifications:
<!DOCTYPE ciflob01 PUBLIC 'xml file for CIF LOB updates' 'CifUpdatedReq.dtd'>
You want to know how to generate the single quotes.
Resolving the problem
According to the XML standards a double quote is required where you want a single quote. WBIMB follows these XML standards and thus is required to build the DOCTYPE declaration with the double quotes. There is not much that can be done to change this.
You could try converting the data to a BLOB before output, and then replacing the double quotes with single quotes.
The following is the link to the XML standards website:
http://www.w3.org/TR/REC-xml
Historical Number
55920
7TD
000
Product Alias/Synonym
WMB MB WebSphere Message Broker MQ Integrator WBIMB WBI-MB MQSI WMQI
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.