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

Re: Extending p:log (action A-214-01)

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 23 May 2012 07:35:22 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2zk8zdtad.fsf@nwalsh.com>
Innovimax W3C <innovimax+w3c@gmail.com> writes:
> 1) Why two elements ?  Why not just a <p:report> with an optional test attribute

Oh. Uhm. Yeah, I guess that would work. I vote "concur" on that decision :-)

> 2) What is the context of the test : the current sequence of document ?

Yes. For all expressions evaluated (however we decide to do that) the
context item is the document that is being logged.

> 3) With respect to variable, we already have the p:template behaviour,
> so we could just say that the content of <p:report> is evaluated as if
> it was <p:template> ?

Ah. Yes. Good thinking, Mohamed!

                                        Be seeing you,

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

Received on Wednesday, 23 May 2012 11:36:03 UTC

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