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

Re: [ANNOUNCE] New MicroXML draft available

  • From: Stephen D Green <stephengreenubl@gmail.com>
  • To: John Cowan <cowan@mercury.ccil.org>
  • Date: Wed, 13 Jul 2011 09:30:22 +0100

Re:  [ANNOUNCE] New MicroXML draft available
Doesn't the 'rub' lie in the 'need' for prefixes for attributes, though?
 
If you want to allow attributes with namespace prefixes in MicroXML, won't
that mean the complexity of namespaces sneaks back in, e.g. then having
to provide an XML-compatible way to bind the prefix to its namespace (with
complexity over where the binding declaration can be made - at head of
document and/or on the element, etc)? Or would it be that the prefix, though
allowed in the attribute name, is just treated as a special part of the name
without any explicit binding to a namespace?
----
Stephen D Green



On 12 July 2011 23:40, John Cowan <cowan@mercury.ccil.org> wrote:
Peter Flynn scripsit:

> Would adding the colon to nameChar to enable that reservation be too
> much of a temptation to people to start using element type names
> containing namespace-like prefixes, even though they would just be
> opaque strings as far as MicroXML is concerned?

At the moment, element names like foo:bar are not allowed in MicroXML,
which is what I was trying to express.  The only way to give an element
a namespace is using the xmlns attribute.  Attributes are allowed to
have prefixes and are bound with xmlns:foo attributes, as in XML.

In any case, the work proposed for xml:* elements is now being done by
xml-* PIs, and MicroXML accommodates them just fine.

--
John Cowan  cowan@ccil.org   http://www.ccil.org/~cowan
O beautiful for patriot's dream that sees beyond the years
Thine alabaster cities gleam undimmed by human tears!
America! America!  God mend thine every flaw,
Confirm thy soul in self-control, thy liberty in law!
       --one of the verses not usually taught in U.S. schools

_______________________________________________________________________

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.