W3C home > Mailing lists > Public > xml-names-editor@w3.org > January 2001

Namespace Constraint: Prefix Declared

From: Michael McCaleb <mccaleb@eeel.nist.gov>
Date: Thu, 4 Jan 2001 09:54:48 -0500
Message-Id: <v02130502b67a3edb0072@[129.6.185.17]>
To: xml-names-editor@w3.org
Dear XML-names editor,

Below is a comment on the Namespaces in XML (14-January-1999 Edition). I
hope this is useful.


Sincerely,

Mike McCaleb

-------------------------------------------------------


Problem 1:

The "Namespace Constraint: Prefix Declared" in Section 4 states (with
double "an" corrected as per errata):

  The namespace prefix, unless it is xml or xmlns, must have been
  declared in a namespace declaration attribute in either the start-tag
  of the element where the prefix is used or in an ancestor element
  (i.e. an element in whose content the prefixed markup occurs).

However, assuming namespace declaration attributes may occur within
empty-element tags, this statement is in error.


Problem 2:

In regard to transitional expressions, "The Gregg Reference Manual" (Sixth
Edition) states:

  "Use a comma after the transition when it occurs at the start of the
   second clause... However, no comma is needed after hence, then, thus,
   so, and yet unless a pause is wanted at that point."

However, in the sentence above the transitional expression "i.e." is not
followed by a comma.




Proposed Solution to Problem 1 and Problem 2:

Change:

  The namespace prefix, unless it is xml or xmlns, must have been
  declared in a namespace declaration attribute in either the start-tag
  of the element where the prefix is used or in an ancestor element
  (i.e. an element in whose content the prefixed markup occurs).

to

  The namespace prefix, unless it is xml or xmlns, must have been
  declared in a namespace declaration attribute in the start-tag or
  empty-element tag of the element where the prefix is used, or in the
  start-tag of an ancestor element (i.e., an element in whose content
  the prefixed markup occurs).
Received on Thursday, 4 January 2001 09:52:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:48 UTC