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

Re: Re: URIs, concrete


img positioning

Greetings,

On Thu, 1 Aug 2002, Simon St.Laurent wrote:

> Norman Gray writes:
> > So it isn't quite headlined, and it may or may not be a design wart,
> > but there's no way you can say it's ambiguous or implicit.
>
> I'm not saying that the specification is ambiguous.  I'm saying that the
> ambiguous position in which it leaves attributes is wrong.

I see what you mean.  You talk later of `the list of things about
which developers must agree', and if you see, in some instance you
receive, a default namespace and an unprefixed attribute, then you
don't in practice know whether the entity which generated the instance
has read section 5.2 carefully enough, so it's ambiguous what they
_meant_, since there are two things they might have meant, with
unfortunately equal probability.  No problem.

Excluding unprefixed attributes from the default namespace is something
that the spec does carefully and explicitly -- it's clearly not an
accidental omission.  This suggests that the authors had some specific
case in mind, or a processing imperative.  There are no rationales
included in the text -- is anyone aware of a rationale floated at
the time?

Hmm, in the example (David's?)

  <html:img src="t.gif">

you can see a justification for deeming `src' to be in the html:
namespace, or in the default one, but you'd never guess that it would be
in no namespace.  I can imagine that there was a long argument about which
it should be, resolved in this case by choosing the oddest alternative.
If that's the case, it more-or-less blesses a heuristic such as Simon is
suggesting, as it's so evasive that it's tantamount to `implementation
defined' without actually using those words.

> The "so what?" emerges from the years of debate about what this
> specification's implications for document interchange are.  In theory,
> Namespaces in XML was supposed to make it easier to exchange information
> written using a more explicit namespacing approach.  In practice, it's
> merely added to the list of things about which developers must agree,
> something I thought XML was about reducing.  (Removing the SGML
> declaration and all that...)
>
> As for the heat, I think four years of continuous problems with
> Namespaces in XML being dismissed as non-problems is more than enough.
> At this point I think it's time to bang on the walls - polite discussion
> has gained us pretty much nothing.

Oh, I hope I wasn't airily dismissing things as non-problems.  I
fail to get the problems you'd mentioned (`developers get confused!';
`well they should RTFS!'), but I do get the point of `the list of
things about which developers must agree'.

Is it really too late to change this one sentence in section 5.2 to one
of the more natural alternatives?  There seems to be little opposition to
the suggestion that the sentence is defective.  Cases like the html:img
one above work because the processors for those cases are in practice
treating unprefixed-attribute behaviour as implementation defined,
so they wouldn't become any more broken if the spec were altered.

All the best,

Norman


-- 
---------------------------------------------------------------------------
Norman Gray                        http://www.astro.gla.ac.uk/users/norman/
Physics and Astronomy, University of Glasgow, UK     norman@a...


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.