How to fix "A string literal was expected,no opening quote character found" error?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Prince Silva
    New Member
    • Feb 2011
    • 1

    How to fix "A string literal was expected,no opening quote character found" error?

    I am newbie to xml.Cant understand following error.Kindly please point me the errors in my code.

    ERROR:
    A string literal was expected, but no opening quote character was found. Error processing resource 'file:///C:/Users/user/D...

    <Patient Indicator=“N">
    -------------------^


    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <Patients>
      <Patient Indicator=“N">
        <Guid1>     </Guid1>
        <date1>     </date1>
        <docname>   </docname>
        <patname>   </patname>
        <pataddr>   </pataddr>
        <sym1>      </sym1>
        <sym2>      </sym2>
        <sym3>      </sym3>
        <sym4>      </sym4>
        <sym5>      </sym5>
        <disease>   </disease>                   		   
      </Patient>
    </Patients>
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    “ is a typographical quotation mark, not the double quotation mark (") required to quote attribute values.

    Comment

    Working...