Skip to content

order attributes#52

Merged
BobBorges merged 1 commit into
datesfrom
order-attribs
Jun 13, 2025
Merged

order attributes#52
BobBorges merged 1 commit into
datesfrom
order-attribs

Conversation

@BobBorges
Copy link
Copy Markdown
Contributor

@BobBorges BobBorges commented Jun 5, 2025

Attributes will now be ordered by a user-defined custom order. This is useful to not get diffs if the order of attributes on an element change. LXML handles this poorly, so the changes below are based on a custom serializer in swerik-project/pyriksdagen#33, implemented with r+w.py in swerik-project/scripts#22

The sample is mostly to check that the edits only change the order of attributes. But the new serializer fixes some other things as a byproduct:

  • inconsistent xml:id attribute on the root TEI element
  • inconsistent attrib quotes in the xml declaration

@BobBorges BobBorges requested a review from ninpnin June 5, 2025 14:43
@BobBorges
Copy link
Copy Markdown
Contributor Author

BobBorges commented Jun 5, 2025

Sampled changes

data/1922/mot-1922--fk--00121.xml

Diff starting from line 23

@@ -23,11 +23,11 @@
       <fw xml:id="i-JgT1jbkDxS6ouHyvNDtxSa">
         Motioner i Första kammaren, Nr 121. 1
       </fw>
-      <div type="motHeader" xml:id="i-CYD8sjLS2Wx6ekN5aR7yiM">
-        <div type="motTitle" xml:id="i-7umCQamWhGUcL87WFHctYy"/>
-        <div type="motSubmissionInfo" xml:id="i-71kHoD7YvK9WMTZJC8rJjj"/>
+      <div xml:id="i-CYD8sjLS2Wx6ekN5aR7yiM" type="motHeader">
+        <div xml:id="i-7umCQamWhGUcL87WFHctYy" type="motTitle"/>
+        <div xml:id="i-71kHoD7YvK9WMTZJC8rJjj" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-7xxfsWXfqzPEUiHGwVfq5P">
+      <div xml:id="i-7xxfsWXfqzPEUiHGwVfq5P" type="motBody">
         <div xml:id="i-F1yrYhYBPx73CPBajaAxn5">
           <p xml:id="i-QVfEDLpdTrmh8KfLJYX2GP">
             Nr 121.
  • Incorrect --> Correct
  • Correct --> Incorrect

data/1941/mot-1941--fk--00141.xml

Diff starting from line 23

@@ -23,11 +23,11 @@
       <fw xml:id="i-55rw8Hw2h7aqWCCzsGziWM">
         Motioner i Första kammaren, Nr 141. 11
       </fw>
-      <div type="motHeader" xml:id="i-TSUsUxp8VNE61j2x1cccGn">
-        <div type="motTitle" xml:id="i-GdL3ZT3MpJ2cNmSku8hyZh"/>
-        <div type="motSubmissionInfo" xml:id="i-QaRGoLUUjYRdL8sNvDhbPw"/>
+      <div xml:id="i-TSUsUxp8VNE61j2x1cccGn" type="motHeader">
+        <div xml:id="i-GdL3ZT3MpJ2cNmSku8hyZh" type="motTitle"/>
+        <div xml:id="i-QaRGoLUUjYRdL8sNvDhbPw" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-NMff51MVcvX953nzdENYVv">
+      <div xml:id="i-NMff51MVcvX953nzdENYVv" type="motBody">
         <div xml:id="i-SokHki1SVmzADcjc7KenLF">
           <p xml:id="i-TBVZB1oyfbuDuwibwaY5du">
             Nr 141.
  • Incorrect --> Correct
  • Correct --> Incorrect

data/1949/mot-1949--ak--00206.xml

Diff starting from line 23

@@ -23,11 +23,11 @@
       <fw xml:id="i-McntFFHVJLe2gkW19EjsR4">
         2 Motioner i Andra kammaren, nr 206.
       </fw>
-      <div type="motHeader" xml:id="i-M3op6XwziQmpGU1zhmpw8B">
-        <div type="motTitle" xml:id="i-CeC1bUQGV7k8tun53mCbCu"/>
-        <div type="motSubmissionInfo" xml:id="i-VmpzW357WbCQZ4dUsTagrZ"/>
+      <div xml:id="i-M3op6XwziQmpGU1zhmpw8B" type="motHeader">
+        <div xml:id="i-CeC1bUQGV7k8tun53mCbCu" type="motTitle"/>
+        <div xml:id="i-VmpzW357WbCQZ4dUsTagrZ" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-ALwqhuXCvzkpZDevCzLXZB">
+      <div xml:id="i-ALwqhuXCvzkpZDevCzLXZB" type="motBody">
         <div xml:id="i-FgcxWVMvoCK69abwb8ErJA">
           <p xml:id="i-KMC1EqX41woN86cfJt5AMM">
             Nr 206.
  • Incorrect --> Correct
  • Correct --> Incorrect

data/1966/mot-1966--ak--00267.xml

Diff starting from line 1

@@ -1,5 +1,5 @@
-<?xml version='1.0' encoding='utf-8'?>
-<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
+<?xml version="1.0" encoding="utf-8"?>
+<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="mot-1966--ak--00267">
   <teiHeader>
     <fileDesc>
       <titleStmt/>
  • Incorrect --> Correct
  • Correct --> Incorrect

data/1968/mot-1968--ak--01135.xml

Diff starting from line 23

@@ -23,11 +23,11 @@
       <fw xml:id="i-36vSW5CVsq2WLqeYLqFwE6">
         Nr 1135—1137 Motioner i Andra kammaren, nr 1135 år 1968 1
       </fw>
-      <div type="motHeader" xml:id="i-KxAtn2Qv3jHAkNJfY8jtE">
-        <div type="motTitle" xml:id="i-K354y6pfJP1ebhzsi99pxa"/>
-        <div type="motSubmissionInfo" xml:id="i-6tfb7t7b4bLo71Ppz2rqjP"/>
+      <div xml:id="i-KxAtn2Qv3jHAkNJfY8jtE" type="motHeader">
+        <div xml:id="i-K354y6pfJP1ebhzsi99pxa" type="motTitle"/>
+        <div xml:id="i-6tfb7t7b4bLo71Ppz2rqjP" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-KwPJuffxnZ1T7iv9suM9j2">
+      <div xml:id="i-KwPJuffxnZ1T7iv9suM9j2" type="motBody">
         <div xml:id="i-MWRi1UaHwsMUAaVDxKpd1">
           <p xml:id="i-LoXSXc4vnCNJ8w2JSVyvnp">
             Nr 1135
  • Incorrect --> Correct
  • Correct --> Incorrect

data/1970/mot-1970--fk--00479.xml

Diff starting from line 23

@@ -23,11 +23,11 @@
       <fw xml:id="i-BKgDhr5nLAV85zbkKTbsnz">
         Motioner i Första kammaren, nr 478—480 år 1970 11
       </fw>
-      <div type="motHeader" xml:id="i-8FEPWFpihosNtGmraj6tD1">
-        <div type="motTitle" xml:id="i-Arpfn1A1iVbW5C4bSHTSE8"/>
-        <div type="motSubmissionInfo" xml:id="i-RtMXcpkbmqR8pzPKnUkpAX"/>
+      <div xml:id="i-8FEPWFpihosNtGmraj6tD1" type="motHeader">
+        <div xml:id="i-Arpfn1A1iVbW5C4bSHTSE8" type="motTitle"/>
+        <div xml:id="i-RtMXcpkbmqR8pzPKnUkpAX" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-B65Zd4hG3aKzsHNXbzqKAU">
+      <div xml:id="i-B65Zd4hG3aKzsHNXbzqKAU" type="motBody">
         <div xml:id="i-CiE2ZB5CsxgsUSmVy9KW8q">
           <p xml:id="i-MAfPtLruVUqYuLgKagN2dC">
             Nr 478
  • Incorrect --> Correct
  • Correct --> Incorrect

data/198788/mot-198788-SoU-00230.xml

Diff starting from line 71

@@ -71,11 +71,11 @@
   <text>
     <body>
       <pb facs="riksdagen-motions-pdf/data/198788/mot_198788_so_230/mot_198788_so_230-001.pdf"/>
