<?xml version='1.0' encoding='utf-8' standalone='yes'?>
<?xml-stylesheet type='text/xsl' href='/style/atom-comments.xsl'?>
<feed xmlns='http://www.w3.org/2005/Atom'>
<title>norman.walsh.name: Comments on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20'/>
<id>http://norman.walsh.name/2004/11/10/xml20/comments.atom</id>
<updated>2006-06-19T20:50:55Z</updated>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 1 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0001'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0001</id>
<published>2004-11-11T04:59:21Z</published>
<updated>2004-11-11T04:59:21Z</updated>
<author>
  <name>Dave Pawson</name>
  <foaf:mbox_sha1sum>b46b0bd3946a0e2c96f45361a4be380edcd98ed6</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>

What about the QName ?


The only thing that smells iffy is the  form Norm.
How about  to keep the parser writers happy?

I can see why the first colon is needed, but for aethetics and
authoring habits, keeping qnames a bit like empty elements
seems reasonable? 

I'll look forward to more articles on this.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 2 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0002'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0002</id>
<published>2004-11-11T05:00:42Z</published>
<updated>2004-11-11T05:00:42Z</updated>
<author>
  <name>Jeffrey Yasskin</name>
  <foaf:mbox_sha1sum>33e3a3f26490d6dda5f4fa8eddecae481195f789</foaf:mbox_sha1sum>
  <uri>http://jeffrey.yasskin.info/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I don't like the  syntax. It looks too much like an unbalanced start tag. Sure, it's not syntactically ambiguous to a computer, but humans' ability to check the syntax is more important. Since entities are going away anyway, I suggest &amp;{uri}name; and &amp;prefix:name; instead. If that's a dumb idea, I'd be happy to hear why.
</p><p>Other than that, I think the proposals are great.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 3 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0003'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0003</id>
<published>2004-11-11T06:09:14Z</published>
<updated>2004-11-11T06:09:14Z</updated>
<author>
  <name>Norman Walsh</name>
  <foaf:mbox_sha1sum>9f5c771a25733700b2f96af4f8e6f35c9b0ad327</foaf:mbox_sha1sum>
  <uri>http://norman.walsh.name/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I avoided the "&amp;" escape character because it's already used for the built in entities (&amp;lt;, etc.) and numeric character references (&amp;#160; etc.).
I suppose that &amp;{uri}localname; and &amp;:p:localname; are still possibilities, it just seemed like a lot of overloading on that character.

</p><p>I was aware that the forms I chose look a lot like start tags. I even toyed with &lt;{uri}localname/&gt; but I decided that made the problem even worse.

</p><p>I think I could go either way.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 4 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0004'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0004</id>
<published>2004-11-11T09:47:29Z</published>
<updated>2004-11-11T09:47:29Z</updated>
<author>
  <name>Bill de hÃra</name>
  <foaf:mbox_sha1sum>5395877e907ea261d8c35b9b501a43adb5ffc871</foaf:mbox_sha1sum>
  <uri>http://www.dehora.net/journal</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Nice. Some obs.
<br clear="none"></br>
"In XML 2.0, all documents would be namespace aware. Furthermore, the &#8220;null namespace,&#8221; the namespace in which elements appear if there is no namespace declaration, would have an explicit URI (and could, consequently, be associated with a prefix). This reduces all of the magic of the &#8220;null namespace&#8221; to simply a question of a default declaration. We could go a step further and simply outlaw the null namespace, but that seems a bit extreme to me."
<br clear="none"></br>
xmlns="" would do fine for the null namespace - think of the months you could save not arguing about which scheme to use. 
<br clear="none"></br>
And drop default namespaces too - they suck.
<br clear="none"></br>
I could live with the 'QClark' syntax, but maybe you should use a closing tag form for consistency. The truth is that allowing macros to work over markup and content is always going to be messy.
<br clear="none"></br>
What you haven't done is verify that this will allow QNames and namespaces to roundtrip. That's a very important thing to get right this time.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 5 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0005'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0005</id>
<published>2004-11-11T15:57:15Z</published>
<updated>2004-11-11T15:57:15Z</updated>
<author>
  <name>Norman Walsh</name>
  <foaf:mbox_sha1sum>9f5c771a25733700b2f96af4f8e6f35c9b0ad327</foaf:mbox_sha1sum>
  <uri>http://norman.walsh.name/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>The problem with using "" for the null namespace is that it would break the ability (important to some, I'm sure) to undeclare a namespace. As for dropping default namespaces, I could live with that, but I bet lots of folks would object. Lots of documents are only in a single namespace and using names without colons for those cases is appealing.

