- Assertion.ru - http://assertion.ru -
Markup metadata
Posted By admin On June 20, 2007 @ 11:19 am In Work | No Comments
The simplest definition of metadata is that it is data about data. Metadata might be very useful. As for the markup there was some metadata embedded: id, small description of assertion, link to test. During the markup transfer I realized that more metadata would be very helpful. In the new version of specification there were several kinds of assertions:
Adding this kind of data to the markup would greatly simplify the future work – the test development. Because just by looking at an assertion in the spec one can easily say if more tests are needed or several should be updated.
With the given markup architecture [1] is was decided to use the title attribute in a-href tag (the second anchor). So the markup would look like:
<a name=assertionID><!– shord description as html comment –>
assertion statement here
<img src=”pics/assert.gif”><a href=”path to test” title=assertType>test ID which is the same as assertion ID</a>
The title attribute can be viewed in a browser as a hint.
Article printed from Assertion.ru: http://assertion.ru
URL to article: http://assertion.ru/markup-metadata/
URLs in this post:
[1] markup architecture: http://assertion.ru/assertions-and-markup/
[2] Image: http://assertion.ru/wp-content/uploads/images/JLS3_html.gif
[3] Image: http://assertion.ru/wp-content/uploads/images/JLS3_html_code.gif
Click here to print.
Copyright © 2004-2010 Assertion.ru. All rights reserved.