-      <div type="motHeader" xml:id="i-3S2LgpSFm7LSFheGWQxXZ6">
-        <div type="motTitle" xml:id="i-utrYpQwm62gAmEYFPuihU"/>
-        <div type="motSubmissionInfo" xml:id="i-SNeC5nTqycs5cFqi6QRdtN"/>
+      <div xml:id="i-3S2LgpSFm7LSFheGWQxXZ6" type="motHeader">
+        <div xml:id="i-utrYpQwm62gAmEYFPuihU" type="motTitle"/>
+        <div xml:id="i-SNeC5nTqycs5cFqi6QRdtN" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-MyddqR36LJB5wBgSZ3Ung4">
+      <div xml:id="i-MyddqR36LJB5wBgSZ3Ung4" type="motBody">
         <div xml:id="i-5JFqYuG8vPnfQxrchKMNZN">
           <p xml:id="i-WYaf9MbJqSeRUyDGXEhDwC">
             Motion till riksdagen 1987/88:S0230
  • Incorrect --> Correct
  • Correct --> Incorrect

data/199091/mot-199091-AU-00725.xml

Diff starting from line 126

@@ -126,25 +126,25 @@
           <note type="signatory" corresp="r-0000000000000"/>
           <note type="signatory" corresp="i-Wiq5749k7owcARUynxZuX7"/>
         </correspContext>
-        <correspAction type="referral" xml:id="i-JP5kxbLh9zyfP16aWFsPX">
+        <correspAction xml:id="i-JP5kxbLh9zyfP16aWFsPX" type="referral">
           <date when="1991-02-06"/>
         </correspAction>
-        <correspAction type="dismissal" xml:id="i-Beiv9KQ745qPAiF6kRPCA1">
+        <correspAction xml:id="i-Beiv9KQ745qPAiF6kRPCA1" type="dismissal">
           <date when="1991-02-05"/>
         </correspAction>
-        <correspAction type="submission" xml:id="i-QhoDSZEXX7yhJHKBy4s94">
+        <correspAction xml:id="i-QhoDSZEXX7yhJHKBy4s94" type="submission">
           <date when="1991-01-25"/>
         </correspAction>
-        <correspAction type="referral" xml:id="i-DLJrmp3hjGUuucAxdHch3V">
+        <correspAction xml:id="i-DLJrmp3hjGUuucAxdHch3V" type="referral">
           <date when="1991-02-06"/>
         </correspAction>
-        <correspAction type="dismissal" xml:id="i-AuvVF8r9sBczMyigHVoVQv">
+        <correspAction xml:id="i-AuvVF8r9sBczMyigHVoVQv" type="dismissal">
           <date when="1991-02-05"/>
         </correspAction>
-        <correspAction type="submission" xml:id="i-5yu8GvbeDQnfyzFz3idJbC">
+        <correspAction xml:id="i-5yu8GvbeDQnfyzFz3idJbC" type="submission">
           <date when="1991-01-25"/>
         </correspAction>
-        <correspAction type="assigned" xml:id="i-Qvpfi49bMpLo7ySMk7T9yj"/>
+        <correspAction xml:id="i-Qvpfi49bMpLo7ySMk7T9yj" type="assigned"/>
         <correspContext corresp="i-Qvpfi49bMpLo7ySMk7T9yj">
           <ref type="assignedTo">Arbetsmarknadsutskottet</ref>
         </correspContext>
  • Incorrect --> Correct
  • Correct --> Incorrect

data/199091/mot-199091-KU-00068.xml

Diff starting from line 1

@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='utf-8'?>
+<?xml version="1.0" encoding="utf-8"?>
 <TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="mot-199091-KU-00068">
   <teiHeader>
     <fileDesc>
  • Incorrect --> Correct
  • Correct --> Incorrect

data/199091/mot-199091-TU-00503.xml

Diff starting from line 1

@@ -1,4 +1,4 @@
-<?xml version='1.0' encoding='utf-8'?>
+<?xml version="1.0" encoding="utf-8"?>
 <TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="mot-199091-TU-00503">
   <teiHeader>
     <fileDesc>
  • Incorrect --> Correct
  • Correct --> Incorrect

data/199091/mot-199091-UU-00230.xml

Diff starting from line 142

@@ -142,25 +142,25 @@
           <note type="signatory" corresp="i-HK9qYnVFN9ozMjewUoj5Ya"/>
           <note type="signatory" corresp="i-XxMRaKyWvbxm3uJmt8WBtZ"/>
         </correspContext>
-        <correspAction type="referral" xml:id="i-TmCo1xh4g6tbBdspDGTJrw">
+        <correspAction xml:id="i-TmCo1xh4g6tbBdspDGTJrw" type="referral">
           <date when="1991-02-06"/>
         </correspAction>
