[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] [ANNOUNCE] New MicroXML draft available
- From: "Pete Cordell" <petexmldev@codalogic.com>
- To: "John Cowan" <cowan@mercury.ccil.org>,"Stephen D Green" <stephengreenubl@gmail.com>
- Date: Thu, 14 Jul 2011 18:04:38 +0100
My feeling is at the moment we are paying the full namespace tax, but just
reducing the benefit.
I just re-read James' original proposal
(http://blog.jclark.com/2010/12/microxml.html to save others like me trying
to remember where it is) and I think he is saying that there would be a
registry for things like the xlink namespace prefix so that xlink:href could
be used without a namespace declaration. It's then up to your application
whether you recognise these predefined names, and their just opaque names to
the XML parser. I prefer this idea.
xsi and xsd (and maybe xs as an alias of xsd) could be registered there
also.
Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using C++ XML
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info
----- Original Message -----
From: "John Cowan" <cowan@mercury.ccil.org>
To: "Stephen D Green" <stephengreenubl@gmail.com>
Cc: "Peter Flynn" <peter@silmaril.ie>; <xml-dev@lists.xml.org>
Sent: Thursday, July 14, 2011 4:50 PM
Subject: Re: [xml-dev] [ANNOUNCE] New MicroXML draft available
>
> Stephen D Green scripsit:
>
>> Looking back to the seminal blog/spec ('blec'?!) from James Clark and
>> the comments below it, it looks from your comment there John that the
>> main benefit from adding general prefixed attributes (not just xml:*)
>> to MicroXML is to be able to use xsi:type
>>
>> <cost xsi:type="xsd:float">29.95</cost>
>
> Well, xsi:type leads to xsi:nil, and there are other examples about. To
> do HTML5 polyglot (one of James's explicit intentions), you need SVG,
> and to do SVG you need xlink:href and friends.
>
> I don't expect namespaced attributes to be at all common, and I'd
> leave them out of any MicroXML tutorial, but really they aren't that
> complicated: only 318 words of the 5284 words in the current MicroXML
> draft, or 6%, are devoted to namespaced attributes, and removing them
> from MicroLark would save maybe ten lines of code.
>
> --
> You annoy me, Rattray! You disgust me! John Cowan
> You irritate me unspeakably! Thank Heaven, cowan@ccil.org
> I am a man of equable temper, or I should http://www.ccil.org/~cowan
> scarcely be able to contain myself before
> your mocking visage. --Stalky imitating Macrea
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]