} else { // otherwise see if there's a simple master by the given name
SimplePageMaster simpleMaster =
this.layoutMasterSet.getSimplePageMaster( pageSequenceName );
if (simpleMaster == null) {
throw new FOPException( "'master-name' for 'fo:page-sequence'" +
"matches no 'simple-page-master' or 'page-sequence-master'" );
}
currentPageMasterName = pageSequenceName;
pageMaster = simpleMaster.getNextPageMaster();