-        <correspAction type="dismissal" xml:id="i-B4DjGeDu4dT7cnZSibxeNm">
+        <correspAction xml:id="i-B4DjGeDu4dT7cnZSibxeNm" type="dismissal">
           <date when="1991-02-05"/>
         </correspAction>
-        <correspAction type="submission" xml:id="i-5dk7LA9zjnT1Mz1SmsyvWL">
+        <correspAction xml:id="i-5dk7LA9zjnT1Mz1SmsyvWL" type="submission">
           <date when="1991-01-25"/>
         </correspAction>
-        <correspAction type="referral" xml:id="i-2kjME5zqieVg1T1dYbAUEW">
+        <correspAction xml:id="i-2kjME5zqieVg1T1dYbAUEW" type="referral">
           <date when="1991-02-06"/>
         </correspAction>
-        <correspAction type="dismissal" xml:id="i-NyhHP5Dt6fx8m2DvL5wzo8">
+        <correspAction xml:id="i-NyhHP5Dt6fx8m2DvL5wzo8" type="dismissal">
           <date when="1991-02-05"/>
         </correspAction>
-        <correspAction type="submission" xml:id="i-S5VKHchvieYhbg4UHDLFNq">
+        <correspAction xml:id="i-S5VKHchvieYhbg4UHDLFNq" type="submission">
           <date when="1991-01-25"/>
         </correspAction>
-        <correspAction type="assigned" xml:id="i-Cppf9sGJm3deZTQ7Vsy2ps"/>
+        <correspAction xml:id="i-Cppf9sGJm3deZTQ7Vsy2ps" type="assigned"/>
         <correspContext corresp="i-Cppf9sGJm3deZTQ7Vsy2ps">
           <ref type="assignedTo">Utrikesutskottet</ref>
         </correspContext>
  • Incorrect --> Correct
  • Correct --> Incorrect

data/199091/mot-199091-UbU-00633.xml

Diff starting from line 125

@@ -125,11 +125,11 @@
   <text>
     <body>
       <pb facs="riksdagen-motions-pdf/data/199091/mot_199091_UbU_633/mot_199091_UbU_633-001.pdf"/>
-      <div type="motHeader" xml:id="i-Vh9evRwmcr8ovi95si4JB3">
-        <div type="motTitle" xml:id="i-2mecu4tSZvLYBZaGoofbhS"/>
-        <div type="motSubmissionInfo" xml:id="i-KoGKZN65rAxELehv5GtmN7"/>
+      <div xml:id="i-Vh9evRwmcr8ovi95si4JB3" type="motHeader">
+        <div xml:id="i-2mecu4tSZvLYBZaGoofbhS" type="motTitle"/>
+        <div xml:id="i-KoGKZN65rAxELehv5GtmN7" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-2ZMimPqHjuHMbfuocGRhqK">
+      <div xml:id="i-2ZMimPqHjuHMbfuocGRhqK" type="motBody">
         <div xml:id="i-HTUiWWtozf8HLoEtqGnZGN">
           <p xml:id="i-M9jbRwgt1cHqPt9ZPjMD9Z">
             Motion till riksdagen 1990/91:Ub633
  • Incorrect --> Correct
  • Correct --> Incorrect

data/199293/mot-199293-KrU-00228.xml

Diff starting from line 110

@@ -110,25 +110,25 @@
           <note type="signatory" corresp="i-Es9MssSEtBNEH1aADUejcS"/>
           <note type="signatory" corresp="i-T52vqFxDFPGpvkPRtqScLC"/>
         </correspContext>
-        <correspAction type="referral" xml:id="i-8itCmzqLSD8xpsFAJn8tdZ">
+        <correspAction xml:id="i-8itCmzqLSD8xpsFAJn8tdZ" type="referral">
           <date when="1993-02-10"/>
         </correspAction>
-        <correspAction type="dismissal" xml:id="i-LCJmrM4gJEe1v5zBZNMNhF">
+        <correspAction xml:id="i-LCJmrM4gJEe1v5zBZNMNhF" type="dismissal">
           <date when="1993-02-09"/>
         </correspAction>
-        <correspAction type="submission" xml:id="i-9hsp7JZS6cYNdPDLJXb9u1">
+        <correspAction xml:id="i-9hsp7JZS6cYNdPDLJXb9u1" type="submission">
           <date when="1993-01-26"/>
         </correspAction>
-        <correspAction type="referral" xml:id="i-9xPZmeb9aNbVR39LLXohTr">
+        <correspAction xml:id="i-9xPZmeb9aNbVR39LLXohTr" type="referral">
           <date when="1993-02-10"/>
         </correspAction>
-        <correspAction type="dismissal" xml:id="i-GMfgiavxZPixjVeUpCbL7m">
+        <correspAction xml:id="i-GMfgiavxZPixjVeUpCbL7m" type="dismissal">
           <date when="1993-02-09"/>
         </correspAction>
-        <correspAction type="submission" xml:id="i-3TTY1AFU1ZNj6Sgd4t7sWn">
+        <correspAction xml:id="i-3TTY1AFU1ZNj6Sgd4t7sWn" type="submission">
           <date when="1993-01-26"/>
         </correspAction>
-        <correspAction type="assigned" xml:id="i-5iwzGt1tnTpabcfkd3NzkN"/>
+        <correspAction xml:id="i-5iwzGt1tnTpabcfkd3NzkN" type="assigned"/>
         <correspContext corresp="i-5iwzGt1tnTpabcfkd3NzkN">
           <ref type="assignedTo">Kulturutskottet</ref>
         </correspContext>
  • Incorrect --> Correct
  • Correct --> Incorrect

data/199899/mot-199899-MJU-00714.xml

Diff starting from line 77

@@ -77,11 +77,11 @@
   <text>
     <body>
       <pb facs="riksdagen-motions-pdf/data/199899/mot_199899_MJ_0714/mot_199899_MJ_0714-0001.pdf"/>
-      <div type="motHeader" xml:id="i-9JUn2y9oBNwZUQECjdR3xo">
-        <div type="motTitle" xml:id="i-F84PZyBEt6b5QMhyaCZgfC"/>
-        <div type="motSubmissionInfo" xml:id="i-CTCDHGhXkXamGbiKphe2T9"/>
+      <div xml:id="i-9JUn2y9oBNwZUQECjdR3xo" type="motHeader">
+        <div xml:id="i-F84PZyBEt6b5QMhyaCZgfC" type="motTitle"/>
+        <div xml:id="i-CTCDHGhXkXamGbiKphe2T9" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-D4BzLyhgkPk3F9Mjmp1RsV">
+      <div xml:id="i-D4BzLyhgkPk3F9Mjmp1RsV" type="motBody">
         <div xml:id="i-47YJQS3WtS3qx25fpQA1at">
           <p xml:id="i-Et7JZasv9fv57EppyzyHQS">
             1998/99 MI71A MJ714
  • Incorrect --> Correct
  • Correct --> Incorrect

data/200001/mot-200001-TU-00539.xml

Diff starting from line 98

@@ -98,11 +98,11 @@
   <text>
     <body>
       <pb facs="riksdagen-motions-pdf/data/200001/mot_200001_T_0539/mot_200001_T_0539-0001.pdf"/>
-      <div type="motHeader" xml:id="i-M1UfNpMtVzS2xi3Y2SGm6H">
-        <div type="motTitle" xml:id="i-62LpgbT38ftfwuXsVkZZbo"/>
-        <div type="motSubmissionInfo" xml:id="i-UtNJ4Yn4NjpjrAj9qdNcPd"/>
+      <div xml:id="i-M1UfNpMtVzS2xi3Y2SGm6H" type="motHeader">
+        <div xml:id="i-62LpgbT38ftfwuXsVkZZbo" type="motTitle"/>
+        <div xml:id="i-UtNJ4Yn4NjpjrAj9qdNcPd" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-VaQu1gHttryFerdDxWCRRm">
+      <div xml:id="i-VaQu1gHttryFerdDxWCRRm" type="motBody">
         <div xml:id="i-Jah79tjfKj3BTfpEzAgQmn">
           <p xml:id="i-7BehroaeBcoXDShSodTNiM">
             2000/01 mnr: T539 pnr: s12340
  • Incorrect --> Correct
  • Correct --> Incorrect

data/200001/mot-200001-UbU-00428.xml

Diff starting from line 98

@@ -98,11 +98,11 @@
   <text>
     <body>
       <pb facs="riksdagen-motions-pdf/data/200001/mot_200001_Ub_0428/mot_200001_Ub_0428-0001.pdf"/>
