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

RE: RFP: Namespace URI for HTML

  • From: Marc.McDonald@D...
  • To: xml-dev@i..., tbray@t...
  • Date: Thu, 9 Sep 1999 17:49:22 -0700

uri html


	Tim Bray Wrote:

> At 01:24 AM 9/10/99 +0200, Sebastian Schnitzenbaumer wrote:
> >HTML is a damn useful vocabulary after all. Designing a completely 
> >new XML language is often the only way. But sometimes, a new 
> >application is rather a mixture of the features that HTML (or a 
> >subset of HTML) already provides together with entirely new 
> >features. In this case, one would re-use a subset of HTML in a new 
> >XML language, forming a new XHTML family member. 
> 
> Exactly.  I suspect that 100% of the readers of this list agree 100%
> with this contention.  In fact, this is already happening - people
> are stealing chunks of HTML tags in other XML languages.  Good design, 
> IMHO.
> 
> But, if I want, in my own XML language, to use an HTML table here and
> an HTML hyperlink there, it seems to me the most natural thing in
> the world to do this:
> 
> <myRootElement xmlns:html="the-namespace-URI-for-HTML">
>   <myTag> ...
>   <myOtherTag> ...
>   <html:a href="adsafa;dfs">sfasafsdj</html:a>
>   <yetAnotherTagOfMine> ...
>   <html:table>
>    <html:tr>...</html:tr></html:table>
>   </myRootElement>
> 
> why on earth would I want different namespaces for all these different
> HTML modules?  There is no possibility of collisions since they're
> all from HTML.  -Tim
> 
	And if the elements 'a', 'table' and 'tr' were not in my own XML
language why would I need to use a namespace at all? If there's no ambiguity
there is no need to use a namespace.


> Marc B. McDonald
> Principal Software Scientist
> 
> Design Intelligence, Inc.
> 1111 Third Avenue, Suite 1500
> Seattle, WA  98101
> marc.mcdonald@d...
> Ph: 206.343-7797
> Fax: 206.343.7750
> 
> http://www.design-intelligence.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/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



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.