← Prev in month ← Prev in thread

Assume elements without IDs cannot have FragIDs

From
Schnabel, Bryan S <>
Date
2014-04-06T00:04:28+00:00
ID
Thread
Assume elements without IDs cannot have FragIDs
Looking at “3 Fragment Identification” I do not see an explicit statement that “elements without IDs cannot have FragIDs.”

 

For example the segment below has no ID:

 

<?xml version="1.0"?>

<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="fr">

<file id="f1">

  <unit id="1">

   <segment>

    <source>source</source>

    <target>target</target>

   </segment>

  </unit>

</file>

</xliff>

 

We imply this in 3.1 Selectors for Core Elements

 

“No prefix indicates an id for a <segment> or an <ignorable> or an inline element in the <source> element and the value of that id is unique within the enclosing <unit> element (with the exception of the matching inline elements in the
 <target>).”

 

No action requested. I think the spec is fine for now. I just wanted to see if my assumption is true.
← Prev in month ← Prev in thread