-      <div type="motHeader" xml:id="i-3u8gGhEoj6yiukXokUNRCj">
-        <div type="motTitle" xml:id="i-YYAcmg67UwrNW9JVFJdSzQ"/>
-        <div type="motSubmissionInfo" xml:id="i-6YBk3Yvr58Jv8iAAV4s41r"/>
+      <div xml:id="i-3u8gGhEoj6yiukXokUNRCj" type="motHeader">
+        <div xml:id="i-YYAcmg67UwrNW9JVFJdSzQ" type="motTitle"/>
+        <div xml:id="i-6YBk3Yvr58Jv8iAAV4s41r" type="motSubmissionInfo"/>
       </div>
-      <div type="motBody" xml:id="i-5NjE3RTXv2vfc4HjaiNhqZ">
+      <div xml:id="i-5NjE3RTXv2vfc4HjaiNhqZ" type="motBody">
         <div xml:id="i-NZJk6mxsKoaWw4SAYJoSSz">
           <p xml:id="i-JMNrv9vbH31fwJPkvsYtHk">
             2000/01 mnr: Ub428 pnr: -fp217
  • Incorrect --> Correct
  • Correct --> Incorrect

data/200102/mot-200102-UbU-00209.xml

Diff starting from line 11

@@ -11,7 +11,7 @@
       </publicationStmt>
       <sourceDesc>
         <bibl>
-          <title> Kårobligatoriet</title>
+          <title>Kårobligatoriet</title>
           <idno type="rdwebb">GP02Ub209</idno>
           <rs type="number">Ub209</rs>
           <orgName type="comitteeAbbreviation">UbU</orgName>
  • Incorrect --> Correct
  • Correct --> Incorrect

data/201213/mot-201213-CU-00395.xml

Diff starting from line 210

@@ -210,7 +210,7 @@
           </p>
         </div>
         <div type="motContent">
-          <head type="h1" xml:id="i-MPmKUHxxogLUN9i2GECdfk">
+          <head xml:id="i-MPmKUHxxogLUN9i2GECdfk" type="h1">
             Motivering
           </head>
           <p xml:id="i-5wgA4jrLiYAzBn45u4CfzD">
  • Incorrect --> Correct
  • Correct --> Incorrect

data/201718/mot-201718-UU-02082.xml

Diff starting from line 73

@@ -73,25 +73,25 @@
           <note type="signatory" corresp="i-TKwDinNn4twnLieK52EXRu"/>
           <note type="signatory" corresp="i-Lw92TAaAVgG8Kdf7YxhViy"/>
         </correspContext>
-        <correspAction type="submitted" xml:id="i-R4YZjGHxrH1DB8gtxWbD7j">
+        <correspAction xml:id="i-R4YZjGHxrH1DB8gtxWbD7j" type="submitted">
           <date when="2017-10-03"/>
           <time when="15:55:38"/>
         </correspAction>
-        <correspAction type="reviewed" xml:id="i-DToN4kLuwaetHWycVLUzeY">
+        <correspAction xml:id="i-DToN4kLuwaetHWycVLUzeY" type="reviewed">
           <date when="2017-10-03"/>
           <time when="18:11:36"/>
         </correspAction>
-        <correspAction type="referred" xml:id="i-25Vyd3dUdaHgijQTt52EnY">
+        <correspAction xml:id="i-25Vyd3dUdaHgijQTt52EnY" type="referred">
           <date when="2017-10-13"/>
         </correspAction>
-        <correspAction type="assigned" xml:id="i-BVZF2kd2V152EqA2HELDKw">
+        <correspAction xml:id="i-BVZF2kd2V152EqA2HELDKw" type="assigned">
           <date when="2018-07-06"/>
           <time when="09:37:17"/>
         </correspAction>
         <correspContext corresp="i-BVZF2kd2V152EqA2HELDKw">
           <ref type="assignedTo">Utrikesutskottet</ref>
         </correspContext>
-        <correspAction type="behandlas_i" xml:id="i-BsmonhPkiqoY6uEQ9E3oFa"/>
+        <correspAction xml:id="i-BsmonhPkiqoY6uEQ9E3oFa" type="behandlas_i"/>
         <correspContext corresp="i-BsmonhPkiqoY6uEQ9E3oFa">
           <ref type="uppgift">2017/18:UU10</ref>
           <ref type="ref_dok_id">H501UU10</ref>
  • Incorrect --> Correct
  • Correct --> Incorrect

Copy link
Copy Markdown
Contributor

@ninpnin ninpnin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, all changes seem correct

@BobBorges BobBorges merged commit 0d92746 into dates Jun 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants