);
XSKeyRef[] rfs = libraryElement.getKeyRefs();
assertEquals( 1, rfs.length );
XSKeyRef rf = rfs[0];
assertEquals( "book-key-ref", rf.getName() );
XSElementOrAttrRef[][] rfMatchCriteria = rf.getMatchCriteria();
assertEquals( 2, rfMatchCriteria.length );
assertEquals( 1, rfMatchCriteria[0].length );
assertEquals( 1, rfMatchCriteria[1].length );
assertEquals(