<?xml version="1.0" encoding="UTF-8"?>
<!-- INVALID: Corresponding measures in an ending line must keep the beat count of the line they replace. Only the notes inside may vary. -->
<thai-score xmlns="https://thaimusicxml.anan.ovh/ns/1" version="1.0">
  <header><title>Invalid example</title></header>
  <structure>
    <repeat times="2"><section id="s1" name="ท่อน 1"/></repeat>
  </structure>
  <ensemble><part id="P1"><instrument-name>ขิม</instrument-name></part></ensemble>
  <part-data part="P1">
    <section-ref section="s1">
      <line number="1"><measure number="1"><note pitch="ด"/><note pitch="ร"/></measure></line>
      <line number="2"><measure number="1"><note pitch="ม"/><note pitch="ซ"/></measure></line>
      <line number="3"><measure number="1"><note pitch="ล"/><note pitch="ท"/></measure></line>
      <ending pass="2">
        <annotation>เที่ยวที่ 2</annotation>
        <line number="3"><measure number="1"><note pitch="ล"/><note pitch="ท"/><note pitch="ดํ"/></measure></line>
      </ending>
    </section-ref>
  </part-data>
</thai-score>
