Enforce <target> existence based on segment state

    • Hide

      Discuss by 29th Nov if this can be added as PR or as a Warning/Note
      Consider Advanced Validation impact.

      Show
      Discuss by 29th Nov if this can be added as PR or as a Warning/Note Consider Advanced Validation impact.
    • Hide

      Consensus 17th January 2017:
      Implement state dependency in core sch
      Describe the behavior in advanced validation prose [dF]
      Look into specifics of <target> elements that are children of <ignorable> rather than <segment>
      Target will not be enforced in case of <ignorable> parents which even don't have state

      Show
      Consensus 17th January 2017: Implement state dependency in core sch Describe the behavior in advanced validation prose [dF] Look into specifics of <target> elements that are children of <ignorable> rather than <segment> Target will not be enforced in case of <ignorable> parents which even don't have state

      FROM:
      Ján Husarčík <jan.husarcik@gmail.com>

      file

      <?xml version="1.0" encoding="utf-8"?>
      <xliff xmlns:mda="urn:oasis:names:tc:xliff:metadata:2.0"
      xmlns="urn:oasis:names:tc:xliff:document:2.0" srcLang="en-US" trgLang="fr-FR" version="2.0">
      <file id="1">
      <group id="content">
      <unit id="1">
      <segment state="final">
      <source>1</source>
      </segment>
      </unit>
      </group>
      </file>
      </xliff>

      is reported as valid with state="final", while the <target> is not present.

      Could you please consider enforcing existence of <target> (even if it's empty) for segment states different from default?

      If you decide to do so, could you please update processing requirements in http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd01/xliff-core-v2.1-csprd01.html#contentmodification accordingly, and reference them (at least) in http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd01/xliff-core-v2.1-csprd01.html#state and http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd01/xliff-core-v2.1-csprd01.html#target

            Assignee:
            soroush.saadatfar
            Reporter:
            davidfilip
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: