IBM Support

RS03907: ORG.XML.SAX.SAXPARSEEXCEPTION: THE ENTITY NAME MUST IMMEDIATELY FOLLOW THE '&' IN THE ENTITY REFERENCE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • Parsing of a String which contains the '&' character fails with
    below exception:
    
    ilog.rules.res.decisionservice.IlrDecisionServiceException:
    Error when extracting the ruleset parameter value from the
    request.
    at ilog.rules.res.decisionservice.web.IlrWebServiceServlet.extr
    actInParameters(IlrWebServiceServlet.java:114)
    at ilog.rules.res.decisionservice.web.IlrWebServiceServlet.onMe
    ssage(IlrWebServiceServlet.java:211)
    at ilog.rules.res.decisionservice.web.IlrSaajServlet.handleSOAP
    Request(IlrSaajServlet.java:426)
    at ilog.rules.res.decisionservice.web.IlrSaajServlet.doPost(Ilr
    SaajServlet.java:411)
    at ilog.rules.res.decisionservice.web.IlrSaajServlet.doPost(Ilr
    SaajServlet.java:394)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    [...]
    Caused by: javax.xml.bind.UnmarshalException
    with linked exception:
    [org.xml.sax.SAXParseException: The entity name must immediately
    follow the '&' in the entity reference.]
    at com.ibm.rules.htds.binding.xml.HTDSContentHandler.endElement
    (HTDSContentHandler.java:578)
    at
    org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
    Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndEleme
    nt(UnknownSource)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme
    ntContentDispatcher.dispatch(UnknownSource)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo
    cument(UnknownSource)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
    Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
    Source)
    at ilog.rules.res.decisionservice.web.IlrWebServiceServlet.extr
    actInParameters(IlrWebServiceServlet.java:107)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Executing with String containing reserved characters.        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Parsing of a String which contains the '&' character fails   *
    * with                                                         *
    * below exception:                                             *
    *                                                              *
    * ilog.rules.res.decisionservice.IlrDecisionServiceException:  *
    * Error when extracting the ruleset parameter value from the   *
    * request.                                                     *
    * at                                                           *
    * ilog.rules.res.decisionservice.web.IlrWebServiceServlet.extr *
    * actInParameters(IlrWebServiceServlet.java:114)               *
    * at                                                           *
    * ilog.rules.res.decisionservice.web.IlrWebServiceServlet.onMe *
    * ssage(IlrWebServiceServlet.java:211)                         *
    * at                                                           *
    * ilog.rules.res.decisionservice.web.IlrSaajServlet.handleSOAP *
    * Request(IlrSaajServlet.java:426)                             *
    * at                                                           *
    * ilog.rules.res.decisionservice.web.IlrSaajServlet.doPost(Ilr *
    * SaajServlet.java:411)                                        *
    * at                                                           *
    * ilog.rules.res.decisionservice.web.IlrSaajServlet.doPost(Ilr *
    * SaajServlet.java:394)                                        *
    * at                                                           *
    * javax.servlet.http.HttpServlet.service(HttpServlet.java:707) *
    * at                                                           *
    * javax.servlet.http.HttpServlet.service(HttpServlet.java:790) *
    * [...]                                                        *
    * Caused by: javax.xml.bind.UnmarshalException                 *
    * with linked exception:                                       *
    * [org.xml.sax.SAXParseException: The entity name must         *
    * immediately                                                  *
    * follow the '&' in the entity reference.]                     *
    * at                                                           *
    * com.ibm.rules.htds.binding.xml.HTDSContentHandler.endElement *
    * (HTDSContentHandler.java:578)                                *
    * at                                                           *
    * org.apache.xerces.parsers.AbstractSAXParser.endElement(Unkno *
    * wn                                                           *
    * Source)                                                      *
    * at                                                           *
    * org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndEleme *
    * nt(UnknownSource)                                            *
    * at                                                           *
    * org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragme *
    * ntContentDispatcher.dispatch(UnknownSource)                  *
    * at                                                           *
    * org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo *
    * cument(UnknownSource)                                        *
    * at                                                           *
    * org.apache.xerces.parsers.XML11Configuration.parse(Unknown   *
    * Source)                                                      *
    * at                                                           *
    * org.apache.xerces.parsers.XML11Configuration.parse(Unknown   *
    * Source)                                                      *
    * at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) *
    * at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown *
    * Source)                                                      *
    * at                                                           *
    * ilog.rules.res.decisionservice.web.IlrWebServiceServlet.extr *
    * actInParameters(IlrWebServiceServlet.java:107)               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The use of reserved characters has been fixed:
    & (ampersand)
    " (double quotes)
    ' (simple quote)
    > (greater than)
    < (lower than)
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03907

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    8A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-03-24

  • Closed date

    2022-04-06

  • Last modified date

    2022-04-06

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Decision Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8A0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
02 June 2022