Re: [xml-dev] The XML 1.1 Candidate Recommendation is published
by John Cowan other posts by this author
Oct 16 2002 7:42PM messages near this date
Re: [xml-dev] The XML 1.1 Candidate Recommendation is published
|
Re: [xml-dev] The XML 1.1 Candidate Recommendation is published
Amelia A Lewis scripsit:
> Supposing that you do an XInclude of some part of another document. If the
> part of the document being included doesn't include the namespace
> declarations, then presumably these declarations will have to appear on the
> including element. If they do include declarations, then there's no issue
> (that I can see).
In Namespaces 1.0, the prefix-URI mapping of the including document at the
point of inclusion will be inherited by the included document. This is
at best useless and may be actually lead to bad results if people can be
spoofed into including documents which don't define certain prefixes --
"chameleon namespaces", if you will.
By placing prefix-undefining declarations on the including element when
it is serialized, we can prevent bogus inheritance into the included
document.
--
John Cowan <jcowan@[...].com>
http://www.ccil.org/~cowan http://www.reutershealth.com
Charles li reis, nostre emperesdre magnes,
Set anz totz pleinz ad ested in Espagnes.
-----------------------------------------------------------------
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
John Cowan
Rick Jelliffe
John Cowan
Rick Jelliffe
Rick Jelliffe
Rick Jelliffe
Rick Jelliffe
Richard Tobin
Tim Bray
Richard Tobin
Tim Bray
Richard Tobin
John Cowan
G. Ken Holman
John Cowan
Elliotte Rusty Harold
Amelia A Lewis
John Cowan
Richard Tobin
John Cowan
Amelia A Lewis
John Cowan
John Cowan
Rick Jelliffe
Karl Waclawek
Karl Waclawek
Karl Waclawek
Elliotte Rusty Harold
John Cowan
Jeni Tennison
John Cowan
Karl Waclawek
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold
Daniel Veillard
Elliotte Rusty Harold
John Cowan
David Carlisle
John Cowan
David Megginson
Tim Bray
John Cowan
Daniel Veillard
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold
Elliotte Rusty Harold
|