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

[Bug 2260] [xqueryx] namespace attributes

From: <bugzilla@wiggum.w3.org>
Date: Tue, 27 Sep 2005 09:39:29 +0000
To: public-qt-comments@w3.org
Message-Id: <E1EKBvt-0001Q8-5O@wiggum.w3.org>


------- Additional Comments From davidc@nag.co.uk  2005-09-27 09:39 -------
One further comment, even though this is closed

It may be best to make the restriction in the stylesheet generating an error
if the attribute name is xmlns _and no prefix_.

XSD schema can't restrict the content based on the non appearance of an
attribute. You probably do need to allow an attribute named fobar:xmlns
(ie xqx:prefix="foobar" and content equal to xmlns, as these are allowed even
though bad form, xmlns 1.1 says:

Though they are not themselves reserved, it is inadvisable to use prefixed names 
whose LocalPart begins with the letters x, m, l, in any case combination, as
these names would be reserved if used without a prefix.
Received on Tuesday, 27 September 2005 09:39:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:08 UTC