From jhunter at servlets.com Mon Sep 5 23:20:25 2016 From: jhunter at servlets.com (Jason Hunter) Date: Tue, 6 Sep 2016 14:20:25 +0800 Subject: [xquery-talk] Testing after a server migration Message-ID: <6EAF003A-2CA7-4EAF-AAEF-1D961DD95641@servlets.com> Just checking all's in order. -jh- From joewiz at gmail.com Wed Sep 7 20:10:27 2016 From: joewiz at gmail.com (Joe Wicentowski) Date: Wed, 7 Sep 2016 23:10:27 -0400 Subject: [xquery-talk] Fwd: New F+O 3.1 draft In-Reply-To: References: Message-ID: Hi Michael, I hope this is an acceptable forum to raise a question regarding your post to public-xsl-query, since I think non-WG members can't post to that list. map:find() seems like a very convenient new function. It gives us the equivalent of the descendant-or-self axis for maps, which is really going to simplify querying maps. My question: Has the WG considered a ?? operator or some such shortcut for map:find(), to correspond to the abbreviated syntax for the descendant-or-self axis, (//)? For example: ``` let $inventory := map{"name":"car", "id":"QZ123", "parts": [map{name":"engine", "id":"YW678", "parts":[]}]} return $inventory??parts (: same as map:find($inventory, 'parts') :) ``` Not necessary, but it seems in the spirit of other syntax abbreviations like ?* (similar to /*). Incidentally, searching the spec to see if this was already discussed (it isn't) led me to a possible typo. In https://www.w3.org/XML/Group/qtspecs/specifications/xpath-functions-31/html/Overview-diff.html#regex-syntax > Reluctant quantifiers are supported. They are indicated by a " ? " following a quantifier. Specifically: > X?? matches X, once or not at all Shouldn't the second question mark be deleted? "X?" should suffice for "X, once or not at all." Joe ---------- Forwarded message ---------- From: Michael Kay Date: Tue, Sep 6, 2016 at 6:37 PM Subject: New F+O 3.1 draft To: Public Joint XSLT XQuery XPath I have committed a new F+O draft (dated 6 September) which incorporates most of the changes agreed today. http://www.w3.org/XML/Group/qtspecs/specifications/xpath-functions-31/html/Overview-diff.html#func-map-find It includes a proposed spec for map:find(): please review this. I have also committed some tests for map:find(). Michael Kay Saxonica From joewiz at gmail.com Thu Sep 8 13:14:37 2016 From: joewiz at gmail.com (Joe Wicentowski) Date: Thu, 8 Sep 2016 15:14:37 -0500 Subject: [xquery-talk] Question about a QT3 test Message-ID: Hi all, I'm looking at the QT3 tests and trying to understand by what mechanism this expression fn:collection('http://www.w3.org/2010/09/qt-fots-catalog/integers') ... is supposed to return (1 to 10) This is test case cbcl-collection-002 in qt3/2011/QT3-test-suite/fn/collection.xml. I've pasted the full test case in below. Thanks! Joe ``` test fn:collection with non-node collection. fn:collection('http://www.w3.org/2010/09/qt-fots-catalog/integers') (1 to 10) xs:integer+ ``` From joewiz at gmail.com Tue Sep 13 12:18:36 2016 From: joewiz at gmail.com (Joe Wicentowski) Date: Tue, 13 Sep 2016 15:18:36 -0400 Subject: [xquery-talk] Testing after a server migration In-Reply-To: <6EAF003A-2CA7-4EAF-AAEF-1D961DD95641@servlets.com> References: <6EAF003A-2CA7-4EAF-AAEF-1D961DD95641@servlets.com> Message-ID: Jason, I can confirm that I received your email to xquery-talk. Many thanks to you and your team for getting the list back up and running! Hi again, all! I assume the two postings I sent to the list earlier this month have now been delivered, but just in case, here is a link to the September archive: http://x-query.com/pipermail/talk/2016-September/thread.html. (It appears there were no messages sent to the list in August.) My first posting was a question about map:find(): http://x-query.com/pipermail/talk/2016-September/005121.html The second was a question about a test in the QT3 test suite: http://x-query.com/pipermail/talk/2016-September/005122.html. Joe On Tue, Sep 6, 2016 at 2:20 AM, Jason Hunter wrote: > Just checking all's in order. > > -jh- > > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joewiz at gmail.com Tue Sep 13 12:27:23 2016 From: joewiz at gmail.com (Joe Wicentowski) Date: Tue, 13 Sep 2016 15:27:23 -0400 Subject: [xquery-talk] New F+O 3.1 draft In-Reply-To: References: Message-ID: Hi Michael and all, While my first question about map:find() is still one I'm interested to discuss, I withdraw my second question - since Michael kindly helped me understand the error in my thinking; see https://www.w3.org/Bugs/Public/show_bug.cgi?id=29817. (I posted this to the bug tracker when I thought this list was dead.) Best, Joe On Wed, Sep 7, 2016 at 11:10 PM, Joe Wicentowski wrote: > Hi Michael, > > I hope this is an acceptable forum to raise a question regarding your > post to public-xsl-query, since I think non-WG members can't post to > that list. > > map:find() seems like a very convenient new function. It gives us the > equivalent of the descendant-or-self axis for maps, which is really > going to simplify querying maps. My question: > > Has the WG considered a ?? operator or some such shortcut for > map:find(), to correspond to the abbreviated syntax for the > descendant-or-self axis, (//)? For example: > > ``` > let $inventory := map{"name":"car", "id":"QZ123", "parts": > [map{name":"engine", "id":"YW678", "parts":[]}]} > return > $inventory??parts > (: same as map:find($inventory, 'parts') :) > ``` > > Not necessary, but it seems in the spirit of other syntax > abbreviations like ?* (similar to /*). > > Incidentally, searching the spec to see if this was already discussed > (it isn't) led me to a possible typo. In > https://www.w3.org/XML/Group/qtspecs/specifications/xpath-functions-31/html/Overview-diff.html#regex-syntax > >> Reluctant quantifiers are supported. They are indicated by a " ? " following a quantifier. Specifically: >> X?? matches X, once or not at all > > Shouldn't the second question mark be deleted? "X?" should suffice > for "X, once or not at all." > > Joe > > ---------- Forwarded message ---------- > From: Michael Kay > Date: Tue, Sep 6, 2016 at 6:37 PM > Subject: New F+O 3.1 draft > To: Public Joint XSLT XQuery XPath > > > I have committed a new F+O draft (dated 6 September) which > incorporates most of the changes agreed today. > > http://www.w3.org/XML/Group/qtspecs/specifications/xpath-functions-31/html/Overview-diff.html#func-map-find > > It includes a proposed spec for map:find(): please review this. > > I have also committed some tests for map:find(). > > Michael Kay > Saxonica From liam at w3.org Tue Sep 13 16:34:58 2016 From: liam at w3.org (Liam R. E. Quin) Date: Tue, 13 Sep 2016 19:34:58 -0400 Subject: [xquery-talk] Fwd: New F+O 3.1 draft In-Reply-To: References: Message-ID: <1473809698.19784.71.camel@w3.org> On Wed, 2016-09-07 at 23:10 -0400, Joe Wicentowski wrote: > Hi Michael, > > I hope this is an acceptable forum to raise a question regarding your > post to public-xsl-query, since I think non-WG members can't post to > that list. Correct, it's read-only I'm afraid. We have to be careful because of intellectual property and "submarine patents". The public-xsl-query list is for people who are participants in the Working Group and who have signed the necessary disclaimers. You can register comments on the spec via bugzilla, as you discovered. Posting here is fine too. We don't want to make it difficult for people to post comments - originally the xsl-query list was private, so it was easier for people to find the public ways to comment before finding xsl-query. Are you implementing? Liam W3C participant for XQuery and administrative contact -- Liam R. E. Quin The World Wide Web Consortium (W3C) From joewiz at gmail.com Tue Sep 13 17:49:50 2016 From: joewiz at gmail.com (Joe Wicentowski) Date: Tue, 13 Sep 2016 20:49:50 -0400 Subject: [xquery-talk] Testing after a server migration In-Reply-To: <3c0917f0-eec7-f8a8-f8c7-9e1f56817b51@benibela.de> References: <6EAF003A-2CA7-4EAF-AAEF-1D961DD95641@servlets.com> <3c0917f0-eec7-f8a8-f8c7-9e1f56817b51@benibela.de> Message-ID: > i have not been able to post to this list for perhaps years I got your post about Xidel 0.9.4 in June, Benito. The list went offline sometime in July or August. From mike at saxonica.com Wed Sep 14 01:23:34 2016 From: mike at saxonica.com (Michael Kay) Date: Wed, 14 Sep 2016 09:23:34 +0100 Subject: [xquery-talk] Question about a QT3 test In-Reply-To: References: Message-ID: The test has a reference to the environment integer-collection which is defined like this: 1 to 10 The specification of what can appear here, and what it means, is partly in the user documentation (directory "guide") and partly in the catalog.xsd schema; though like all documentation, it's not always up to date. Michael Kay Saxonica > On 8 Sep 2016, at 21:14, Joe Wicentowski wrote: > > Hi all, > > I'm looking at the QT3 tests and trying to understand by what > mechanism this expression > > fn:collection('http://www.w3.org/2010/09/qt-fots-catalog/integers') > > ... is supposed to return > > (1 to 10) > > This is test case cbcl-collection-002 in > qt3/2011/QT3-test-suite/fn/collection.xml. I've pasted the full test > case in below. > > Thanks! > Joe > > ``` > > test fn:collection with non-node collection. > > > > fn:collection('http://www.w3.org/2010/09/qt-fots-catalog/integers') > > (1 to 10) > xs:integer+ > > > ``` > _______________________________________________ > talk at x-query.com > http://x-query.com/mailman/listinfo/talk