Yum update failed on Almalinux 8

Dear all,

May I know how to resolve this error?
I cannot find any related info when google it.
Thank you.

[root@viewer yum.repos.d]# dnf update
AlmaLinux 8 - BaseOS                             15 kB/s |  11 kB     00:00    
Error: Failed to download metadata for repo 'baseos': repomd.xml parser error: Parse error at line: 8 (Specification mandates value for attribute crossorigin
)
[root@viewer yum.repos.d]# cat /etc/redhat-release
AlmaLinux release 8.10 (Cerulean Leopard)



[root@viewer yum.repos.d]# cat almalinux.repo 
# almalinux.repo

[baseos]
name=AlmaLinux $releasever - BaseOS
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/$basearch/os/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

[appstream]
name=AlmaLinux $releasever - AppStream
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/appstream
# baseurl=https://repo.almalinux.org/almalinux/$releasever/AppStream/$basearch/os/
enabled=1
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux

...still some more....

This could be due to a “bad” mirror. To see if this is the case, make the following change and try again:

mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos
# baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/$basearch/os/

to

# mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos
baseurl=https://repo.almalinux.org/almalinux/$releasever/BaseOS/$basearch/os/