filter.setContentHandler (seb);
xr.setContentHandler (filter);
xr.parse (new InputSource
(new StringReader
("<temporary-root>" + xml + "</temporary-root>")));
seb.pack();
XMLStreamReader rdr = seb.createXMLStreamReader ();
while (rdr.next () != XMLStreamReader.START_ELEMENT) {
}
if (rdr.getNamespaceURI().equals ("jelly:core")
&& rdr.getLocalName().equals ("jelly")) {