+- document[@XmlEncoding = null, @XmlStandalone = false, @XmlVersion = "1.0"]
   +- pmd:rootElement[@xmlns:pmd = "http://pmd.sf.net"]
      +- text[@Text = "\n    "]
      +- comment[]
      +- text[@Text = "\n    "]
      +- pmd:child1[@test = "1"]
      |  +- text[@Text = "entity: &\n    "]
      +- text[@Text = "\n    "]
      +- pmd:child2[]
      |  +- text[@Text = "\n        "]
      |  +- cdata-section[@Text = " cdata section "]
      |  +- text[@Text = "\n    "]
      +- text[@Text = "\n"]
