W3C home > Mailing lists > Public > public-forms@w3.org > November 2012

Concerns about format token parameter on serialize() and parse() functions

From: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
Date: Wed, 21 Nov 2012 08:54:03 +0000
To: Public Forms <public-forms@w3.org>
Message-ID: <6B98DB71-7288-4311-997D-57F9679FE900@inventivegroup.com>

I'm a bit concerned about the format parameter on serialize() [1] and parse()[2] functions, because I think that the format token only allows boolean properties. And on the submission element and xslt output options you have properties that take other type of values. For example version, cdata-section-elements and includenamespaceprefixes.

We could decide that the serialize() and parse() functions are only for the simple things and that we will depend on the serialise()[3], parse-xml()[4], parse-xml-fragment()[5] functions in 'XPath and XQuery Functions and Operators 3.0' for the more advanced stuff.

What is your opinion about this?

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71

1: http://www.w3.org/MarkUp/Forms/wiki/XPath_Expressions_Module#The_serialize.28.29_Function
2: http://www.w3.org/MarkUp/Forms/wiki/XPath_Expressions_Module#The_parse.28.29_Function
3: http://www.w3.org/TR/xpath-functions-30/#func-serialize
4: http://www.w3.org/TR/xpath-functions-30/#func-parse-xml
5: http://www.w3.org/TR/xpath-functions-30/#func-parse-xml-fragment


Inventive Designers' Email Disclaimer:
Received on Wednesday, 21 November 2012 08:55:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:14:07 UTC