W3C home > Mailing lists > Public > public-html@w3.org > November 2009

Re: Another possible compromise re namespaces in HTML

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 25 Nov 2009 14:53:23 GMT
Message-Id: <200911251453.nAPErNAI019080@edinburgh.nag.co.uk>
To: tai@g5n.co.uk
Cc: public-html@w3.org

> 1. In the HTML serialisation, xmlns:* attributes may be used to declare
> any namespaces. The default xmlns attribute cannot be bound to anything
> other than the HTML namespace.
> 2. The namespace URIs which HTML supports "out of the box" (e.g. SVG,
> XML, HTML itself) do not have to be declared, and may not be declared
> using any prefix other than their standard prefix as specified by the
> HTML syntax spec. 

The html5 parser special cases unprefixed svg and mathml elements
(only) so unless I misunderstand what you meant above then these two
items are contradictory. There are no "standard prefixes" for svg and
mathml, if you want to make an xhtml document work also in the html
serialisation then redefining the default namespace is the only option
supported by the curent draft.


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
Received on Wednesday, 25 November 2009 14:53:56 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:03 UTC