[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simple] Questions on draft-ietf-simple-filter-format-05



Hi,

I have a couple of questions regarding the handling on <exclude> filters in an Event Server:

- when only an <exclude> filter is present (no <include>), does the server need to provide the *whole* document but the excluded part, or is it implicit? In other words, do the server need an <include> filter as well to consider the whole document or part of it before to apply the <exclude> filter?

- when the <exclude> filter asks for removing a mandatory element, which is nesting elements from another namespaces, what would be the result of the exclusion process: is it the full content of the mandatory element, or only an 'empty' (or minimally valid) element. Below is an example:

1. <foo> is a mandatory element within <root> with an <any> only, i.e. it does not have any attribute nor mandate any sub-element
2. document in the server is:
<root>
<foo>
<o:bar>something</o:bar>
</foo>
</root>

3. filter contains
<exclude>
//root/foo
</exclude>

4. Result of filtering process is
(a)
<root>
<foo></foo>
</root>

or (b)
<root>
<foo>
<o:bar>something</o:bar>
</foo>
</root>   
?

Thanks for the clarification
Walter


Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.

====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
MailAdmin at tilab.com. Thank you
====================================================================

_______________________________________________
Simple mailing list
Simple at ietf.org
https://www1.ietf.org/mailman/listinfo/simple