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

[closed] Re: p:add-xml-base with relative=true

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 09 Jan 2008 12:36:09 -0500
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2odbux5o6.fsf_-_@nwalsh.com>
Fixed as below.

/ ht@inf.ed.ac.uk (Henry S. Thompson) was heard to say:
| I read the intent of add-xml-base to force the overt xml:base
| indications to be in line with the over [base URI] properties.  So I
| would propose to redraft 7.1.2 as follows:
|
|   1) Replace 'added' with 'added or corrected' in the first para;
|
|   2) Add a sentence after the two option typing sentences:
|
|      The value of the all option and the value of the relative option
|      MUST NOT both be true.
|
|   3) Replace the substance as follows:
|
|  The p:add-xml-base step modifies its input as follows:
|
|   * For the document element: force the element to have an xml:base
|     attribute with its [base URI] property's value as its value.
|
|   * For other elements:
|
|      If the all option has the value 'true', force the element to have
|      an xml:base attribute with the element's [base URI] value as its
|      value.
|
|      If element's [base URI] is different from the its parent's [base
|      URI], force the element to have an xml:base attribute with the
|      the following value:
|
|       If the value of the relative option is 'true', a string which
|       when resolved against the parent's [base URI] will give the
|       element's [base URI], otherwise the element's [base URI].
|
|      Othewise if there is an xml:base attribute present, remove it.
|
| On this basis, the name might better be changed to something like
| p:manifest-base-uris
|
| ht
| --
|  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
|                      Half-time member of W3C Team
|     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
|             Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
|                    URL: http://www.ltg.ed.ac.uk/~ht/
| [mail really from me _always_ has this .sig -- mail without it is forged spam]

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Man is made so that he can only find
http://nwalsh.com/            | relaxation from one kind of labour by
                              | taking up another.--Anatole France

Received on Wednesday, 9 January 2008 17:32:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 January 2008 17:32:38 GMT