Products | Versions |
---|---|
TIBCO Collaborative Information Manager | - |
Not Applicable | - |
Resolution:
Description:
============
The following SOAP fault is seen when attempting to query a record with one of the attributes set to HTML string, e.g., <ul> <li>Hello</li> <li>World</li></ul>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '&' (code 38) excepted space, or '>' or "/>"
at [row,col {unknown-source}]: [17,84]</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Environment:
===========
TIBCO Product name and version: TIBCO Collaborative Information Manager 8.0.1
Operating System(s): All Operating Systems
Symptoms:
========
The SOAP fault indicated above should be seen when querying a record with one or more of it's attributes set to HTML text.
Cause:
=====
This is a parsing error as the parser does not expect the HTML tags in the attribute values.
Resolution:
=========
Use HTML encoded text instead of HTML for the attribute value. For example, instead of:
<ul> <li>Hello</li> <li>World</li></ul>
Use:
<ul> <li>Hello</li><li>World</li></ul>
You can also try using the HTML encoder @ http://www.opinionatedgeek.com/dotnet/tools/htmlencode/encode.aspx to encode the text.
Attachments:
===========
None.
References:
==========
None.