[
Lists Home |
Date Index |
Thread Index
]
> What do you mean by bogus error here?
>
> According to the namespaces spec
> (http://www.w3.org/TR/REC-xml-names/#ns-qualnames)
>
> *********************
> Namespace Constraint: Leading "XML"
> Prefixes beginning with the three-letter sequence x, m, l, in
> any case combination, are reserved for use by XML and
> XML-related specifications.
> *********************
>
The original namespaces REC is very vague (in this and many other
matters), but it is clarified in the errata [1]:
<quote>
The prefix xml is by definition bound to the namespace name
http://www.w3.org/XML/1998/namespace. It may, but need not, be declared,
and must not be bound to any other namespace name. No other prefix may
be bound to this namespace name.
</quote>
Incidentally, Crimson doesn't allow it either, while I've used at least
one schema tool (don't remember which) that incorrectly requires the XML
namespace to be declared explicitly if you include attributes such as
xml:space.
[1] http://www.w3.org/XML/xml-names-19990114-errata
|