W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2010

[Bug 10955] [FO11] Observation on new functions

From: <bugzilla@jessica.w3.org>
Date: Tue, 19 Oct 2010 16:37:34 +0000
To: public-qt-comments@w3.org
Message-Id: <E1P8FBu-0006Ro-NZ@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10955

--- 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:44 UTC