You can buy this project and download/modify it how often you want.
Compare two PEF documents as a custom XProcSpec assertion.