title: Using semicolon ; to give an attribute multiple values in XML
body: <p>I would like to instead of this:</p>
  
  <pre><code>&lt;person&gt;
      &lt;forename&gt;Charles&lt;/forename&gt;
      &lt;forename&gt;Theodore&lt;/forename&gt;
      &lt;forename&gt;Maximilian&lt;/forename&gt;
  &lt;/person&gt;
  </code></pre>
  
  <p>do this:</p>
  
  <pre><code>&lt;person forename="Charles; Theodore; Maximilian"/&gt;
  </code></pre>
  
  <p>this passes as well formatted on first sight, unlike for example:</p>
  
  <pre><code>&lt;person forename="Charles; Theo&amp;dore; Maximilian"/&gt;
  </code></pre>
  
  <p>Which throws error as not well formatted in visual studio, prompting me to guess the semicolon on the other hand is indeed well formatted and the attribute will be parsed correctly. </p>
  
  <p>In addition to this I've seen Qt code like this elsewhere:</p>
  
  <pre><code>#include &lt;qdom.h&gt;
  #include &lt;qstring.h&gt;
  
  
  int main(){
    QDomDocument doc;
    QDomElement root = doc.createElement("root");
    doc.appendChild(root);
    QDomElement elem = doc.createElement("test");
  
  
    elem.setAttribute("arg", "value1;value2;value3");
  
  
   root.appendChild(elem);
    qDebug("%s", doc.toString().ascii());
  
    return 0;
  }
  </code></pre>
  
  <p>However I'm not very experienced with all the xml parsing, <strong>will the attribute be correctly parsed in the most prevalent (production environment) xml parsers?</strong> Human readability + shortness are atm most important goals, but at what cost is a valid question ofc.</p>