*/
private boolean buildDiscoveryFromRoot(Element root) {
if (DomUtil.matches(root, XML_PROP, DavConstants.NAMESPACE) &&
DomUtil.hasChildElement(root, XML_EVENTDISCOVERY, ObservationConstants.NAMESPACE)) {
Element ld = DomUtil.getChildElement(root, XML_EVENTDISCOVERY, ObservationConstants.NAMESPACE);
eventDiscovery = new EventDiscovery();
ElementIterator it = DomUtil.getChildren(ld, XML_SUBSCRIPTION, ObservationConstants.NAMESPACE);
while (it.hasNext()) {
final Element ebElement = it.nextElement();
EventBundle eb = new EventBundle() {