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: 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.

 

 



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