[MEI-L] <syl> inside <choice>

TW zupftom at googlemail.com
Thu Mar 8 18:10:19 CET 2012


It seems the following is legal:

<?xml version="1.0" encoding="UTF-8"?>
<mei xmlns="http://www.music-encoding.org/ns/mei">
  <meiHead>
    <fileDesc>
      <titleStmt>
        <title/>
      </titleStmt>
      <pubStmt/>
    </fileDesc>
  </meiHead>
  <music>
    <body>
      <mdiv>
        <score>
          <section>
            <measure>
              <staff>
                <layer>
                  <note>
                    <syl>
                      <orig>Ms.</orig>
                      <reg>Miss</reg>
                    </syl>
                  </note>
                </layer>
              </staff>
            </measure>
          </section>
        </score>
      </mdiv>
    </body>
  </music>
</mei>

But why like this and not with <choice>?

Thomas


2012/3/8 TW <zupftom at googlemail.com>:
> I just tried something like:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <mei xmlns="http://www.music-encoding.org/ns/mei">
>  <meiHead>
>    <fileDesc>
>      <titleStmt>
>        <title/>
>      </titleStmt>
>      <pubStmt/>
>    </fileDesc>
>  </meiHead>
>  <music>
>    <body>
>      <mdiv>
>        <score>
>          <section>
>            <measure>
>              <staff>
>                <layer>
>                  <note>
>                    <choice>
>                      <orig>
>                        <syl>Ms.</syl>
>                      </orig>
>                      <reg>
>                        <syl>Miss</syl>
>                      </reg>
>                    </choice>
>                  </note>
>                </layer>
>              </staff>
>            </measure>
>          </section>
>        </score>
>      </mdiv>
>    </body>
>  </music>
> </mei>
>
>
> I let oXygen validate against the RNG that the web service gave me,
> and it complains about <syl> in <orig> or <reg>.  Indeed, the
> documentation says, <syl> is only allowed inside <lem>, <rdg>,
> <verse>, <syllable> and <note>.  Why is this so?  Bug or feature?
>
> Thomas



More information about the mei-l mailing list