Some tags misplaced in XML

Brian Huddleston
Brian Huddleston Member Posts: 77 ✭✭
edited November 2024 in English Forum

Had a quick look at the API and noticed that some of the XML tags were closed early. I noticed this with Find where the Bibles tag was closed after the first Bible in the array.  In the example provided for parse, the XML tag for passages is closed after the first returned object in the array.  The JSON response doesn't seem to have any problems.  Perhaps this will give me an excuse to look at JSON some more.  Thanks for the API, it should lead to even more hours of enjoyment from Logos!

<response>
<passage>2 Kings 1–2, 4–5</passage>
<passages>
<passage>2 Kings 1–2</passage>
<parts>
<book>2 Kings</book>
<chapter>1</chapter>
<endChapter>2</endChapter>
</parts>
<index>0</index>
<length>9</length>
</passages>
<length>
<passage>2 Kings 4–5</passage>
<parts>
<book>2 Kings</book>
<chapter>4</chapter>
<endChapter>5</endChapter>
</parts>
<index>11</index>
<length>3</length>
</length>
</response>

 

Wylie, TX

Comments