W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > September 2011

Re: document base uri

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 22 Sep 2011 17:36:20 +0100
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2k490cz5n.fsf@nwalsh.com>
Geert Josten <geert.josten@daidalos.nl> writes:
> First of all, I am curious what the XML Base spec would say about
> the difference between the two (base-uri of document node versus
> xml:base on root element), does it distinguish between the two?

Yes. The xml:base spec talks about what the effect of the xml:base
attribute on elements. It doesn't talk about making any changes to the
ancestors of that element. Or, if it does, it says that it does not
make any such changes. :-)

> Secondly, I would make more sense to me to have a p:change-base-uri
> step that *would* allow changing the base-uri property of the
> document node.

That would be the purpose of that step.

                                        Be seeing you,

Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676

Received on Thursday, 22 September 2011 16:37:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:27 UTC