title: Apache Digester Exception: Property ... can't be set
body: <p>I have a problem with Apache Digester 3.2 I hope you can help me with:<br> </p>
  
  <p>The XML I have to parse contains the following lines (and much more):<br></p>
  
  <pre><code>&lt;CountryName
      code = "GFR"
      name = "Germany"
      IsTerritory = "False"
      ProfileURL = "germany.doc"/&gt;
  </code></pre>
  
  <p>The rules for the digester are given by another XML-file:<br></p>
  
  <pre><code>   &lt;pattern value="CountryName"&gt;
        &lt;object-create-rule classname="model.CodeNamePair"/&gt;
        &lt;set-properties-rule/&gt;
        &lt;set-next-rule methodname="addCountry"/&gt;
     &lt;/pattern&gt;
  </code></pre>
  
  <p>This should create an Object of CodeNamePair (which contains a String 'code' and a String 'name', just like in the XML above.<br>
  The next method 'addCountry' is (hopefully) not relevant for this problem which follows now:<br>
  The digester is not able to parse this part. It throws a NoSuchMethodException with message:</p>
  
  <pre><code>"java.lang.NoSuchMethodException: Property IsTerritory can't be set"
  </code></pre>
  
  <p>Although I don't want to parse the IsTerritory property. 
  Do you know if (and how) I will be able to ignore this property?</p>
  
  <p>Already now: Thank you very much (I hope my question is not written too complicated)</p>