On Tue, Nov 11, 2003 at 03:17:13PM -0500, gogins@xxxxxxxxxxxx wrote: > What makes a nasty hack? If you have a static block of XML such as > char[]gmpi_metadata[] ="<?xml version="1.0" encoding="utf-8" ?><QQQQ GMPI > ONLY KEEP OUT>data...</QQQQ GMPI ONLY KEEP OUT>"; the odds of this data > being misidentified by GMPI or anyone else are absurdly small. > > I don't think we're going to find an easier to build, easier to construct, > faster to read metadata scheme than this. So you have to define the DTD, open the file, scan it for the magic string, load that string, then parse it as XML? How is that easier than just having it in a separate file? No scanning for magic headers, same otherwise.. ---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission. Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe