[xml-dev] Re: [dsdl-comment] Re: DSDL: use cases: namespace declaration notation
by james anderson other posts by this author
Jun 14 2002 8:06AM messages near this date
[xml-dev] Re: DSDL part 9: new namespace declarations not needed as part of DTD
syntax?
|
[xml-dev] Re: [dsdl-comment] Re: DSDL: use cases: namespace declaration notation
John Cowan wrote:
>
> james anderson scripsit:
>
> > A namespace declaration should take the form of an attribute declaration.
> > The scope of the namespace declaration is the respective element declaration, and the cl
osure of the respective contained
> > element and attribute declarations, subject to the limiting effect of contained attribut
e declarations.
>
> The trouble with all this, however theoretically pretty, is that as a
> practical matter it will be repetitious and error-prone, since xmlns
> and xmlns:* attributes can appear essentially anywhere. If they have
> to be declared in a NS-aware DTD, then every element will have to
> carry about gobs of these things for all the namespaces in use.
This claim is false.
The declarations need appear in only those places analogous to those in which they would hav
e to appear within the document entity.
Where they are declared as default values, these are the only declarations which are necessa
ry.
As a "pratical matter" a free namespace declaration is "repetitious". Whether it will be "er
ror-prone" is a matter of interpretation.
>
> IMHO validation DTDs should not even report the presence or absence
> of namespace-declaring attributes as part of validation.
I agree, that it is gratuitous to require that xmlns:* attributes be declared for an element
to be valid. On the other hand,
where they are declared, they must be reported as default values.
...
-----------------------------------------------------------------
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:
John Cowan
Marcus Carr
Eric Bohlman
Marcus Carr
james anderson
james anderson
james anderson
Marcus Carr
Arjun Ray
Marcus Carr
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Deborah Aleyne Lapeyre
John Cowan
Thomas B. Passin
Ronald Bourret
Ronald Bourret
Michael Kay
Thomas B. Passin
james anderson
David Carlisle
james anderson
David Carlisle
james anderson
David Carlisle
james anderson
Michael Kay
james anderson
David Carlisle
Tim Bray
Ronald Bourret
Ronald Bourret
Ronald Bourret
Arjun Ray
John Cowan
Arjun Ray
John Cowan
Arjun Ray
John Cowan
John Cowan
james anderson
John Cowan
Rick Jelliffe
Arjun Ray
John Cowan
Rick Jelliffe
Rick Jelliffe
Dennis Sosnoski
John Cowan
Dennis Sosnoski
John Cowan
Dennis Sosnoski
Arjun Ray
G. Ken Holman
John Cowan
Arjun Ray
james anderson
Arjun Ray
John Cowan
Arjun Ray
Rick Jelliffe
John Cowan
Arjun Ray
John Cowan
John Cowan
james anderson
John Cowan
james anderson
james anderson
John Cowan
james anderson
james anderson
John Cowan
Ronald Bourret
Ronald Bourret
Jonathan Borden
Ronald Bourret
Michael Fuller
John Cowan
Bob Hutchison
james anderson
Thomas B. Passin
John Cowan
Ronald Bourret
John Cowan
Thomas B. Passin
Ronald Bourret
Ronald Bourret
james anderson
Norman Walsh
K. Ari Krupnikov
John Cowan
John Cowan
K. Ari Krupnikov
John Cowan
G. Ken Holman
Ronald Bourret
Rick Jelliffe
John Cowan
Marcus Carr
G. Ken Holman
John Cowan
Michael Fitzgerald
Paul Prescod
John Cowan
John Cowan
|