XML doesn't accept multiple roots #24

Closed
opened 2025-12-08 06:06:11 +13:00 by Teajey · 0 comments
Owner

This ought to be wrapped:

$ xh --session sesh.json https://lishwist.brightscroll.net/users Accept:application/xml
<User>
   <Id>1</Id>
   <NormalName>thomas</NormalName>
   <Name>thomas</Name>
   <Reference>32ac1534-2def-4ed3-9141-127750c80f01</Reference>
   <IsAdmin>true</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>2</Id>
   <NormalName>janie</NormalName>
   <Name>Janie</Name>
   <Reference>c3e08107-433d-488d-90bf-f2734ed64949</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>3</Id>
   <NormalName>wetchopp</NormalName>
   <Name>Wetchopp</Name>
   <Reference>07eceec5-1363-4631-9cce-0e749fdb2c3e</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>4</Id>
   <NormalName>calebjack</NormalName>
   <Name>calebjack</Name>
   <Reference>01420f38-6232-4c19-b9d8-d5fefc7addd1</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>5</Id>
   <NormalName>richard</NormalName>
   <Name>Richard</Name>
   <Reference>0943e7d0-d7e8-4905-badf-2a66e3ce9d96</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>6</Id>
   <NormalName>scarlett</NormalName>
   <Name>SCARLETT</Name>
   <Reference>7d2000c7-e03d-4cae-9ea6-2b463fb5d82c</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>7</Id>
   <NormalName>jane</NormalName>
   <Name>Jane</Name>
   <Reference>be737203-0753-46d2-b118-e8c6f2972bed</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>false</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>8</Id>
   <NormalName>ellaf123</NormalName>
   <Name>EllaF123</Name>
   <Reference>fbe7404e-cdf3-4945-b3b1-86245ec686e8</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>9</Id>
   <NormalName>mummy</NormalName>
   <Name>Mummy</Name>
   <Reference>15625c6e-a64e-4287-be71-498bae72ecac</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>10</Id>
   <NormalName>scarletttttt</NormalName>
   <Name>SCARLETTTTTT</Name>
   <Reference>d5df37c7-410d-4d97-8eeb-fb149a5ca94b</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>11</Id>
   <NormalName>scarlettt</NormalName>
   <Name>SCARLETTT</Name>
   <Reference>04b6dc40-fafe-4b13-a8a2-9017e877ed2a</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>12</Id>
   <NormalName>aurelie</NormalName>
   <Name>Aurelie</Name>
   <Reference>cee42e13-5f0d-43b0-a711-d7442ca29db5</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
<User>
   <Id>13</Id>
   <NormalName>mumma</NormalName>
   <Name>Mumma</Name>
   <Reference>803b15ee-ed10-4aed-8779-7fae910014b8</Reference>
   <IsAdmin>false</IsAdmin>
   <IsLive>true</IsLive>
   <PasswordFromAdmin>false</PasswordFromAdmin>
</User>
This ought to be wrapped: ``` $ xh --session sesh.json https://lishwist.brightscroll.net/users Accept:application/xml <User> <Id>1</Id> <NormalName>thomas</NormalName> <Name>thomas</Name> <Reference>32ac1534-2def-4ed3-9141-127750c80f01</Reference> <IsAdmin>true</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>2</Id> <NormalName>janie</NormalName> <Name>Janie</Name> <Reference>c3e08107-433d-488d-90bf-f2734ed64949</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>3</Id> <NormalName>wetchopp</NormalName> <Name>Wetchopp</Name> <Reference>07eceec5-1363-4631-9cce-0e749fdb2c3e</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>4</Id> <NormalName>calebjack</NormalName> <Name>calebjack</Name> <Reference>01420f38-6232-4c19-b9d8-d5fefc7addd1</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>5</Id> <NormalName>richard</NormalName> <Name>Richard</Name> <Reference>0943e7d0-d7e8-4905-badf-2a66e3ce9d96</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>6</Id> <NormalName>scarlett</NormalName> <Name>SCARLETT</Name> <Reference>7d2000c7-e03d-4cae-9ea6-2b463fb5d82c</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>7</Id> <NormalName>jane</NormalName> <Name>Jane</Name> <Reference>be737203-0753-46d2-b118-e8c6f2972bed</Reference> <IsAdmin>false</IsAdmin> <IsLive>false</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>8</Id> <NormalName>ellaf123</NormalName> <Name>EllaF123</Name> <Reference>fbe7404e-cdf3-4945-b3b1-86245ec686e8</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>9</Id> <NormalName>mummy</NormalName> <Name>Mummy</Name> <Reference>15625c6e-a64e-4287-be71-498bae72ecac</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>10</Id> <NormalName>scarletttttt</NormalName> <Name>SCARLETTTTTT</Name> <Reference>d5df37c7-410d-4d97-8eeb-fb149a5ca94b</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>11</Id> <NormalName>scarlettt</NormalName> <Name>SCARLETTT</Name> <Reference>04b6dc40-fafe-4b13-a8a2-9017e877ed2a</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>12</Id> <NormalName>aurelie</NormalName> <Name>Aurelie</Name> <Reference>cee42e13-5f0d-43b0-a711-d7442ca29db5</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> <User> <Id>13</Id> <NormalName>mumma</NormalName> <Name>Mumma</Name> <Reference>803b15ee-ed10-4aed-8779-7fae910014b8</Reference> <IsAdmin>false</IsAdmin> <IsLive>true</IsLive> <PasswordFromAdmin>false</PasswordFromAdmin> </User> ```
Teajey added the
bug
label 2025-12-08 22:08:13 +13:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Teajey/lishwist#24
No description provided.