title: XML Properties File Containing a Value with Tags
body: <p>I'm using <code>loadFromXML</code> method of <code>java.util.Properties</code> class to parse an XML file that contains some application parameters. Value of one of these parameters is an HTML string as follows:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"&gt;
  &lt;properties&gt;
      &lt;entry key="THREAD_COUNT"&gt;4&lt;/entry&gt;
      &lt;entry key="SENDER_EMAIL"&gt;MAIL@SOMESITE.COM&lt;/entry&gt;
      &lt;entry key="EMAIL_SUBJECT"&gt;SAMPLE SUBJECT&lt;/entry&gt;
      &lt;entry key="EMAIL_BODY"&gt;&lt;span style='font-family : Monotype Corsiva ; font-size:14pt'&gt;SAMPLE TEXT&lt;/span&gt;&lt;/entry&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>When I have such a value, <code>loadFromXML</code> method throws the following exception:</p>
  
  <pre><code>java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException: Element type "span" must be declared.
      at java.util.XMLUtils.load(XMLUtils.java:59)
      at java.util.Properties.loadFromXML(Properties.java:852)
      at com.test.mail.ConfigReader.&lt;init&gt;(ConfigReader.java:27)
      at com.test.mail.ConfigReader.getInstance(ConfigReader.java:43)
      at com.test.mail.SendMail.readParameters(SendMail.java:64)
      at com.test.mail.SendMail.startJob(SendMail.java:29)
      at com.test.mail.SendMail.main(SendMail.java:24)
  </code></pre>
  
  <p>Is there a way to use such a value in an XML properties file?</p>