</p><p>As for round-tripping, I'm pretty confident my proposal manages that. The parser can recognize all the QNames and it can serialize all the QNames. At least if they're in one of the new syntaxes.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 6 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0006'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0006</id>
<published>2004-11-11T16:18:42Z</published>
<updated>2004-11-11T16:18:42Z</updated>
<author>
  <name>David Carlisle</name>
  <foaf:mbox_sha1sum>ac4bbb0ce3a3e02cc386fe410164dc831b49c1ce</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I'm honou?red, you want to force the whole world through the pain of a version transition, just to inflict pain on me!

</p><p>Mike Kay suggested on xml-dev recently (and before) that the {uri}local name ought to be allowed _everywhere_ that Qnames are recognised including element start and end tags, schema declarations, XPath steps etc so that you could write out everything without carrying namespace context if you need to. That would clash with your suggested Qname in content markup as M's suggestion would make that a legal start tag.
(But that's just syntax....)</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 7 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0007'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0007</id>
<published>2004-11-11T16:37:10Z</published>
<updated>2004-11-11T16:37:10Z</updated>
<author>
  <name>Jimmy Cerra</name>
  <foaf:mbox_sha1sum>ae6739e87b4f0b74663680a1154ef19c3a65ae36</foaf:mbox_sha1sum>
  <uri>http://www.slashdot.org/~Quantum Jim/journal/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Woa: d&#233;j&#224; vu [1,2,3]!  :-)  I agree that the entity syntax is a bit harsh [4], and I think consistancy with other entity sytaxes is important.  However your solution for defining <em>all</em> entities seems pretty good.  A few possible issues with your idea may include:</p>

<p>
&#8226; How are the mappings between entities and XML content defined?  That is, how is <code>&amp;#xB7;</code> defined to be <code>&lt;{http://www.w3.org/2003/entities/iso8879/isonum}middot&gt;</code>?
<br clear="none"></br>&#8226; Many XML processors won't necessarily have the ability to access the internet and download the definition files - a way to specify a local copy (public id?) is helpful.
<br clear="none"></br>&#8226; What happens if the entity can't be resolved for some reason or another?  XML 1.x's fatal error behavor is often quite annoying: a fallback mechanism would be nice.
</p>

<p>In addition, a possible alternative syntax that doesn't hurt existing XML 1.x processors (and looks nicer, IMHO) looks like [based on 3]:</p>

<pre><code>&lt;animals
    xmlns="http://example.com/animals/"
    xmlns:ent="http://example.com/entity/ns/"
    ent:cls="http://purl.org/stuff/colors/"
    example="%cls:rainbow;"
    &gt;
    &lt;dog
        xmlns="http://purl.org/stuff/dogs/"
        paw="%cls:golden;"
        &gt;
        &lt;nose&gt;%cls:brown;&lt;/nose&gt;
    &lt;/dog&gt;
&lt;/animals&gt;</code></pre>

<p>Of course, that's an ugly hack and requires an additional <code>%pc;</code> escape sequence.  However, it could be used to test your approach with existing XML processors via XSLT or some pipe.</p>

<p>Notes:</p>

<p>P.S. Your software barfed on the % symbol - I had to use an entity for it.  Odd, since it is valid xml.</p>

<p>
[1] http://norman.walsh.name/2004/11/10/xml20#p32
<br clear="none"></br>[2] http://dannyayers.com/archives/2004/11/05/exorcising-qnames/
<br clear="none"></br>[3] http://slashdot.org/~Quantum Jim/journal/89855
<br clear="none"></br>[4] http://norman.walsh.name/2004/11/10/xml20#comment0002
</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 8 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0008'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0008</id>
<published>2004-11-11T21:00:17Z</published>
<updated>2004-11-11T21:00:17Z</updated>
<author>
  <name>Tom</name>
  <foaf:mbox_sha1sum>b1c756bb5326f1d3842dbb048affcce74d65dbd9</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>For character entities, just add to the predefined set. Take everything from HTML 4 and others if needed (such as MathML?). That list really isn't big since the representation can be very simple. <i>Voila.</i> No need to have external references at all, and I don't have to wonder how to say &amp;middot; today.
</p><p>
Of course, this doesn't address the general QName problem, but I'd really rather not put these two issues together.
</p><p>
Everyone with extra needs could just use better editors. Or, as you suggest, specialized applications could still use Elements or QNames with special significance, but there would be no need to confuse them with character data.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 9 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0009'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0009</id>
<published>2004-11-12T00:18:17Z</published>
<updated>2004-11-12T00:18:17Z</updated>
<author>
  <name>Xmlizer</name>
  <foaf:mbox_sha1sum>fd5615e3483b361bf5e585eead59d70d4fbf2c35</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Hello,<br clear="none"></br>
There are some nice ideas, but there a long long way...and the form could become better, so let's wait ...<br clear="none"></br>
But the good points are :<br clear="none"></br>
* merging {XML, XML Infoset, XML Base, XML:id, XML Namespace}<br clear="none"></br>
* removing DTD Infoset (fixed attribute value, entity definition, 
DOCTYPE call)<br clear="none"></br><br clear="none"></br>
The brace notation {} looks good, but we need to introduce two new predefined entities ( &amp;lb; { and &amp;rb; } )<br clear="none"></br>
But why throwing entity notation ?<br clear="none"></br>&amp;{http...}foo; looks good<br clear="none"></br>
And why not changing the http dummy protocol ?<br clear="none"></br>
Why not introducing the xml:// protocol to really make the difference ?<br clear="none"></br>
But I saw a bug<br clear="none"></br>
You wrote this<br clear="none"></br><br clear="none"></br>&lt;?xml version="2.0"?&gt;<br clear="none"></br>&lt;&lt;{http://example.com/xmlns/doc}doc&gt;<br clear="none"></br>
  xmlns:a="http://example.com/xmlns/a"&gt;<br clear="none"></br>&lt;&lt;{http://example.com/xmlns/doc}p&gt; a:att="value"<br clear="none"></br>&lt;{http://example.com/xmlns/b}:att&gt;=&#8221;value&#8221;/&gt;<br clear="none"></br>&lt;&lt;{http://example.com/xmlns/doc}doc&gt;&gt;<br clear="none"></br><br clear="none"></br>
but I think you mean this<br clear="none"></br><br clear="none"></br>&lt;?xml version="2.0"?&gt;<br clear="none"></br>&lt;&lt;{http://example.com/xmlns/doc}doc&gt;<br clear="none"></br>
  xmlns:a="http://example.com/xmlns/a"&gt;<br clear="none"></br>&lt;&lt;{http://example.com/xmlns/doc}p&gt; a:att="value"<br clear="none"></br>&lt;{http://example.com/xmlns/b}:att&gt;=&#8221;value&#8221;/&gt;<br clear="none"></br>&lt;/&lt;{http://example.com/xmlns/doc}doc&gt;&gt;<br clear="none"></br>&#160;^<br clear="none"></br>&#160;+---- here is the missing slash<br clear="none"></br><br clear="none"></br>
Cheers, and keep going</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 10 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0010'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0010</id>
<published>2004-11-12T07:07:53Z</published>
<updated>2004-11-12T07:07:53Z</updated>
<author>
  <name>Norman Walsh</name>
  <foaf:mbox_sha1sum>9f5c771a25733700b2f96af4f8e6f35c9b0ad327</foaf:mbox_sha1sum>
  <uri>http://norman.walsh.name/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>We don't need new built in entities for curly braces because they aren't recognized except immediately after "&lt;" (or perhaps "&amp;"). There's
nothing special about { this }.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 11 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0011'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0011</id>
<published>2004-11-12T10:54:22Z</published>
<updated>2004-11-12T10:54:22Z</updated>
<author>
  <name>Rick Jelliffe</name>
  <foaf:mbox_sha1sum>0cc3ec1f1dc800b39a07fc38ac61606c24e738c3</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Good Luck getting rid of Maths entities!
  
</p><p>When people are writing XPaths etc, they will now need to know
which part is a Qname and do something extra? Sounds complicated.

</p><p>And wouldn't it mean that a language with a Qname could never
be an XML Schemas simple type, because it has structure?

</p><p>Everyone also would have to abandon any idea that attributes are
always simple types too. This seems an enormous change, in practice.
Surely the point of having a layered system of specifications is
to allow one layer to change without requiring change in all the
other layers?   

</p><p>And would it mean that every existing XML language that uses
Qnames somewhere in data values would have to be redefined?

</p><p>So I wouldn't characterize something that requires a change
to the XML Infoset, the PSVI, XML itself, XML Schemas type system and components and syntax, XQuery, XSLT1, XSLT2, etc, as well as changes to many other languages and systems as being minimal.  

</p><p>A goal of XML 2.0 should be that one can replace a current XML
parser that generates SAX with an XML 2.0 parser and also generate SAX. 
That is layering. Everything hinges on building in the Maths and standard entity references into the basic language. Then you can get rid of DOCTYPE declarations. Without that first step, no progress can happen. The people who have trouble with Qnames are a tiny minority: leave that for XML 3.0 please! 

</p><p>May I recommend Schematron's way again?  
See http://lists.w3.org/Archives/Public/www-tag/2002Jun/0183.html

</p><p>By the way, XML 1.1 cannot be a failure unless it has no eventual uptake from the people who need its facilities. Have the Ethopians etc. complained? If the goal of XML 1.1 was to attract people from XML 1.0, then it would have addressed more popular issues. In fact, XML 1.1 was designed to prevent a potential handicap for some underdeveloped countries more than meet a current worldwide demand for Unicode 4. 

Cheers
Rick</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 12 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0012'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0012</id>
<published>2004-11-12T14:34:04Z</published>
<updated>2004-11-12T14:34:04Z</updated>
<author>
  <name>Norman Walsh</name>
  <foaf:mbox_sha1sum>9f5c771a25733700b2f96af4f8e6f35c9b0ad327</foaf:mbox_sha1sum>
  <uri>http://norman.walsh.name/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>For the record: I am not trying to remove character entities out of some perverse desire to make life harder for the people who need them :-)</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 13 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0013'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0013</id>
<published>2004-11-12T14:46:36Z</published>
<updated>2004-11-12T14:46:36Z</updated>
<author>
  <name>Damian Cugley</name>
  <foaf:mbox_sha1sum>27e4995a587fe538824fb0d76b93baeb6694d2a1</foaf:mbox_sha1sum>
  <uri>http://www.alleged.org.uk/pdc/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>
While we are at it, can we please remove 
<code>NOTATION</code>
from the XML syntax...?
</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 14 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0014'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0014</id>
<published>2004-11-18T09:09:56Z</published>
<updated>2004-11-18T09:09:56Z</updated>
<author>
  <name>Michael Smith</name>
  <foaf:mbox_sha1sum>de00bc9f2bd2c5e4a44c5519775071c826af0968</foaf:mbox_sha1sum>
  <uri>http://sideshowbarker.net</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Is there any reason why the <code>:p:localname</code> syntax couldn't be used
to reference entities that contained text and element content? I
mean, not just for referencing single characters?</p>

<p>(I realize of course that some standard format would need to be
used for declarations that associate the names with content, and
processing apps would need to know how to parse it.)</p>

<p>Anyway, I don't personally care so much about the problem
of how to use ISO named characters in DTD-free doc instances --
because I think there already some great authoring tools, like
your "XML Unicode" package, that obviate the need for it.</p>

<p>But I would really really like to have a DTD-free way to declare and
reference external text/element content -- regardless of what delimiters
it may use (that is, whether it's angle brackets as in your
proposal or the "looks more like classic SGML entity refs" style
somebody else suggested in a comment.)</p>

<p>And as far as the problem that somebody mentioned of how to handle
getting stuff from the URI locations if you're not connected to
the Net -- that's already solved: Have local copies and make your
tools use a URI resolver to remap the URIs to local system paths.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 15 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0015'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0015</id>
<published>2004-11-22T21:14:47Z</published>
<updated>2004-11-22T21:14:47Z</updated>
<author>
  <name>Dethe Elza</name>
  <foaf:mbox_sha1sum>cf47222dfae798c50e9fbcb0e8bc014fe2f6ecab</foaf:mbox_sha1sum>
  <uri>http://blastradius.com/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I thought Tim Bray had an elegant solution to this by moving entity processing out of the XML processing and into the encoding with his UTF-8+names proposal.</p>

<p>http://www.tbray.org/ongoing/When/200x/2003/10/17/UTF8-plus</p>

<p>And I second the removal of Notations, though I think that without DTDs they drop out anyway.</p>

--Dethe</div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 16 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0016'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0016</id>
<published>2004-12-03T18:25:34Z</published>
<updated>2004-12-03T18:25:34Z</updated>
<author>
  <name>Michael Kay</name>
  <foaf:mbox_sha1sum>da611802062c7d20fdb81df38e52931ddfc236ce</foaf:mbox_sha1sum>
  <uri>http://www.saxonica.com/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>A good article. Lots of detailed debate ahead though.</p>

<p>A couple of warts-on-a-wart on the QNames-in-content problem:</p>

<p>(a) prefixes are used in content independently of QNames, e.g. XPath uses prefix:* and XSLT has attributes containing a list of prefixes</p>

<p>(b) if QNames-in-content are to be understood at the parser level then you need to be able to distinguish whether absent prefix means null namespace (as in XSLT) or absent prefix means default namespace (as in XML Schema).</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 17 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0017'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0017</id>
<published>2004-12-03T18:55:06Z</published>
<updated>2004-12-03T18:55:06Z</updated>
<author>
  <name>Mary Holstege</name>
  <foaf:mbox_sha1sum>927721760edab5555b19f9567df96e2722c8ebc7</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Great article, but I think you are still not addressing what I find
to be one of the chief pain-points of namespaces in XML 1.x: they look
like attributes, they quack like attributes, some software thinks they 
are attributes, and some doesn't, they look like part of the content but they aren't so you get this weird effect of them applying to their own start tag, which means you have to do arbitrary buffering just to dispatch a start tag, and its a messy swamp all the way around.
</p>
<p>
So, first up against the wall when the revolution comes, for me, is overloading the attribute syntax for namespace declarations. I want ns decls to also be first class syntactic objects, and I want their scoping to be manifest in that syntax.
</p>
<p>
And then I consider seriously the question of namespaces and the default namespace and non-namespaces vis-a-vis attributes.
</p>
<p>
World peace to follow as an exercise for the reader.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 18 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0018'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0018</id>
<published>2005-03-13T17:01:49Z</published>
<updated>2005-03-13T17:01:49Z</updated>
<author>
  <name>Jan Egil Kristiansen</name>
  <foaf:mbox_sha1sum>bb5366e339ec35e392f1c20f275e996063b68a93</foaf:mbox_sha1sum>
  <uri>http://styrheim.weblogg.no/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>
			Do you suggest a common URI for the NULL namespace, wherever it is used?
		</p>
		<p>
			I read the NULL namespace like a database <code>NULL</code>: That we don't know if
			the element has any semantics, and we don't know what the semantics are, if they exist.
		</p>
		<p>
			The implication  of a URI for the NULL namespace, is that my 
			<code>&lt;foo/&gt;</code>and your <code>&lt;foo/&gt;</code>
			carry the same meaning, I don't think that's what we want from a NULL namespace?
		</p>
		<p>
			Or should the URI of the NULL namespace be the URI of the document where the NULL namespace is used?
			E.g., if I use a <code>Team</code> element with NULL namespace in 
			<a rel='nofollow' href="http://heima.olivant.fo/~styrheim/gallery/stadium/stadium.rdf">http://heima.olivant.fo/~styrheim/gallery/stadium/stadium.rdf</a>,
			then you could use the same element un your document, not with the NULL namespace, but with namepace 
			<code>http://heima.olivant.fo/~styrheim/gallery/stadium/stadium.rdf#</code> ?
		</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 19 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0019'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0019</id>
<published>2005-12-20T11:12:58Z</published>
<updated>2005-12-20T11:12:58Z</updated>
<author>
  <name>Rameshwari</name>
  <foaf:mbox_sha1sum>71db682625867c03b1707ed978950c5718ea988d</foaf:mbox_sha1sum>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>Hi
  I want to know whether there is any difference in XML 1.0 &amp; 2.0 coding stucture. When i am running an XML code with version changed to 2.0 i am getting an error in internet Explorer. Can you guide me how to run an Xml versin 2.0 example and also i want to know which browser supports XML 2.0 language
</p><p>
Regards</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 20 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0020'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0020</id>
<published>2005-12-22T18:22:06Z</published>
<updated>2005-12-22T18:22:06Z</updated>
<author>
  <name>Michael Klishin</name>
  <foaf:mbox_sha1sum>c14568d743d54b38c7cfb065eb962ef5887876a2</foaf:mbox_sha1sum>
  <uri>http://www.novemberain.com/</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I'm not sure but it seems that there are no such browsers released yet. Right me if I'm wrong.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 21 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0021'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0021</id>
<published>2006-04-11T03:10:58Z</published>
<updated>2006-04-11T03:10:58Z</updated>
<author>
  <name>Alex Milowski</name>
  <foaf:mbox_sha1sum>a40d76d450c2f318ed0b7c6b6d2c4c75cdb9035c</foaf:mbox_sha1sum>
  <uri>http://www.milowski.com</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>As someone who has published documents using MathML, I'd be
very happy to see named entity references for symbols go away.  That's why we have <a rel='nofollow' href="http://www.unicode.org">Unicode</a> and that is what I used.</p>

<p>The Unicode folks have worked very hard to continue to include more and more symbols for Mathematics and Science.  In the end, if you invent some symbol, you'd be better off with some special piece of markup that indicates it is a non-standard character rather than some character reference that isn't really true.</p>

<p>In the end, I don't the MathML folks are completely screwed as I'm one of them.  We've all just got a <a rel='nofollow' href="http://www.w3.org/TR/unicode-xml/">transition to make</a>--and we have XML 1.0 for backwards compatibility if we get stuck.</p>

<p>In the end, we need to push the use of unicode and add or change the specifications to meet all our needs.  A tall order, but the right direction.</p></div></content>
</entry>

<entry xmlns:foaf='http://xmlns.com/foaf/0.1/'>
<title>Comment 22 on /2004/11/10/xml20</title>
<link rel='alternate' type='text/html' href='http://norman.walsh.name/2004/11/10/xml20#comment0022'/>
<id>http://norman.walsh.name/2004/11/10/xml20#comment0022</id>
<published>2006-06-19T20:50:55Z</published>
<updated>2006-06-19T20:50:55Z</updated>
<author>
  <name>Henrik</name>
  <foaf:mbox_sha1sum>10c7946c245032933189b15055dd8bf250870416</foaf:mbox_sha1sum>
  <uri>www.fashioncontent.com</uri>
</author>
<content type='xhtml'><div xmlns="http://www.w3.org/1999/xhtml"><p>I think you need &amp;copy; etc if you wan't to support non unicode encodings, and those are likely to be in use for many years yet.
</p><p>
On the encoding of namespaced tags how about:
</p><p>
&lt;?xml version="2.0"?&gt;<br></br>
&lt;"http://example.com/xmlns/doc":doc&gt;<br></br>
  &lt;"http://example.com/xmlns/doc":p   
     "http://example.com/xmlns/a":att="value"
     "http://example.com/xmlns/b":att="value"/&gt; <br></br>
&lt;/"http://example.com/xmlns/doc":doc&gt;
</p><p>
To me that seems much easier to read, and it should be fairly easy to parse as well. I would remove the namespace from the end tag, as it's redundant information anyway.</p></div></content>
</entry>

</feed>
