Skip to Content
avatar image
Former Member

List of special characters not allowed in payload

Hi Guys ,

I want to have a list of special characters which are not allowed to pass through PI .Could you please help me on this

Thanks

Best Regards

Anshu Kumar

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Dec 28, 2015 at 08:48 AM

    Hi Anshu,

    all characters which invalidate an xml will cause an issue in PI. Provided you are using a mapping/ FCC etc.

    Some characters have a special meaning in XML.

    If you place a character like "<" inside an XML element, it will generate an error because the parser interprets it as the start of a new element.

    This will generate an XML error:

    <message>salary < 1000</message>

    To avoid this error, replace the "<" character with an entity reference:

    <message>salary &lt; 1000</message>

    There are 5 pre-defined entity references in XML:

    &lt; < less than

    &gt; > greater than

    &amp; & ampersand

    &apos; ' apostrophe

    &quot; " quotation mark

    Regards

    Anupam

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 28, 2015 at 09:26 AM

    Hello,

    You can refer the below link for invalid characters in XML

    http://stackoverflow.com/questions/730133/invalid-characters-in-xml

    Add comment
    10|10000 characters needed characters exceeded