[Home] [By Thread] [By Date] [Recent Entries]

  • From: James Clark <jjc@j...>
  • To: Andrew Welch <andrew.j.welch@g...>
  • Date: Mon, 13 Dec 2010 16:42:09 +0700

On Mon, Dec 13, 2010 at 4:33 PM, Andrew Welch <andrew.j.welch@g...> wrote:
On 13 December 2010 09:01, James Clark <jjc@j...> wrote:
> I wrote a post describing a fairly minimal subset of XML:
>    http://blog.jclark.com/2010/12/microxml.html

Looks great - apart from the xmlns requirement if prefixes are used...
doesn't that make it no longer a subset?

It's designed to be a subset of XML 1.0 but not of XML 1.0 + XML Namespaces. However, it does allow you to make your documents be namespace well-formed if you want.  This is a tough problem: full XML Namespaces seems like too much complexity, so I've tried to find a compromise.


b) use an underscore or dot, eg <mycomp.foo>


You could just disallow colons in element and attribute names, but then you lose the ability to work with XML vocabularies that require the use of the non-default namespace (eg xlink:*, xml:*).

James

 

  • Follow-Ups:
  • References:

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member