[Bug 1479] 3.11 Embedded Stylesheet Modules; how to express type information

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1479


mike@saxonica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From mike@saxonica.com  2005-05-22 16:42 -------
Thanks for the comment. We should really change this from saying the attribute
must be of type ID to saying that the is-id property in the data model must be
set. (The existing text seems to be unchanged since 1.0). (This property is
automatically set for the xml:id attribute; but this note is only talking about
the id attribute).

The other oddity about this paragraph is the reference to the id() function. In
the context of embedded stylesheet modules, what users really want to know is
whether they can use the id value as a fragment identifier, not whether they can
use it in a call to the id() function. I suspect the 1.0 text avoiding
discussing this because the meaning of a fragment identifier technically depends
on the media type of the document containing the embedded stylesheet, and as far
as I know we *still* don't have an official spec that says bare ID values are
legitimate as fragment identfiers for the application/XML media type.

If the problem were confined to changing the note to permit identification using
xml:id, I would treat it as editorial, but because of the interaction with media
types, I think the comment probably needs WG discussion.

Michael Kay

Received on Sunday, 22 May 2005 16:42:13 UTC