- From: O'Neil Delpratt <oneil@saxonica.com>
- Date: Wed, 7 Oct 2015 10:49:39 +0100
- To: public-xsl-query@w3.org
- Message-Id: <E59661D3-7386-4F95-9F56-D15DFEF51CAF@saxonica.com>
Dea All,
I have completed the action item below. I have made changes to the catalog schema and modified two tests in the test set app-UseCaseR31 which uses the fn:collection with JSON documents (See: UseCaseR31-026 and UseCaseR31-027):
ACTION A-618-08 O'Neil to add texts for fn:collection to support
results that are not nodes. One approach: the test suite specifies a query that returns a sequence
equivalent to the contents of a sequence, e.g.
<collection uri="my-collection" xpath="yes">unparsed-text-lines('xxx')!parse-json()</collection>
With this change in the schema this means that test drivers will need updating accordingly. Specifically we can now have a collection environment which can look like the following:
<collection uri=“…”>
<source> (XML)
<resources> (non-XML)
<query>unparsed-text-lines('xxx')!parse-json()</query>
</collection>
kind regards,
-------------------------------
O'Neil Delpratt
Software Developer, Saxonica Limited
Email: oneil@saxonica.com <mailto:oneil@saxonica.com>
Twitter: https://twitter.com/ond1 <https://twitter.com/ond1>
Tel: +44 118 946 5894
Web: http://www.saxonica.com <http://www.saxonica.com/>
Saxonica Community site: http://dev.saxonica.com <http://dev.saxonica.com/>
Bug tracking site: https://saxonica.plan.io/ <https://saxonica.plan.io/>
Received on Wednesday, 7 October 2015 09:50:04 UTC