ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] DSDL: use cases: namespace declaration notation
by james anderson other posts by this author
Jun 14 2002 11:12AM messages near this date
Re: [xml-dev] DSDL: use cases: namespace declaration notation | Re: [xml-dev] DSDL: use cases: namespace declaration notation
Ronald Bourret wrote:
>  
>  > The notion of "not in any namespace" is bogus.
>  
>  Technically, it isn't. To quote from the namespaces spec:
>  
>  "If the URI reference in a default namespace declaration is empty, then
>  unprefixed elements in the scope of the declaration are not considered
>  to be in any namespace."
>  

Technically it is. This statement establishes a fiction which no other w3c specfication foll
ows and which no implementation
adheres to. Were they to, it would not be possible to compare such names. As such the notion
 is bogus. That it appeared in the
spec is one of the reasons it is "bogus". Otherwise it would just be wrong.

>  Again, that's technically an implementation detail. Nothing in the
>  namespaces spec requires it.
>  
>  > If there were not true, such names would be incommensuarable and
>  > validation would not be possible.
>  
>  I'm not sure what "incommensurable" means, but I don't follow why
>  validation is not possible.

Practically, were one to apply a name-comparison function to one of them, it would have to t
hrow an exception.

>                                                You simply have two sets of validation rules
>  -- one for validating names in namespaces and the other for validating
>  names not in namespaces. You can, of course, join these into a single
>  code line by using a "null" namespace for the latter but, as I said,
>  that's an implementation detail.

We disagree. How one models a set of comparable values which are collected into the set whic
h is identified with the null
namespace prefix may be an implementation detail. How one names the set, and whether one can
 bind the set to a prefix may be a
question of encoding rules and implementation, but that there must be such a set, and the th
e behaviour of that set differs in
no form from the other sets of names. This is a consequence of the properties of universal n
ames. I haven't read other parser's
code in serveral months, and the same applies to a range of w3c specs, but as of the last ti
me I did, nothing suggested an
abstract model for universal names which contradicted this. So long as two unprefixed qualif
ied names outside of the scope of a
default namespace declaration are intended to denote the same universal name, this remains t
rue.

So, the set is there, and the question arises, whether encoding rules and implementation mod
els which treat that set differently
are entailed by any of the relevant specifications. Again, as of last reading this was not t
he case. 

...

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:
John Cowan
Marcus Carr
Eric Bohlman
Marcus Carr
james anderson
james anderson
james anderson
Marcus Carr
Arjun Ray
Marcus Carr
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Deborah Aleyne Lapeyre
John Cowan
Thomas B. Passin
Ronald Bourret
Ronald Bourret
Michael Kay
Thomas B. Passin
james anderson
David Carlisle
james anderson
David Carlisle
james anderson
David Carlisle
james anderson
Michael Kay
james anderson
David Carlisle
Tim Bray
Ronald Bourret
Ronald Bourret
Ronald Bourret
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
John Cowan
james anderson
John Cowan
Rick Jelliffe
Arjun Ray
John Cowan
Rick Jelliffe
Rick Jelliffe
Dennis Sosnoski
John Cowan
Dennis Sosnoski
John Cowan
Dennis Sosnoski
Arjun Ray
G. Ken Holman
John Cowan
Arjun Ray
james anderson
Arjun Ray
John Cowan
Arjun Ray
Rick Jelliffe
John Cowan
Arjun Ray
John Cowan
John Cowan
james anderson
John Cowan
james anderson
james anderson
John Cowan
james anderson
james anderson
John Cowan
Ronald Bourret
Ronald Bourret
Jonathan Borden
Ronald Bourret
Michael Fuller
John Cowan
Bob Hutchison
james anderson
Thomas B. Passin
John Cowan
Ronald Bourret
John Cowan
Thomas B. Passin
Ronald Bourret
Ronald Bourret
james anderson
Norman Walsh
K. Ari Krupnikov
John Cowan
John Cowan
K. Ari Krupnikov
John Cowan
G. Ken Holman
Ronald Bourret
Rick Jelliffe
John Cowan
Marcus Carr
G. Ken Holman
John Cowan
Michael Fitzgerald
Paul Prescod
John Cowan
John Cowan

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved