Next in thread → Next in month →

Re: [xml-dev] Question about the sytax of namespace declarations

From
Thomas B. Passin <>
To
Date
2002-03-01T00:18:36Z
ID
<001201c1c0b6$a19434b0$0bf13044@tbp>
Thread
Re: [xml-dev] Question about the sytax of namespace declarations
[Thomas B. Passin]

> [Jason Diamond]
> To: "Wayne Steele" <>; <>
> > > 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
Next in thread → Next in month →