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

Re: XHTML 2 Working Group won't be renewed?

  • From: Peter Hunsberger <peter.hunsberger@gmail.com>
  • To: Michael Kay <mike@saxonica.com>
  • Date: Fri, 10 Jul 2009 12:45:11 -0500

Re:  XHTML 2 Working Group won't be renewed?
On Fri, Jul 10, 2009 at 12:04 PM, Michael Kay<mike@saxonica.com> wrote:
> I think it would have been better not to have prefixes at all. They cause a
> lot of the complexity in the model. Declare all the namespaces, perhaps with
> document scope, and perhaps allowing the "document type" to define the set
> of namespaces implicitly; require each namespace to have a definition that
> defines all the local names present in the namespace; require any reference
> to a name that's present in more than one of the namespaces to be explicitly
> qualified with the namespace name. And then use shorter namespace names,
> along the lines of Java package names, so that writing the full name is
> typically 40 characters rather than 120.
>

Sounds good, except, how do you know what element names are possibly
in more than one namespace?  Even for static documents you could
potentially have 1000's of elements to check.  For dynamically created
documents you'll need some kind of pre-merge type phase.  If users end
up qualifying everything with the namespace name just in case their
data is merged with something else I don't think you've made anything
any better?  I guess a rule like children default to the name space of
the parent would help, but for long but shallow documents this still
could end up very verbose if people just take the safest way out?

-- 
Peter Hunsberger


[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.