Re: [xml-dev] Question about the sytax of namespace declarations
by Thomas B. Passin other posts by this author
Mar 1 2002 12:18AM messages near this date
[xml-dev] Question about the sytax of namespace declarations
|
Re: [xml-dev] Question about the sytax of namespace declarations
[Thomas B. Passin]
> [Jason Diamond]
> To: "Wayne Steele" <xmlmaster@[...].com>; <xml-dev@[...].org>
> > > Question:
> > >
> > > Is the below document "conforming" with regard to the XML-Namespaces
> rec?
> > >
> > > <root xmlns:a="" />
> >
> > Nope.
> >
> > http://www.w3.org/TR/REC-xml-names/#dt-prefix
> >
> Ironically, the paragraph Jason points to covers __non__-default
> namespaces, while the following paragraph, which does cover default
> namespaces, specifically says that an "empty" value is acceptable. So the
> answer to the question is "yes" after all.
>
Talk about misreading! I read it as <root xmlns=""/> even though it clearly
didn't say that. Sorry for the confusion.
Clearly the "not allowed" answer is what the Rec says.
Tom P
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>
Thread:
Wayne Steele
Thomas B. Passin
Thomas B. Passin
Tim Bray
Julian Reschke
James Clark
Jason Diamond
Daniel Veillard
Jason Diamond
|