- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 10 Jun 2008 16:07:11 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <m2ve0hrr4g.fsf@nwalsh.com>
/ Jeni Tennison <jeni@jenitennison.com> was heard to say: | On 17 May 2008, at 16:26, Norman Walsh wrote: |> It occurs to me that if we want to support expressions like this: |> |> | <p:choose> |> | <p:when test="p:psvi-available()"> |> | <p:delete match="element(*,my:doomedType)"/> |> | </p:when> |> |> we're going to need a p:schema-import statement to provide type |> information to the XProc processor. | | No new features! (Well, it's worth a shot ;) | | Seriously, we could say that for XProc v1, even if you're using XPath | 2.0, the in-scope schema definitions are all empty. If you want to do | schema-aware processing, you have to use XQuery or XSLT or another | schema-aware step to do so. | | Then an implementation could offer a <psvi-aware:delete> step; the | implementation's definition of psvi-aware:delete would include | information about how the in-scope schema definitions are populated | prior to the evaluation of the 'match' option (eg through another | option or parameters, using the PSVI itself, using a fixed set of | known namespaces, ...). Anyone unsatisfied by this answer? Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | My dog is worried about the economy http://nwalsh.com/ | because Alpo is up to 99 cents a can. | That's almost $7.00 in dog money.--Joe | Weinstein
Received on Tuesday, 10 June 2008 20:07:49 UTC