Schema xml:id in md

7 views
Skip to first unread message

gedeoned...@gmail.com

unread,
8:24 AM (15 hours ago) 8:24 AM
to PreTeXt development
Hi,
I recently changed all my <me> and <men> to <md>

I have several displayed equation I want to cross reference, so I added a number="yes" and a xml:id="myeqname" inside the <md> tag. Build went fine, but the validation against the schema produced the following message

attribute "xml:id" not allowed here; expected attribute "alignat-columns", "alignment" or "break"

This issue occurs with both the stable and development versions of the schema. I checked the schema browser and I noticed that the attribute "xml:id" is allowed inside <men> and <mrow> but not (yet) inside <md> (so, you can create an <md> with a single <mrow>, and putting the "xml:id" insider the mrow, your source is validated)

Not s big issue, indeed, but I think it is worthwhile to report it here.

Valerio

Rob Beezer

unread,
12:11 PM (12 hours ago) 12:11 PM
to prete...@googlegroups.com
Thanks, Valerio! I'm slow-walking the full-on deprecation until classes wind
down (mid-May) so that authors do not get inundated with messages about
thousands of their elements. ;-) So we are in a weird interim period.

I have a note to address this fully on May 15 (or so), and part of that will be
to get the (regular) schema fixed up. And I've got an improved deprecation
message template that will just show the first few instances of the same
deprecated construction.

So...hang-tight?

Thanks,
Rob
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-dev...@googlegroups.com <mailto:pretext-
> dev+uns...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pretext-
> dev/06f9b4e5-9311-4910-8532-a093e04da791n%40googlegroups.com <https://
> groups.google.com/d/msgid/pretext-dev/06f9b4e5-9311-4910-8532-
> a093e04da791n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Reply all
Reply to author
Forward
0 new messages