<feed xmlns="http://www.w3.org/2005/Atom" xmlns:foaf="http://xmlns.com/foaf/0.1/"><title>norman.walsh.name: Comments on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20"/><id>http://norman.walsh.name/2008/02/20/xml20/comments.atom</id><updated>2012-02-13T06:11:50.372712Z</updated><entry><title>Comment 1 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0001"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0001</id><published>2008-02-20T16:46:44Z</published><updated>2008-02-20T16:46:44Z</updated><author><name>Steven</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>9. XML 2.0 shall do away with insignificant whitespace (in content). Pretty-printing by putting the insignificant whitespace inside the tags and having all element content whitespace be significant would be nicer than having to rely on dtd or xml:space.
</p>
    <p>
Maybe pushing it too far? Or is this just something that most people don't care about?</p>
  </div></content></entry><entry><title>Comment 2 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0002"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0002</id><published>2008-02-20T18:35:37Z</published><updated>2008-02-20T18:35:37Z</updated><author><name>Mark</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>1, 2, 3, 6, 7, 9 : yes
</p>
    <p>
4, 5, 8: maybe
</p>
    <p>
7: hmm, this would be considerable barrier to adoption, especially if mixing of text and qnames is allowed in the attributes</p>
  </div></content></entry><entry><title>Comment 3 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0003"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0003</id><published>2008-02-20T19:06:04Z</published><updated>2008-02-20T19:06:04Z</updated><author><name>dret</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Doesn't (3) conflict with (1)?
</p>
    <p>
DTDs should definitely be evicted from XML.
</p>
    <p>
XML should embrace the Infoset, it should be a syntax for trees rather than a syntax that implicitly happens to only allow trees. (This would make it much less painful to explain to people that in reality 95% of the XML technologies out there are in fact are Infoset technologies. IPath. ISLT. IQuery. SAI. AJAI.)
</p>
    <p>
maybe add XML Base and XInclude, which could be optional, but at least would deserve better support than they have today.</p>
  </div></content></entry><entry><title>Comment 4 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0004"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0004</id><published>2008-02-20T19:22:26Z</published><updated>2008-02-20T19:22:26Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Good catch, I guess 3 does conflict with 1, just a bit. I'm willing to reject both DTDs and documents that have names with colons in them that aren't conformant to Namespaces in XML.</p>
  </div></content></entry><entry><title>Comment 5 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0005"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0005</id><published>2008-02-20T19:50:57Z</published><updated>2008-02-20T19:50:57Z</updated><author><name>Paul Brown</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Unfortunately, I think that XML 1.0 has already done its damage, so I'm not sure what purpose XML 2.0 would serve.  Or, to put it metaphorically, after having drunk a bottle of XML 1.0 and awakened groggy in a dumpster with a few days of beard growth and no wallet, I'm not that eager to see how XML 2.0 tastes...
</p>
    <p>
If anything is to be done other than to move on, less may be more, e.g., going back to the namespaces spec and removing any and all ambiguities.</p>
  </div></content></entry><entry><title>Comment 6 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0006"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0006</id><published>2008-02-20T22:25:11Z</published><updated>2008-02-20T22:25:11Z</updated><author><name>John Cowan</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>See <a rel="nofollow" href="http://www.textuality.com/xml/xmlSW.html"> XML Skunk Works</a> for a good base document for this effort.  It is XML - DTD + XML Base + XML Infoset + XML Namespaces, and only 41 pages long (vs. 47 pages for XML 1.0).  Removing the 4th edition naming rules would probably save another page or two.  So that's all good.  We could also yank attribute normalization, which Tim has admitted was a mistake.  Adding prefix undeclaration and CURIEs would be cheap.

</p>
    <p>What else would we want?  I'd like to see elements within start-tags, where &lt;a href="foo"&gt; is just shorthand for &lt;a &lt;href&gt;foo&lt;/href&gt;&gt;, where the href sub-element can contain perfectly general XML.  That would require some extensions to SAX, to be sure.</p>
  </div></content></entry><entry><title>Comment 7 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0007"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0007</id><published>2008-02-20T22:36:11Z</published><updated>2008-02-20T22:36:11Z</updated><author><name>Norman Walsh</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Yes, once you've opened up to the idea that attributes have structured values, then you can go the whole way and let them contain full-blown XML. The logical thing to do is treat elements as if they have some number of XML-content children, exactly one of which is anonymous.
</p>
    <p>
Credit where it's due: James explained that to me in a bar in Bangkok in '99. Blew my mind at the time.
</p>
    <p>
