Re: Quality markup sample

Hi Phil,

After discussing with Felix, I think we have a solution to the issue of multiple markup items: We would have an internal syntax to the attribute values using a vertical bar (|) as a delimiter, so you could see markup like this:

<p
	its-qualitytype="markup;okapi:MISSING_TAG_IN_TARGET|terminology;okapi:TERMINOLOGY"
	its-qualitycomment="An &lt;em> tag is missing in the target|the text should refer to a USB drive rather than pen drive">
	The only thing you need is a pen drive
</p>

In this case the ; in qualityType would delimit between the high-level category and the application-specific one and the | between instances of values, so the blue values are a pair, and the red ones another. The requirement then (which I don't think can be enforced by a schema) is that if you have bar-delimited bits in one qualityType, you need an equal number in qualityComment (and vice versa), even if they are empty. For example, the following would be perfectly acceptable

<p
	its-qualitytype="markup;okapi:MISSING_TAG_IN_TARGET|terminology;okapi:TERMINOLOGY"
	its-qualitycomment="|the text should refer to a USB drive rather than pen drive">
	The only thing you need is a pen drive
</p>

I.e., the qualityComment value corresponding to the red portion is empty and the bar marks the end of the empty portion.

I know this is cramming some structure into the values of these attributes that complicates them, but given the overriding and inheritance rules of ITS, this seems to be the best solution.

Best,

Arle

On Jul 31, 2012, at 20:44 , Phil Ritchie <philr@vistatec.ie> wrote:

> Thanks for this Arle. Good catch on the multiple errors. I'm not familiar with how additive markup is achieved. Sounds like you have to end up with some sort of external file that has multiple pointers to the same element?
> 
> Phil
> 

Received on Wednesday, 1 August 2012 14:50:15 UTC