We moved Content methods ::getParserOutput and ::fillParserOutput to ContentHandler on core Patch
So we also need to do it with XmlContent content that extend it in examples extension.
The idea is to override method fillParserOutput in XmlContentHandler and move implementation of XmlContent::getParserOutput.