1. Okapi Framework
  2. Okapi and localization
  3. XLIFF Toolkit
  4. Issues

Issues

Issue #7 closed

xml:space defined on <source> not being reported by lynx

Ján Husarčík
created an issue

Hello,

according to http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html#xml_space, xml:space can be defined only for <xliff>, <file>, <group>, <unit> and <data>.

For sample file with <source xml:space="preserve"> no error is reported by lynx.

Regards, Jan

Comments (4)

  1. Yves Savourel

    Actually I think the source and target elements are missing in the "Used in" list of that section.

    As you can see here: http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html#source and here: http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html#target the xml:space attribute is listed as optional for both source and target.

    It is also in the schema (http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html#core_schema) and in the section about segmentation modification (http://docs.oasis-open.org/xliff/xliff-core/v2.0/xliff-core-v2.0.html#segmentationModification) for the merge operation.

    But it is missing in the section you pointed out. I'll notify the XLIFF TC of the omission and, hopefully, that can be fixed in the next publication.

    Thanks for taking the time to report the issue. -yves

  2. Log in to comment