This had already been fixed in lecturecommon.sty, but chances are that documents using the XML framework won’t use that package anyway.