← Prev in month ← Prev in thread
Next in thread → Next in month →

[xliff-comment] non-unique identifiers

From
Doug <>
Date
2002-09-09T14:41:07+00:00
ID
Thread
[xliff-comment] non-unique identifiers
I was confused for some time because the 'id' attribute does not need to be
unique. Typically, the id attribute is of type ID, which requires unique
values. The 'id' attribute is required, but does not need to be unique. In
fact, I would say that in some cases it CAN'T be unique.

For example, if a placeholder is used in a <source> tag, it would have the
same id in the <target> tag.

	<source>Hello <ph id="w">World</ph></source>
	<target>Hola <ph id="w">Mundo</ph></target>

I don't have a recommendation per say, but a different name for the
attribute instead of 'id' would be less confusing and less likely to have
someone change the DTD/Schema in the future to by of type ID, which would
make is unique.


Regards,

Doug D

Ektron, Inc.
+1 603 594-0249
http://www.ektron.com
← Prev in month ← Prev in thread
Next in thread → Next in month →