+ Start a Discussion
salesforce instancesalesforce instance 

Error Error: Test line 2, column 8: The processing instruction target matching "[xX][mM][lL]" is not allowed Error Error: The processing instruction target matching "[xX][mM][lL]" is not allowed.

<apex:page sidebar="false" showHeader="false" applyBodyTag="false" applyHtmlTag="false" contentType="text/xml" standardStylesheets="false">
  <?xml version="1.0" encoding="UTF-8" ?>
   <response>
              <is_registered>yes</is_registered>
              <is_workinghour>yes</is_workinghour>
              <Lead>00Q9000000Kwe6IEAR</Lead>
              <CallID>04153c09-8018-4cba-b03e-cd98a80f30b0</CallID>
              <agent_number_count>3</agent_number_count>
              <agent_list>
              <agent id="1">
              <agent_number>2228241485</agent_number>
              <agent_code>0004</agent_code>
              </agent>
              <agent id="2">
              <agent_number>2228321017</agent_number>
              <agent_code>0003</agent_code>
              </agent>
              <agent id="3">
              <agent_number>9699850686</agent_number>
              <agent_code>0001</agent_code>
              </agent>
              </agent_list>
              </response>
</apex:page>
AshwaniAshwani
TRy by removing this line:
 
​<?xml version="1.0" encoding="UTF-8" ?>

It would be added automatically.