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

Re: tricky XHTML 1.0 namespace question

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: XML-Dev Mailing list <xml-dev@i...>, www-html@w...
  • Date: Mon, 17 Jan 2000 13:41:16 -0500

xhtml 1.0 namespaces
At 06:18 PM 1/17/00 +0000, Henry S. Thompson wrote:
>One bug:  there are no 'global' attributes in the XHTML DTDs, so that
>should be [xhtml:a href="http://www.w3.org/"]online[/xhtml:a].

Okay, although 'class' is explicitly mentioned in the Namespace draft as
one possibility:

NS>XML 1.0 does not provide a built-in way to declare "global" 
NS>attributes; items such as the HTML CLASS attribute are global
NS>only in their prose description and their interpretation by HTML
applications.  

and I'd have to call the description of global attributes provided in the
Rec murky at best.  Perhaps this is something the Schemas work will improve
upon.  The infoset draft doesn't mention it at all.

>> While XHTML seems to assume that attributes with no prefix fall into the
>> namespace of their containing element throughout, I can't find this stated
>> explicitly.  (Perhaps they weren't aware that this has been a contentious
>> issue?)
>
>Why should they state it explicitly, when the Namespace REC explicitly
>says that is NOT the case?  

Because the manner in which the Namespace REC 'explicitly says that is NOT
the case' is not very clear,  to put it mildly, and because this issue is
questioned on a quarterly basis in depth on at least one of the many
mailing lists focused on XML.  Stating it in the XHTML REC would, among
other things, provide a clear example of how namespaces _should_ work in
addition to the often-shot-at namespaces REC. 

>The fact that people on this list have
>been confused about this does not mean the HTML WG is confused or is
>responsible for sorting out their confusion.  See my message to Dave
>about this [1] for a succinct statement of why this is a time-wasting
>red herring which IS perfectly clearly specified in the Namespace REC.

Given the enormous amount of time wasted on this 'red herring', I'd suggest
that this issue get some kind of _official_ clean-up, perhaps in its
currently brief errata. [2]  It would be nice for there to be less
developer confusion on this issue.

[1] - http://www.lists.ic.ac.uk/hypermail/xml-dev/xml-dev-Jan-2000/0319.html
[2] - http://www.w3.org/XML/xml-names-19990114-errata

Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
Building XML Applications
Inside XML DTDs: Scientific and Technical
Cookies / Sharing Bandwidth
http://www.simonstl.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.



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.