[Bug 10955] [FO11] Observation on new functions


--- Comment #1 from Michael Kay <mike@saxonica.com> 2010-10-19 16:37:34 UTC ---
Discussed today. These decisions are made on a case-by-case basis.

On get-environment-variable(), we felt there was no real use case for allowing
an empty sequence.

For parse-xml(), allowing an empty sequence (and returning an empty sequence)
seems reasonable.

For serialize(), noted that the serialization spec accepts an arbitrary
sequence as input, and always returns a string; supplying an empty sequence
would typically return a string containing only an XML declaration. We should
consider allowing an arbitrary sequence as input.

Keeping the bug open for the moment.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 19 October 2010 16:37:39 UTC