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

Re: Defining non-WXS datatypes


Re:  Defining non-WXS datatypes
On Thu, 2003-07-31 at 15:12, Norman Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> / Jeni Tennison <jeni@j...> was heard to say:
> | on the context in which it's going to be used. Perhaps a new datatype
> | library can define QNames in a different way, one that includes a
> | normalized version that's a legal representation (e.g. {uri}name).
> 
> The problem with a lexical form for QNames is that you want them to be
> recognized in content, which means you need to start them with a
> markup character, which is a can of worms no matter how you look at
> it.

I agree that this looks like a terrible hack...

Maybe a naive question, but does a datatype library has to support
QNames?

Qnames are breaking the independence between the markup and the content.

Relax NG has a pretty clean separation between the validation of the
structure and the validation of the content (one is almost independent
from the other) and had to make an exception to this principle just to
support QNames.

Is this really worth the price?

I have always thought QNames in values were a very bad practise and it
seems to be a bad design decision to break a clean architecture only to
support a bad practise...

My 0.02 Euros

Eric
-- 
If you have a XML document, you have its schema.
                                                  http://examplotron.org
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


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.