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

Re: more comments on latest xproc II

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 21 Aug 2008 07:55:31 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2tzdewpjg.fsf@nwalsh.com>
/ James Fuller <james.fuller.2007@gmail.com> was heard to say:
| ------------------------------------
| in section 3 Syntax Overview
| 'Six kinds of things are named in XProc:'
| propose refining to
| 'There are six kinds of entities defined in XProc'
| named implies that they have a @name attribute, where as 'things' is a
| bit of a wholly term

Yeah, but entities has baggage too in the XML world.. Anyone got
another suggestion?

| minor nit with p:variable
| in section 2.1 Steps subpipeline is defined to take a top level p:variable
| subpipeline = p:variable*,
| (p:for-each|p:viewport|p:choose|p:group|p:try|p:standard-step|pfx:user-pipeline)+
| furthermore p:choose and p:try can also have a top level p:variable
| defined ... should we harmonize this usage of p:variable
| and allow outside of nested subpipeline on p:for-each, p:viewport, and
| p:group elements as well ?

To what end? The only reason p:variable is called out explicitly in
p:choose and p:try is because those steps don't directly contain

| should we add some concept of http timeout on c:request ? perhaps as
| an optional option


| same thing goes for proxy

You mean a way of specifiying a proxy? I think that belongs at the
application or even OS level, not in the pipeline.

| also, I did not see any discussion, but I may have missed it  .... did
| the WG consider any need for an HTTP_REFERER type element in
| c:response ? I would propose adding it to the c:http-response element
| as an attribute.

It's a header, isn't it? So you can get it back if you ask for the
details and you can pass it in if you wish. Or am I totally confused?

| in section 7.1.15 p:namespace-rename
| this step has always seemed to me slightly incorrect, e.g. the
| operation that is occuring is more appropriately called
| namespace-mapping ... I prefer how XSLT 2.0 approaches this using
| namespace-alias function ... below is a rough translation of what this
| would look like in XProc
| <p:namespace-alias xmlns:old="http://someold.com/namespace"
| xmlns:new="somenew.com/namespace">
| 	<p:option name="literalNS" value="old"/>
| 	<p:option name="targetNS" value="new"/>
| </p:namespace-alias>
| I think its pretty clear and would propose we add to steps (and remove
| namespace-rename)

That seems like a pretty significant design change for what my
experience suggests is a very, very small edge case. In my decade or
so of XSLT use, I think I've used namespace aliasing just about twice.
I think we have to provide a step to do it, but I don't think we have
to work hard to make it easy.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Most human beings have an almost
http://nwalsh.com/            | infinite capacity for taking things for
                              | granted.--Aldous Huxley

Received on Thursday, 21 August 2008 11:56:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC