You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like vrv::Toolkit::GetElementAttr() only returns certain types of element. For example, <staffDef> elements cannot be queried, which makes it impossible to use the Toolkit to find the meter count and unit for a staff.
To reproduce, load a MEI file with an identified <staffDef> element, e.g.,
It looks like
vrv::Toolkit::GetElementAttr()
only returns certain types of element. For example,<staffDef>
elements cannot be queried, which makes it impossible to use the Toolkit to find the meter count and unit for a staff.To reproduce, load a MEI file with an identified
<staffDef>
element, e.g.,Expected behaviour
The function searches all elements for the specified
xml:id
tag. In this case, it should return an object that containsActual behaviour
The function returns
{}
, an empty object.Verovio information
Environment information (as appropriate)
The text was updated successfully, but these errors were encountered: