Re: [xliff-comment] Comment annotations with "ref" and "value"

From
David Filip <>
Date
2019-04-05T15:30:59+00:00
ID
CANjYC56fzVYPkWFUVKJ9sd2vx-=
Thread
Re: [xliff-comment] Comment annotations with "ref" and "value"
Rodolfo, it says "if and only if", meaning having both is illegalÂÂ
The core schematron rules do highlight this as invalid, I tested recently in oXygen 21

Of course xsd cannot catch a co-occurrence constraint

Cheers dF

Dr. David Filip
===========

Convenor, JTC 1/SG 1 Open Source Software, Convenor, JTC 1/SC 42/WG 3 Trustworthiness of AI | National mirror chair, NSAI TC 02/SC 18 AI | Head of the Irish national delegation, ISO/IEC JTC 1/SC 42 AI | Chair & Editor, OASIS XLIFF OMOS TCÂ | Secretary & Lead Editor, OASIS XLIFF TC | NSAI expert to ISO/IEC JTC 1/SC 38 Cloud Computing, ISO TC 37/SC 3 Terminology management, SC 4 Language resources, SC 5 Language technology

Moravia Research Fellow

ADAPT Centre

KDEG, Trinity College Dublin

Mobile: +420-777-218-122

On Fri, Apr 5, 2019 at 5:07 PM Rodolfo M. Raya <> wrote:

Having both attributes is not forbidden in the specification. It is even valid according to the core schema. 

Â

Perhaps the specification needs to be modified to make having both attributes present at the same time an invalid case.

Â

Regards,

Rodolfo

--

Rodolfo M. Raya     Â[email protected]

Maxprograms       Âhttps://www.maxprograms.com

Â

Â

From: David Filip <>
Date: Friday, April 5, 2019 at 12:01 PM
To: "Rodolfo M. Raya" <>
Cc: <>
Subject: Re: [xliff-comment] Comment annotations with "ref" and "value"

Â

Hi Rodolfo,Â

Â

having both is invalid.

Cheers dF

Dr. David Filip

===========

Convenor, JTC 1/SG 1 Open Source Software, Convenor, JTC 1/SC 42/WG 3 Trustworthiness of AI | National mirror chair, NSAI TC 02/SC 18 AI | Head of the Irish national delegation, ISO/IEC JTC 1/SC 42 AI | Chair & Editor, OASIS XLIFF OMOS TCÂ | Secretary & Lead Editor, OASIS XLIFF TC | NSAI expert to ISO/IEC JTC 1/SC 38 Cloud Computing, ISO TC 37/SC 3 Terminology management, SC 4 Language resources, SC 5 Language technology

Moravia Research Fellow

ADAPT Centre

KDEG, Trinity College Dublin

Mobile: +420-777-218-122

Â

Â

On Fri, Apr 5, 2019 at 3:10 PM Rodolfo M. Raya <> wrote:

Hello,

Â

Description of Comment Annotations at http://docs.oasis-open.org/xliff/xliff-core/v2.1/os/xliff-core-v2.1-os.html#commentAnnotation says that if âvalueâ is missing, there must be a ârefâ attribute pointing to a <note>.

Â

What should be considered the text of the comment when both a âvalueâ and a valid ârefâ attribute exist? 

Â

Regards,

Rodolfo

--

Rodolfo M. RayaÂÂÂ ÂÂ 

MaxprogramsÂÂÂÂ Âhttps://www.maxprograms.com 

Â