A practical use case for a fixed ID attribute?

Hi Folks,

In XML Schema 1.1 it is possible to declare an attribute of type ID and fix its value. For example:

<attribute name="instructor" type="ID" fixed="Professor-Johnson" />

Yesterday I showed that example to my class and they challenged me on the usefulness of this. 

I could not think of a single practical use case for a fixed ID attribute.

Do you have a practical use case for a fixed ID attribute?

/Roger

Received on Saturday, 8 December 2012 13:01:48 UTC