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

Re: Are namespaces actually crypto-entities orcrypto-links? (w

  • From: Marcus Reichardt <u123724@gmail.com>
  • To: "Liam R. E. Quin" <liam@fromoldbooks.org>
  • Date: Mon, 26 Jul 2021 13:34:07 +0200

Re:  Are namespaces actually crypto-entities orcrypto-links? (w
Not familiar with your proposal, do you mind sharing a link and the
reaction you described? Admittedly, I personally can't see the point
of namespaces that are automatically placed. AFAICS, they're
equivalent to opaque "xmlns:svg" and "xmlns:mathml" attributes
defaulted to a #FIXED declared value I guess, as in

    <!ATTLIST (svg|g|...) xmlns:svg CDATA #FIXED "http://www.w3.org/2000/svg">

(assuming SGML and naming rules allowing the colon char as NAMECHAR)
but for what purpose when HTML5 doesn't do namespaces anyway, or only
to the extent necessary to support legacy apps such as in DOM
getElementByTagNameNS(), getAttributeNS() methods, or in the context
of legacy XLink attributes?

From <https://html.spec.whatwg.org/multipage/syntax.html#elements-2>:

> The HTML syntax does not support namespace declarations, even in foreign elements.
>
> For instance, consider the following HTML fragment:
>
> <p>
> <svg>
>  <metadata>
>  <!-- this is invalid -->
>   <cdr:license xmlns:cdr="https://www.example.com/cdr/metadata" name="MIT"/>
>  </metadata>
> </svg>
> </p>
>

> The architectural forms approach of mapping terms in an SGML
> vocabulary to some other vocabulary, used in both Author/Editor and
> SoftQuad Panorama, was much better than the Xlink-style nonsense of
> foisting fixed namespaced names on people - but that argument got
> nowhere and went round in circles trying to get nowhere, unfortunately.

That was kindof the point I was trying to make elsewhere ;)

Only that I think a richer mapping at least involving specific target
attributes rather than mere renaming of elements and attributes would
typically be more useful IMO.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.