W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2005

[Bug 1271] [F&O] What if $paramQName has colon, but $paramURI is empty?

From: <bugzilla@wiggum.w3.org>
Date: Wed, 27 Apr 2005 20:07:03 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DQsoJ-00046r-IO@wiggum.w3.org>


jim.melton@acm.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|What if $paramQName has     |[F&O] What if $paramQName
                   |colon, but $paramURI is     |has colon, but $paramURI is
                   |empty?                      |empty?

------- Additional Comments From jim.melton@acm.org  2005-04-27 20:07 -------
The WG thinks that an error should be raised in this case. The part of the name
before the colon can't be a prefix, since we have no namespace URI to interpret
it with. The local name needs to conform to
http://www.w3.org/TR/REC-xml-names/#NT-NCName, so the local name doesn't contain
the colon either. So there's no useful way to interpret a name with a colon
unless there is a namespace URI to associate with it.

The resolution is to change fn:QName such that if first parameter is the
zero-length string or the empty sequence, then the second parameter can't have a
prefix in it.  If the second parameter does have a prefix, an error is raised. 

Please let us know if you agree with this resolution of your issue, by adding a
comment to the issue record and changing the Status of the issue to Closed. Or,
if you do not agree with this resolution, please add a comment explaining why.
If you wish to appeal the WG's decision to the Director, then also change the
Status of the record to Reopened. If you wish to record your dissent, but do not
wish to appeal the decision to the Director, then change the status of the
record to Closed. If we do not hear from you in the next two weeks, we will
assume you agree with the WG decision.
Received on Wednesday, 27 April 2005 20:07:06 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:23 UTC