Still, I think I'd file that as one of the seventy-three whiz-bang features we don't do. In XML 2.0, anyway.</p>
  </div></content></entry><entry><title>Comment 8 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0008"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0008</id><published>2008-02-21T07:51:43Z</published><updated>2008-02-21T07:51:43Z</updated><author><name>Terris Linenbach</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>7, 7, 7 !
</p>
    <p>
Seven!!
</p>
    <p>
Jackpot?
</p>
    <p>
No, Seriously. 7.</p>
  </div></content></entry><entry><title>Comment 9 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0009"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0009</id><published>2008-02-21T10:05:04Z</published><updated>2008-02-21T10:05:04Z</updated><author><name>Steven</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>
      <i>"Yes, once you've opened up to the idea that attributes have structured values, then you can go the whole way and let them contain full-blown XML."</i>
</p>
    <p>
Hmmm... or json-like...
</p>
    <p>
<code>
&lt;foo list=['a', 'b', 'c'] num=5, str="5"&gt;...&lt;/foo&gt;
</code>
</p>
    <p>
etc...
Seriously, I think this is stretching it. It would be nice for simple cases maybe, but excessive nesting, and certainly full-blown XML kind of defeats the purpose of having attributes in the first place.
</p>
    <p>
after previewing this comment: ouch, this does look tempting (but then again: don't a lot of bad ideas? ;-) But I'd go for this instead of full-blown XML if I had to choose)</p>
  </div></content></entry><entry><title>Comment 10 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0010"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0010</id><published>2008-02-21T13:33:15Z</published><updated>2008-02-21T13:33:15Z</updated><author><name>Florent Georges</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Hi Norm.
</p>
    <p>
  Just to add to the discussion, I am surprised about 5).  A QName is the name of an element or attribute.  One can use it for other purposes, but I don't really see the point to allow a QName to start with a digit, but to still avoid element names to do so.
</p>
    <p>
  What about allowing prefix:* as a QName?  And *:local?  XPath uses QNames a lot, as well as other things, even things that look and smell like QName, but those are not.
</p>
    <p>
  Maybe those usages that are often used might be defined in a common dictionary, but I wonder if this is really the point of the XML recommendation?
</p>
    <p>
-- 
Florent Georges</p>
  </div></content></entry><entry><title>Comment 11 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0011"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0011</id><published>2008-02-21T15:35:25Z</published><updated>2008-02-21T15:35:25Z</updated><author><name>Bob DuCharme</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I always liked the idea that once an XML parser sees a document's first tag, it has a simple, unambiguous way to know when it's reached the end of the document, and 7 would do away with this. (Right?)
</p>
    <p>
I was also going to ask what you'd cut if you were going to add these features without increasing the length of the spec, but I'm glad to see that John Cowan already has some good ideas there. 
</p>
    <p>
Bob</p>
  </div></content></entry><entry><title>Comment 12 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0012"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0012</id><published>2008-02-21T16:52:10Z</published><updated>2008-02-21T16:52:10Z</updated><author><name>Ed Davies</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>4. URI + local name to get longer URI.  Fine, you do say "and we can argue about the precise mapping rules later" but wouldn't picking any mapping rules other than those of RDF (straight concatenation without extra '#'s or '/'s) cause more confusion than they're worth?</p>
  </div></content></entry><entry><title>Comment 13 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0013"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0013</id><published>2008-02-21T18:43:24Z</published><updated>2008-02-21T18:43:24Z</updated><author><name>Mark</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Blindness error:
</p>
    <p>
Please swap 6 and 7 in my above post (#2)
</p>
    <p>
7: maybe
</p>
    <p>
6: is complexity worth it?</p>
  </div></content></entry><entry><title>Comment 14 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0014"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0014</id><published>2008-02-21T23:56:26Z</published><updated>2008-02-21T23:56:26Z</updated><author><name>Steven</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Some thoughts on 4 and 6:
</p>
    <p>
- in the linked article (6), you use &lt;{uri}name&gt;. While I'm a fan of the James Clark notation and api's that let you use it (python elementtree), if you're having the fixed QName to URI mapping (4) anyway,  can't you do away with the special notation? (as you can just use the full URI now?)
</p>
    <p>
- if that is true, &lt;uri&gt; is very close to an unambiguous form not only for QNames, but for URI's in general (which is already a quite common notation, it's even in RFC2396 itself...). I think URI's ARE important enough to get special treatment... (although I'm generally against datatyping/binding in XML, contrary to what you might think from my previous comment). And if allowed for relative URI's, it would make xml:base much more useful...
</p>
    <p>
