<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: xml:id</title>
	<atom:link href="http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/</link>
	<description>XML and the Web.</description>
	<pubDate>Fri, 29 Aug 2008 03:59:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Anne</title>
		<link>http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/#comment-59</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Thu, 10 Feb 2005 19:16:23 +0000</pubDate>
		<guid isPermaLink="false">/?p=13#comment-59</guid>
		<description>Ah, thanks to "barenames" I found it. The official specification calls them &lt;a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#shorthand"&gt;shorthand pointers&lt;/a&gt; nowadays. Unfortunately the specification does not provide a simple example along with it.</description>
		<content:encoded><![CDATA[<p>Ah, thanks to &#8220;barenames&#8221; I found it. The official specification calls them <a href="http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#shorthand">shorthand pointers</a> nowadays. Unfortunately the specification does not provide a simple example along with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Megginson</title>
		<link>http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/#comment-58</link>
		<dc:creator>David Megginson</dc:creator>
		<pubDate>Thu, 10 Feb 2005 19:12:12 +0000</pubDate>
		<guid isPermaLink="false">/?p=13#comment-58</guid>
		<description>Anne and Oleg are both correct, as far as I understand the specs.  In the general case, like in the toolbar of a browser, it's not safe to assume that a bare name in a fragment identifier has any special meaning, like Oleg says; however, the XLink spec states that the fragment identifier in the value of the xlink:href attribute is an XPointer, and the XPointer spec states that a bare name is an ID (and explicitly mentions the application/xml MIME type), like Anne says.

I didn't explicitly mention XLink and XPointer in the original posting, so here's an example that (I think) is correct, assuming that the &lt;em&gt;xlink&lt;/em&gt; prefix is already declared on an ancestor element:

&lt;code&gt;&#60;employee-ref xlink:type="simple" xlink:href="http://www.example.org/employees.xml#dmeg123"/&gt;&lt;/code&gt;

I'll be glad when we don't have to include &lt;em&gt;xlink:type&lt;/em&gt; any more.  Anne: &lt;a href="http://www.w3.org/TR/WD-xptr#bare-names"&gt;here's&lt;/a&gt; where the XPointer spec defines bare names.</description>
		<content:encoded><![CDATA[<p>Anne and Oleg are both correct, as far as I understand the specs.  In the general case, like in the toolbar of a browser, it&#8217;s not safe to assume that a bare name in a fragment identifier has any special meaning, like Oleg says; however, the XLink spec states that the fragment identifier in the value of the xlink:href attribute is an XPointer, and the XPointer spec states that a bare name is an ID (and explicitly mentions the application/xml MIME type), like Anne says.</p>
<p>I didn&#8217;t explicitly mention XLink and XPointer in the original posting, so here&#8217;s an example that (I think) is correct, assuming that the <em>xlink</em> prefix is already declared on an ancestor element:</p>
<p><code>&lt;employee-ref xlink:type="simple" xlink:href="http://www.example.org/employees.xml#dmeg123"/></code></p>
<p>I&#8217;ll be glad when we don&#8217;t have to include <em>xlink:type</em> any more.  Anne: <a href="http://www.w3.org/TR/WD-xptr#bare-names">here&#8217;s</a> where the XPointer spec defines bare names.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/#comment-56</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Thu, 10 Feb 2005 18:57:00 +0000</pubDate>
		<guid isPermaLink="false">/?p=13#comment-56</guid>
		<description>I always thought that #foo was short for XPointer #xpointer(id('foo')) in XML context. However, I can not find it in the XPointer specification.</description>
		<content:encoded><![CDATA[<p>I always thought that #foo was short for XPointer #xpointer(id(&#8217;foo&#8217;)) in XML context. However, I can not find it in the XPointer specification.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Tkachenko</title>
		<link>http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/#comment-55</link>
		<dc:creator>Oleg Tkachenko</dc:creator>
		<pubDate>Thu, 10 Feb 2005 18:32:51 +0000</pubDate>
		<guid isPermaLink="false">/?p=13#comment-55</guid>
		<description>Oops, I meant 
&#60;xi:include href="http://www.example.org/employees.xml" xpointer="dmeg123"/&gt;</description>
		<content:encoded><![CDATA[<p>Oops, I meant<br />
&lt;xi:include href=&#8221;http://www.example.org/employees.xml&#8221; xpointer=&#8221;dmeg123&#8243;/></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oleg Tkachenko</title>
		<link>http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/#comment-54</link>
		<dc:creator>Oleg Tkachenko</dc:creator>
		<pubDate>Thu, 10 Feb 2005 18:30:33 +0000</pubDate>
		<guid isPermaLink="false">/?p=13#comment-54</guid>
		<description>A bit of nitpicking: I'd say http://www.example.org/employees.xml#dmeg123 is bad example here.
As per "Architecture of the World Wide Web":
"When the media type assigned to representation data is "application/xml", there are no semantics defined for fragment identifiers, and authors should not make use of fragment identifiers in such data. The same is true if the assigned media type has the suffix "+xml" (defined in "XML Media Types" [RFC3023]), and the data format specification does not specify fragment identifier semantics. In short, just knowing that content is XML does not provide information about fragment identifier semantics.

Many people assume that the fragment identifier #abc, when referring to XML data, identifies the element in the document with the ID "abc". However, there is no normative support for this assumption. A revision of RFC 3023 is expected to address this."

In XInclude it would be 
&lt;xi :include href="http://www.example.org/employees.xml" xpointer="dmeg123"/&gt;&lt;/xi&gt;</description>
		<content:encoded><![CDATA[<p>A bit of nitpicking: I&#8217;d say <a href="http://www.example.org/employees.xml#dmeg123" rel="nofollow">http://www.example.org/employees.xml#dmeg123</a> is bad example here.<br />
As per &#8220;Architecture of the World Wide Web&#8221;:<br />
&#8220;When the media type assigned to representation data is &#8220;application/xml&#8221;, there are no semantics defined for fragment identifiers, and authors should not make use of fragment identifiers in such data. The same is true if the assigned media type has the suffix &#8220;+xml&#8221; (defined in &#8220;XML Media Types&#8221; [RFC3023]), and the data format specification does not specify fragment identifier semantics. In short, just knowing that content is XML does not provide information about fragment identifier semantics.</p>
<p>Many people assume that the fragment identifier #abc, when referring to XML data, identifies the element in the document with the ID &#8220;abc&#8221;. However, there is no normative support for this assumption. A revision of RFC 3023 is expected to address this.&#8221;</p>
<p>In XInclude it would be<br />
<xi :include href="http://www.example.org/employees.xml" xpointer="dmeg123"/></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quoderat &#187; Rumours of xml:id trouble in the W3C</title>
		<link>http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/#comment-62</link>
		<dc:creator>Quoderat &#187; Rumours of xml:id trouble in the W3C</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">/?p=13#comment-62</guid>
		<description>[...] xml:id specification (released only days ago as a Candidate Recommendation, as I mentioned &lt;a href="http://www.megginson.com/blogs/quoderat/archives/2005/02/08/xmlid/"&gt;here&lt;/a&gt;) &#8211; there is some other specification (not named) that has a bug, mo [...]</description>
		<content:encoded><![CDATA[<p>[...] xml:id specification (released only days ago as a Candidate Recommendation, as I mentioned <a href="http://www.megginson.com/blogs/quoderat/archives/2005/02/08/xmlid/">here</a>) &#8211; there is some other specification (not named) that has a bug, mo [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quoderat &#187; REST design question #5: the &#8220;C&#8221; word (content)</title>
		<link>http://www.megginson.com/blogs/quoderat/2005/02/08/xmlid/#comment-155</link>
		<dc:creator>Quoderat &#187; REST design question #5: the &#8220;C&#8221; word (content)</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">/?p=13#comment-155</guid>
		<description>[...] ml:id can allow links to point to fragments of XML documents easily, making it possible to &lt;a href="http://www.megginson.com/blogs/quoderat/archives/2005/02/08/xmlid/"&gt;refer to embedded resources&lt;/a&gt;. 	 &#60;data&gt;   &#60;person xml:id="dpm"&gt;     &#60;na [...]</description>
		<content:encoded><![CDATA[<p>[...] ml:id can allow links to point to fragments of XML documents easily, making it possible to <a href="http://www.megginson.com/blogs/quoderat/archives/2005/02/08/xmlid/">refer to embedded resources</a>. 	 &lt;data>   &lt;person xml:id=&#8221;dpm&#8221;>     &lt;na [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
