Thomas J.S.: liste reservierter namespace-prefix?

Beitrag lesen

Hallo,

weiss jemand, ob es ein Seite gibt, die reservierte namespace-prefix auflistet, damit man verwechselungen umgehen kann. Also etwa kein xsl, xsd, usw verwendet.

Kann es eigentlich nicht wirklich geben, weil Namensräume nicht am Prefix sondern am URI gebunden sind.

<html:div xmlns:html="http://www.selfhtml.org"> ist was komplett andres als
<html:div xmlns:html="http://www.w3.org/1999/xhtml">

Deswegen sagt z.B. auch die XSLT -Spez.:

--------------
XSLT Namespace
[Definition: The XSLT namespace has the URI http://www.w3.org/1999/XSL/Transform. It is used to identify elements, attributes, and other names that have a special meaning defined in this specification.]
...
This specification uses a prefix of xsl:  for referring to elements in the XSLT namespace. However, XSLT stylesheets are free to use any prefix, provided that there is a namespace declaration that binds the prefix to the URI of the XSLT namespace.
--------------

Grüße
Thomas