- From: Grosso, Paul <pgrosso@ptc.com>
- Date: Wed, 28 Feb 2007 12:21:33 -0500
- To: <public-xml-core-wg@w3.org>
> -----Original Message----- > From: public-xml-core-wg-request@w3.org > [mailto:public-xml-core-wg-request@w3.org] On Behalf Of Richard Tobin > Sent: Wednesday, 2007 February 28 11:05 > To: public-xml-core-wg@w3.org > Subject: C14N and namespace undeclaring > Given: > > <a xmlns:one="http://one.example.com"> > <b xmlns:two="http://two.example.com"/> > </a> > > there is no problem serialising <b> correctly: its in-scope namespace > prefixes are one and two so we have: > > <b xmlns:two="http://two.example.com" > xmlns:one="http://one.example.com"/> > > If a <c> element is (somehow) added as a child of <b>, and it has the > prefix two but not the prefix one in scope, we cannot serialise <b> fwiw, I think you mean (we cannot serialise) <c> above, no? > correctly in XML 1.0, but we can in XML 1.1 by using an undeclaration: > > <a xmlns:one="http://one.example.com"> > <b xmlns:two="http://two.example.com"> > <c xmlns:one=""/> > </b> > </a> >
Received on Wednesday, 28 February 2007 17:22:11 UTC