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
You are correct, it should not be required. It seems the Jakarta library used to generate the XSD from the Java code always makes it required unless it's an object type. In the source it was explicitly set to be optional.
/** MIDI channel of this note. */ @XmlAttribute(required = false) public int channel;
Project.xsd has
<Note channel=...>
as a required attribute, but the documentation states it's not required since the code has it defined as not required.I believe the schema is wrong and we really don't want channel as a required attribute (and I'd prefer it not required 🙂).
The text was updated successfully, but these errors were encountered: