W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2007

Re: p:insert matches documents and elements?

From: Alex Milowski <alex@milowski.org>
Date: Sun, 29 Apr 2007 14:11:20 -0700
Message-ID: <28d56ece0704291411t3c3f79c5m2ca1eabdbd818025@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org
On 4/22/07, Norman Walsh <ndw@nwalsh.com> wrote:
> Should p:insert fail if the target matches something that isn't
> a document or element? If not, what should it do?

Yes.  It should fail when the target is not an element or document.  If the
target is a document, the at-start option doesn't mean anything.  It will
replace the document element.

--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language

Bertrand Russell in a footnote of Principles of Mathematics
Received on Sunday, 29 April 2007 21:11:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:42 UTC