[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [ANNOUNCE] New MicroXML draft available

  • From: "Pete Cordell" <petexmldev@codalogic.com>
  • To: "John Cowan" <cowan@mercury.ccil.org>,"Stephen D Green" <stephengreenubl@g...>
  • Date: Thu, 14 Jul 2011 18:04:38 +0100

Re:  [ANNOUNCE] New MicroXML draft available
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@l...>
Sent: Thursday, July 14, 2011 4:50 PM
Subject: Re:  [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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.