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,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676
www.marklogic.com

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 22 September 2011 16:37:01 GMT