W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > July 2008

p:namespaces proposals

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 21 Jul 2008 18:15:58 -0700
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2ljzulnw1.fsf@nwalsh.com>
Currently, we say it's a static error (err:XS0051) if the value of the
exclude-prefixes attribute is wrong. I've changed that into a dynamic
error because you can't check the prefixes until runtime.

We also say:

  It is a dynamic error (err:XD0013) if the specified
  namespace bindings are inconsistent; that is, if the same prefix is
  bound to two different namespace names.

Do we really want that? Does it make more sense to construct the
mapping in the order in which the p:namespace elements are specified
and just say that if the same prefix is defined multiple times, the
last binding wins?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Great men too make mistakes, and many
http://nwalsh.com/            | among them do it so often that one is
                              | almost tempted to call them little
                              | men.-- Lichtenberg

Received on Tuesday, 22 July 2008 07:12:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 July 2008 07:12:11 GMT