Model m = odt.getBookmarkRDFMetadata();
TestCase.assertEquals(2, m.size());
OdfContentDom contentDom = odt.getContentDom();
XPath xpath = contentDom.getXPath();
TextBookmarkStartElement tm = (TextBookmarkStartElement) xpath
.evaluate("//text:bookmark-start[last()]", contentDom,
XPathConstants.NODE);
BookmarkRDFMetadataExtractor extractor = BookmarkRDFMetadataExtractor
.newBookmarkTextExtractor();
m = extractor.getBookmarkRDFMetadata(tm);