OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [xliff] Use of fs:fs/fs:subFs in <note> element?


Hi Yoshito,

The spec does not provide an easy way to put links in notes. Inline tags are not supported in <note> so the only (and ugly) way would be to use escaped HTML like in your example. 

I would prefer to allow using the "source" attribute in <note>, as used in the <gls:term> or <gls:translation> elements from the Glossary module.

Regards,
Rodolfo
--
Rodolfo M. Raya
Maxprograms http://www.maxprograms.com

-------- Original Message --------
Subject: [xliff] Use of fs:fs/fs:subFs in <note> element?
From: Yoshito Umaoka <yoshito_umaoka@us.ibm.com>
Date: Wed, April 06, 2022 6:26 pm
To: "xliff@lists.oasis-open.org" <xliff@lists.oasis-open.org>

I am investigating how to carry translation note including link for external materials.

In XLIFF 2.1 specification, <note> element can have optional format style attributes â fs:fs ad fs:subFs. And the format style attributes from HTML including many inline elements. However, I have no idea how we can use them in <note>.
 
For example, if you want HTML fragment:
 
  Please check <a href="">the screen capture</a>.
 
as <note> value, I may put fs:fs attribute like <notes fs:fs="html">, but it looks there is no way to represent inline <a> element in this case.
 
If this is a part of <source> or <target>, I understand it can be represented as below:
 
  <source>Please check <pc id="1" fs:fs="a" fs:subFs="href, http://foo.com/123.jpg ">the screen capture</pc>.
 
But, I don't think <pc> is allowed in <note> value If my understanding is correct.
 
Of course, if we put <a> tag as "&lt;a>" in <note> body, it is valid, but I suspect this is what the spec suggests.
 
  <notes>
    <note fs:fs="html">Please check &lt;a href="">the screen capture&lt;/a>.</note>
  </notes>
 
Above should be valid, but I think this is not what XLIFF spec author thought about.
Do I misunderstand the specification? If not, what is the typical use case for fs:fs/fs:SubFs attribute in <note> element?
 
Thanks,
Yoshito



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]