It appears that the controller element is infringing DTD guidelines because it is using 2 attributes to pass on data to the MIDI engine, and thus cannot be properly defined in the DTD.
Best practice determines that attributes should be for metadata only. I'm therefore proposing that we change the syntax from <!ELEMENT controller EMPTY> to <!ELEMENT controller (ctrl,value)> <!ELEMENT ctrl (#PCDATA)> <!ELEMENT value (#PCDATA)> A controller definition in the file would therefore become <controller> <ctrl>0</ctrl> <value>1</value> </controller> ----- Regards Michael -- View this message in context: http://dev-list.musescore.org/Instruments-xml-DTD-tp7578054p7578058.html Sent from the MuseScore Developer mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ Mscore-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mscore-developer
