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

Re: repercussions


vocabulary repercussions
On Fri, 2003-12-19 at 18:29, Tim Bray wrote:
> On Dec 19, 2003, at 8:12 AM, Simon St.Laurent wrote:
> 
> > He also points to a nice analogy from Mark Nottingham:
> >
> > http://www.mnot.net/blog/2003/12/06/qnames_are_evil
> >
> > It's good to confirm that issues derided as mere aesthetic blotches are
> > capable of causing real problems for sophisticated tools - and users.
> 
> It is now crystal-clear that allowing qnames to escape from element & 
> attribute names into content was a terrible mistake that we're now 
> stuck with forever.  I struggled against this idea but lost.  -Tim

We can still try to avoid that they spread out into new vocabularies.

I have done my best to limit their impact within RELAX NG and I think we
should continue to bark each time they are considered in a new
vocabulary.

The last I came on was in "new syntaxes for RDF"

http://www.ilrt.bris.ac.uk/discovery/2003/11/new-syntaxes-rdf/paper.html

That includes in its XML syntax requirements: "Be a ``modern'' XML
syntax - such as using XML QNames in attribute values".

Maybe we should also be clear about what's wrong about using QNames.

For me, it's not that much the use a prefixes which is wrong but the
fact that they rely on a definition which is part of the markup. 

In other words, I think that this is wrong:

<foo xmlns:bar="http://example.com/bar">bar:baz</foo>

But if an application wants to allow things such as:

<foo prfx="bar http://example.com/bar">bar:baz</foo>

I don't see any reason to object. That may not be optimal, but that
doesn't violate any hard rule.

Eric
-- 
Curious about Relax NG? Read my upcoming book online.
                                   http://books.xmlschemata.org/relaxng/
Upcoming XML schema languages tutorial:
 - Santa Clara  -half day- (15/03/2004)        http://masl.to/?J24916E96
------------------------------------------------------------------------
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.