I attended Jane's funeral, and now I will attend Jane's wedding.
Jane asked me to attend her wedding, not her funeral.
Jane asked me to attend her funeral, not her wedding.
No one can have a wedding if they've already had a funeral.