- there's something nagging me about your QName to URI mapping, CURIE's, namespace prefixes+localnames, relative URI's and xml:base, but I can't quite put my finger on it. It has to do with all coming down to absolute URI's, and that this should be used somehow. Maybe it's just throwing away xml:base and using prefix declarations as a more general/powerful mechanism everywhere, I don't know... Can you go as far as saying that QNames <b>ARE</b> URI's?</p>
  </div></content></entry><entry><title>Comment 15 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0015"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0015</id><published>2008-02-22T06:39:48Z</published><updated>2008-02-22T06:39:48Z</updated><author><name>Innovimax</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>XML 2.0 is like Olympic Games, it comes back every two to four years :)
</p>
    <p>
John : 6 pages is huge room in you Skunk ! 
* What about adding  xml:id ? 
* and what about a more pragmatic way to bing stylesheets (XSLT, XQuery, CSS, FO, etc.) and schemas (as DTD, XSD, RNG, RNC, Schematron, etc.)
</p>
    <p>
My two euro-cents</p>
  </div></content></entry><entry><title>Comment 16 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0016"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0016</id><published>2008-02-28T11:12:39Z</published><updated>2008-02-28T11:12:39Z</updated><author><name>David Carlisle</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>&lt;xml:entity name="nbsp" text=" "/&gt;
</p>
    <p>
You describe this as a solution for character references, but if people can do that, they will probably also do this
</p>
    <p>
&lt;xml:entity name="name" text="David Carlisle"/&gt;
</p>
    <p>
In which case hadn't you may as well let them do
</p>
    <p>
&lt;xml:entity name="name"&gt;&lt;name&gt;&lt;given&gt;David&lt;/given&gt; &lt;family&gt;carlisle&lt;/family&gt;&lt;/name&gt;&lt;/xml:entity&gt;
</p>
    <p>
That is, provide a (namespace aware) mechanism for all parsed entities not just character entities and document includes.</p>
  </div></content></entry><entry><title>Comment 17 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0017"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0017</id><published>2008-04-08T15:55:57Z</published><updated>2008-04-08T15:55:57Z</updated><author><name>Chris Lilley</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>Clarifying that 'namespaces in xml, 1.1' means "version 1.1 of namespaces", not "namespaces in xml 1.1" and thus, that spec can be used with xml 1.0, and thus, namespace undeclaration is already possible, might help. IMHO.</p>
  </div></content></entry><entry><title>Comment 18 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0018"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0018</id><published>2008-05-17T04:51:53Z</published><updated>2008-05-17T04:51:53Z</updated><author><name>Rob</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>I'm with you on #1-3.
</p>
    <p>
Not sure about #4 and #5. Why are you picking that syntax over something like &lt;http://docbook.org/ns/docbook::para&gt;
</p>
    <p>
As for #7, what if they created a compound XML document that consisted of multiple individual XML documents? Each individual root element would be considered a seperate document, but they could be contained in a single file?
</p>
    <p>
Re: #8, I don't understand what the advantage would be. Isn't this just a new syntax for entities?
</p>
    <p>
Re: structured attribute values... this looks like it could complicate things needlessly. I would hate to read a document with large amounts of XML in atrributes. If you need to stuff structure into attributes couldn't you use wiki-like or bbcode delimiters? Or the CSS-like notation of tyle elements? In fact this could be standardized and could be referenced from other parts of the XML document... but it would not be treated as ordinary XML.</p>
  </div></content></entry><entry><title>Comment 19 on /2008/02/20/xml20</title><link rel="alternate" type="text/html" href="http://norman.walsh.name/2008/02/20/xml20#comment0019"/><id>http://norman.walsh.name/2010/09/25/oauth#comment0019</id><published>2008-05-23T14:40:13Z</published><updated>2008-05-23T14:40:13Z</updated><author><name>Elliotte Rusty Harold</name><foaf:mbox_sha1sum>da39a3ee5e6b4b0d3255bfef95601890afd80709</foaf:mbox_sha1sum></author><content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
    <p>XML 1.0 is broken with respect to internationalization, but not at all seriously. I've never once seen an actual instance of a problem caused by XML's internationalization problems.
</p>
    <p>
There are far more serious issues in XML that could and perhaps should be resolved, mostly revolving around DTDs, the internal DTD subset, and entities. Namespaces and document fragments are also arguably broken.
</p>
    <p>
If one were to resolve these issues in a new version of the spec, then one might as well fix up the trivial internationalization problems too. However XML 1.1 proved that internationalization is not a problem worth fixing in isolation.</p>
  </div></content></entry></feed>

