[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|