- From: Norman Walsh <ndw@nwalsh.com>
- Date: Sat, 05 May 2007 08:06:52 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <87ejlvwk2r.fsf@nwalsh.com>
/ Innovimax SARL <innovimax@gmail.com> was heard to say:
| Dear,
|
| There is many places where an "empty document" can appear....but what
| does it mean and what are the use case
|
| 1) by construct
| 2) by deleting all the nodes
| 3) in a sequence, generate by for-each
|
| ?? do I have here a sequence of "empty-document" ??
In each case, it means that any step that reads the port in
question will receive zero documents.
For each step, I think we need to describe clear semantics for
receiving zero documents on each of its input ports.
At first glance:
A.1.1 Count [proposed]
Produces a count of 0.
A.1.2 Delete
Produces an empty sequence.
A.1.4 Escape Markup
Produces an empty sequence.
A.1.5 Head
Produces an empty sequence.
A.1.6 Identity
Produces an empty sequence.
A.1.7 Insert
Produces an empty sequence.
A.1.8 Label Elements
Produces an empty sequence.
A.1.10 Matching Documents
Produces an empty sequence.
A.1.11 Namespace Rename
Produces an empty sequence.
A.1.12 Rename
Produces an empty sequence.
A.1.13 Replace
Produces an empty sequence.
A.1.14 Set Attributes
Error.
A.1.15 String Replace
Produces an empty sequence.
A.1.16 Store
Does nothing or error.
A.1.17 Tee [proposed]
Produces an empty sequence.
A.1.18 Tail
Produces an empty sequence.
A.1.19 Unescape Markup
Produces an empty sequence.
A.1.20 Unwrap
Produces an empty sequence.
A.1.21 Wrap
Produces <wrapper/> if the match was on the document element, otherwise
produces an empty sequence.
A.1.22 XInclude
Produces an empty sequence.
A.1.23 XSLT
Error.
A.2.1 HTTP Request
Error?
A.2.2 Relax NG Validate
Error.
A.2.3 XML Schema Validate
Error.
A.2.4 XSLT 2.0
Error unless template-name is specified.
A.2.5 XSL Formatter
Error.
A.2.6 XQuery 1.0
Error.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | On the other hand, you have different
http://nwalsh.com/ | fingers.
Received on Saturday, 5 May 2007 12:07:11 UTC