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

Re: New draft...sortof

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 21 Jun 2007 07:37:29 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <877ipxr11i.fsf@nwalsh.com>
/ Innovimax SARL <innovimax@gmail.com> was heard to say:
| In 2.7.1 System Properties
|
| Can we ask that p:episode has to respect NCName production ?

No. It has to be a QName so that vendors can add extensions in their
own namespace.

| In 2.7.3 Iteration Count
|
| Could we extend the use of such function to
| * p:insert (to have it for use into the @match)
| * p:label (if we add a @select)
| * p:rename (in @match)
| * p:replace (in @match)
| * p:set-attributes
| * p:string-replace
| * p:unwrap
| * p:wrap

No. The ordinary position() function works just fine in these contexts.
I'm not sure I expect atomic steps to be able to evaluate p:* functions.
(They can in my impl, but wouldn't be able to in, for example, Richard's.)

| In 5.4 p:xpath-context Element
|
| Why p:xpath-context cannot be defaulted to the default readable port ?

The spec says:

  Only one binding is allowed and it works the same way that bindings
  work on a p:input.

That's supposed to imply that the default binding is the default
readable port, but I can make that more explicit.

| @match vs @select
| not sure to understand the limitation for the use of @match instead of
| @select for :
| * p:insert (why a match pattern, if I want to add a title in each nested divs ?)
| * p:rename (why a match pattern, if I want to rename all the divs
| nested or not ?)

Hmmm. Maybe select makes more sense for insert and rename (and delete,
where it doesn't matter, but I think it should be consistent with
insert and rename)...

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | We do not know what thoughts stirred in
http://nwalsh.com/            | the mind of the last of the mastodons,
                              | but we can take it that they were
                              | nothing very remarkable. It is hardly
                              | likely that the last man will have the
                              | mind of a Goethe. He will die, and that
                              | will be the last stage of human
                              | progress.--Anatole France

Received on Thursday, 21 June 2007 11:37:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:53 GMT