Date: Mon, 4 Nov 2002 21:06:04 -0500From: "Simon St.Laurent" To: www-tag@w3.orgMessage-ID: Subject: Re: [Issue fragmentInXML-28] Use of fragment identifiers in XML Paul Prescod writes:>It seems to me that the poor #-sign is a hammer and everyone sees it as >the tool for hammering their favourite nail.I think you're completely correct about that, and a lot of themotivation for writing the Internet-Drafts I published last week isfiguring out what kind of hammer the fragment identifier really is. I'mmoderately astounded that I've not had more explicit pushback on thosedrafts, though I've had a fair number of typos reported.My current suspicion is that URI references are now grossly overloaded,and that treating them only as a shorthand syntax for something moreexplicitly specified might be a good idea. For example:http://www.w3.org/TR/REC-xml#sec-cdata-sectIs typically interpreted as having meaning somewhat like: http://www.w3.org/TR/REC-xml GET text/html en sec-cdata-sectWhether or not they know those details, I suspect that's pretty much theexpections people have. Change any of those expectations, and youeither need to supplement the URI reference with something else, or dosomething like XPointer with its schemes.I might want to reference the same point in the XML version as: http://www.w3.org/TR/REC-xml GET application/xml en sec-cdata-sectA more sophisticated XPointer approach to a similar reference in adocument without labels might look like: http://www.w3.org/TR/REC-xml GET application/xml en dohttp://simonstl.com/ns/do rehttp://simonstl.com/ns/re mihttp://simonstl.com/ns/mi //do:note/re:notes/mi:notes Or perhaps, to leap completely into the wild: http://www.w3.org/TR/REC-xml POST fire application/xml en dohttp://simonstl.com/ns/do rehttp://simonstl.com/ns/re mihttp://simonstl.com/ns/mi string-range(//title,"Flames Ablaze!") fire //do:home/re:hearth/mi:fire application/xhtml+xml text/html en firePlace These things just aren't expressable in a URI reference (and probablyshould not be). It may be worth asking what kind of task is beingperformed, and decide whether a URI reference is actually the best wayto get there. (And here I thought XLink was verbose... but at least that's reasonablyclear, except perhaps to the extent that it uses URI references.)-------------Simon St.Laurent - SSL is my TLAhttp://simonstl.com may be my URIhttp://monasticxml.org may be my ascetic URIurn:oid:1.3.6.1.4.1.6320 is another possibility altogether