Inkscape not able to handle RBGA hex colours

Files opened in Inkscape which contain 8-character hex codes cause an error (as of version 1.2.2) where the fill is undefined.

For example, the file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   width="20mm"
   height="20mm"
   viewBox="0 0 20 20"
   version="1.1"
   id="svg87679"
   inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
   sodipodi:docname="drawing.svg"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:svg="http://www.w3.org/2000/svg">
  <sodipodi:namedview
     id="namedview87681"
     pagecolor="#ffffff"
     bordercolor="#000000"
     borderopacity="0.25"
     inkscape:showpageshadow="2"
     inkscape:pageopacity="0.0"
     inkscape:pagecheckerboard="0"
     inkscape:deskcolor="#d1d1d1"
     inkscape:document-units="mm"
     showgrid="false"
     inkscape:zoom="0.84096521"
     inkscape:cx="438.78153"
     inkscape:cy="527.96477"
     inkscape:window-width="1920"
     inkscape:window-height="1137"
     inkscape:window-x="-8"
     inkscape:window-y="-8"
     inkscape:window-maximized="1"
     inkscape:current-layer="layer1" />
  <defs
     id="defs87676" />
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1">
    <rect
       style="opacity:1;fill:#FF3300AA;stroke-width:2;stop-color:#000000;"
       id="Test Rectangle"
       width="15"
       height="15"
       x="2.5"
       y="2.5" />
  </g>
</svg>

When opened in a browser (Google Chrome used to test) will correctly display a part-transparent orange square, but in Inkscape will display an opaque black square.

Edited by Matt Bowyer