Why can't the xcr:Rotation matrix in XMP be converted to the exported Heading/Pitch/Roll and vice versa?

My project coordinate system is set to local:1-Euclidean. I exported a complete dataset, specifically exporting the XMP file and the Camera Alignment description files for X, Y, Z, Heading, Pitch, and Roll.

I analyzed the rotation values one by one and found that the rotation matrix described in xcr:Rotation in the XMP file does not seem to be convertible to the Heading, Pitch, and Roll rotation values in the Camera Alignment description file. I tried many calculation methods, but I couldn’t make the two transform into each other, and the values differed greatly after conversion.

Am I misunderstanding something here? I assumed that the rotations in xcr:Rotation are stored in row-major order. Below are my original files and data:

<x:xmpmeta xmlns:x=“adobe:ns:meta/”>
<rdf:RDF xmlns:rdf=“xxxx://www.w3.org/1999/02/22-rdf-syntax-ns#”>
<rdf:Description xcr:Version=“3” xcr:PosePrior=“exact” xcr:Coordinates=“relative”
xcr:ComponentId=“{9B1193ED-0954-48AF-8BA7-4BE14E7414E1}” xcr:DistortionModel=“brown3”
xcr:FocalLength35mm=“25.1029744125508” xcr:Skew=“0” xcr:AspectRatio=“1”
xcr:PrincipalPointU=“0.00263823670583991” xcr:PrincipalPointV=“-0.000572421759200111”
xcr:CalibrationPrior=“exact” xcr:CalibrationGroup=“-1” xcr:DistortionGroup=“-1”
xcr:InTexturing=“1” xcr:InMeshing=“1” xcr:latitude=“36.xxxxxxxxxxxxN”
xcr:longitude=“117.xxxxxxxxxE” xcr:version=“2.2.0.0” xcr:altitude=“0/10000”
xmlns:xcr=“xxxx://www.capturingreality.com/ns/xcr/1.1#”>
xcr:Rotation0.361603152487758 -0.829872535187097 -0.424917327786308 -0.932279412370773 -0.326691798861615 -0.155330505137171 -0.00991248609190275 0.452309676989895 -0.891805863807127</xcr:Rotation>
xcr:Position-233xxxx.77747688 455xxxx.02804559 378xxxx.42801028</xcr:Position>
xcr:DistortionCoeficients0.105935707169875 -0.239891698444182 0.164967280761311 0 0 0</xcr:DistortionCoeficients>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>

scan_20251114_135803_065.jpg -233xxxx.776 455xxxx.030563454 378xxxx.4258922 70.67492094393768 8.969844767062812 25.44303937512039

What are their specific calculation rules?