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] QNames in attribute values
by Paul Prescod other posts by this author
Jan 30 2002 2:37AM messages near this date
Re: [xml-dev] QNames in attribute values | RE: [xml-dev] QNames in attribute values
Evan Lenz wrote:
>  
> ...
>  
>  <troll $NS="">
>  If SGML compatibility isn't a constraint for XML 2.0, perhaps it should use
>  something other than an attribute-like syntax. And they could be made global
>  instead of scoped to elements...
>  </troll>

I'll take a whack at that troll. The SGML-heads tried to make namespaces
global and (IIRC, use a syntax other than attributes). But here's Tim
Berners-Lee's opinion:

http://www.w3.org/DesignIssues/Extensible.html#Local

SGML compatibility had nothing to do with the scoped attribute syntax.
Also:

4.9) Why are special attributes used to declare XML namespaces?

I don't know the answer to this question, but the likely reason is that
they simplify the process of moving fragments of one document to another
document. An early draft of the XML namespaces recommendation proposed
using processing instructions to declare XML namespaces. While these
were simple to read and process, they weren't easy to move to other
documents. Attributes, on the other hand, are intimately attached to the
elements being moved.

http://www.rpbourret.com/xml/NamespacesFAQ.htm

 Paul Prescod

-----------------------------------------------------------------
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:
Michael Brennan
Michael Kay
james anderson
Evan Lenz
Ronald Bourret
james anderson
Paul Prescod
Jonathan Borden
Jonathan Borden
Ronald Bourret
Paul Prescod
Paul Prescod
Paul Prescod
Michael Kay
james anderson
Paul Prescod
Simon St.Laurent
John Cowan

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved