Comment 8 for bug 579362

Revision history for this message
The Escapist (wisd00m) wrote :

I have not yet taken a look at the patch, but I would also recommend to look into using XML or RDF as the underlying markup language (i.e. not just plain text), that would ensure a high degree of consistency for the output, so that it can be clearly specified and standardized.
It would in fact be possible to come up with an XML schema for validating the created output.

Another neat thing is that an XML/RDF based format would be easy to provide backward compatibility for:

One important thing to do would be providing a "version" attribute for the created output, so that tools parsing the GNUSim8085 output, can always refer to this attribute for using the right DTD/schema.

If someone really NEEDS to have a plain text dump for some reason, it would be trivial to use XSLT to format the XML file differently, in fact it could even be automatically converted to HTML.

An XML/RDF based output format would be most detailed, so "reducing" it to less details will always be easier than enriching a flat plain text output.

Tools making use of this could in fact trivially run an XPATH expression against the created output, for example to only get a register dump.