XML Query Last Call Comments on xpath-functions

Last Call Comments 21 Oct 2004

Editor:
Ashok Malhotra

Issues List for xpath-functions

This document identifies the status of Last Call issues on XQuery 1.0 and XPath 2.0 Functions and Operators as of October 29, 2004.

The XQuery 1.0 and XPath 2.0 Functions and Operators has been defined jointly by the XML Query Working Group and the XSL Working Group (both part of the XML Activity).

The October 29, 2004 working draft includes a number of changes made in response to comments both received during the Last Call period that ended on Feb. 15, 2004. The working group is continuing to process these comments, and additional changes are expected.

Public comments on this document and its open issues are invited. Comments should be sent to the W3C mailing list public-qt-comments@w3.org. (archived at http://lists.w3.org/Archives/Public/public-qt-comments/) with “[F&O]” at the beginning of the subject field.

Most issues are classified as either .substantive., meaning the editor believes technical changes to the document are required to address them, or .editorial., meaning that the issue is one of specification clarity not technical correctness.

An issue transitions through several states. Issues tracking begins when an issue is .raised.. After discussion, the Working Group may have .decided. how to resolve the issue. This decision is .announced. and hopefully .acknowledged. by external commenters. For the most part, once an issue is decided, it is considered closed.


There are 263 issue(s).

12 raised (7 substantive), 23 proposed, 210 decided, 1 announced and 16 acknowledged.

Id Title Type State Doc.
+qt-2004Sep0027-01 A typing mistake in Working Draft typo decided FO
+qt-2004Mar0102-01 [FO] MS-FO-LC2-017 typo decided FO
+qt-2004Feb0880-01 ORA-FO-166-E: typo typo decided FO
+qt-2003Nov0242-01 [F&O] accommodate (editorial) typo decided FO
+qt-2003Nov0213-01 [F&O] 0E0.0 should be 0.0E0 typo decided FO
+qt-2003Nov0202-01 [F&O] Editorial comment typo decided FO
+qt-2004Oct0000-01 Define the error namespace substantive raised FO
+qt-2004Sep0068-01 Request function to remove trailing spaces from string substantive raised FO
+xs-2004Sep0057-01 normalization and xs:date substantive raised FO
+qt-2004Sep0043-01 [F&O] 14.1.3 fn:namespace-uri can no longer return a string substantive acknowledged FO
+qt-2004Sep0020-01 [XQuery]&[F&O] fn:error: function parameters substantive decided FO
+qt-2004Aug0048-01 appeal for fn:match and fn:apply substantive decided FO
+xs-2004Aug0063-01 Deterministic casting substantive decided FO
+qt-2004Mar0243-01 Fw: [F&O] IBM-FO-108: Normative definition of case mapping substantive decided FO
+qt-2004Mar0225-01 casting NOTATION to string substantive decided FO
+qt-2004Mar0212-01 [F&O] IBM-FO-044: Errors in casting and constructors substantive decided FO
+qt-2004Mar0211-01 [F&O] IBM-FO-043: OK to cast an empty sequence substantive acknowledged FO
+qt-2004Mar0188-01 fn:substring: explanation of negative or zero $startingLoc behaviour substantive decided FO
+qt-2004Mar0111-01 [FO] MS-FO-LC2-024 substantive raised FO
+qt-2004Mar0110-01 [FO] MS-FO-LC2-023 substantive raised FO
+qt-2004Mar0108-01 [FO] MS-FO-LC2-021 substantive decided FO
+qt-2004Mar0107-01 [FO] MS-FO-LC2-020 substantive raised FO
+qt-2004Mar0105-01 [FO] MS-FO-LC2-016 substantive acknowledged FO
+qt-2004Mar0104-01 [FO] MS-FO-LC2-019 substantive acknowledged FO
+qt-2004Mar0106-01 [FO] MS-FO-LC2-018 substantive acknowledged FO
+qt-2004Mar0099-01 [FO] MS-FO-LC2-012 substantive acknowledged FO
+qt-2004Mar0095-01 [FO] MS-FO-LC2-008 substantive decided FO
+qt-2004Mar0093-01 [FO] MS-FO-LC2-007 substantive objected FO
+qt-2004Mar0090-01 [FO] MS-FO-LC2-003 substantive raised FO
+qt-2004Mar0089-01 [FO] MS-FO-LC2-002 substantive acknowledged FO
+qt-2004Mar0063-01 [F&O] LQ-FO-001 - random numbers substantive decided FO
+qt-2004Mar0061-01 [F&O] LQ-FO-002 - file exists substantive decided FO
+qt-2004Mar0060-01 [F&O] LQ-FO-03 - extended access to URI resolver substantive decided FO
+qt-2004Mar0056-01 F&O, XQuery language: Schema document for xdt namespace substantive decided FO
+qt-2004Mar0051-01 [F&O] CER-16 Functions of Durations, Dates, and Times substantive acknowledged FO
+qt-2004Mar0044-01 [F&O] IBM-FO-038: Bugs in fn:deep-equal code substantive decided FO
+qt-2004Mar0042-01 [F&O] IBM-FO-036: Inconsistent parameter types substantive decided FO
+qt-2004Mar0040-01 [F&O] IBM-FO-034: How could an element be nameless? substantive proposed FO
+qt-2004Mar0038-01 [F&O] IBM-FO-032: Inconsistent function signatures substantive proposed FO
+qt-2004Mar0030-01 [F&O] IBM-FO-024: Apply implicit timezone rule uniformly substantive acknowledged FO
+qt-2004Mar0021-01 [F+O] Type conversion in concat() substantive decided FO
+qt-2004Feb1230-01 URIs and strings (XML Schema comment on F/O) substantive decided FO
+qt-2004Feb1228-01 [F&O] IBM-FO-020: Need a function to dereference XPointers substantive proposed FO
+qt-2004Feb1227-01 [F&O] IBM-FO-019: Request for deep-distinct function substantive decided FO
+qt-2004Feb1226-01 [F&O] IBM-FO-018: Request for copy function substantive decided FO
+qt-2004Feb1225-01 [F&O] IBM-FO-017: Dependency on casting QName to string substantive acknowledged FO
+qt-2004Feb1223-01 [F&O] IBM-FO-015: xdt:untypedAtomic is not a numeric type substantive decided FO
+qt-2004Feb1219-01 [F&O] IBM-FO-012: Return types are not valid SequenceTypes substantive decided FO
+qt-2004Feb1218-01 [F&O] IBM-FO-011: Trace function substantive decided FO
+qt-2004Feb1217-01 [F&O] IBM-FO-010: Entity accessors should be exposed substantive proposed FO
+qt-2004Feb1215-01 [F&O] IBM-FO-008: No support for DTD's. substantive proposed FO
+qt-2004Feb1214-01 [F&O] IBM-FO-006: No user-defined document types substantive decided FO
+qt-2004Feb1143-01 NM-F&O-7: fn:base-uri() substantive decided FO
+qt-2004Feb1142-01 NM-XQ-6: xs:anyUri and xs:string substantive decided FO
+qt-2004Feb1111-01 ORA-FO-412-B: uri equality should take base-uri into account substantive decided FO
+qt-2004Feb1061-01 [F+O] Rename component-from-duration() functions substantive decided FO
+qt-2004Feb1056-01 [F+O] base-URI() undefined [was RE: [XQuery] BEA_028] substantive decided FO
+qt-2004Feb1055-01 [F+O] Division by zero question substantive proposed FO
+qt-2004Feb1001-01 [F&O] BEA_034 substantive proposed FO
+qt-2004Feb0979-01 [F&O] IBM-FO-108: Normative definition of case mapping substantive decided FO
+qt-2004Feb0974-01 [F&O] IBM-FO-106: fn:subtract-dateTimes-yielding-yearMonthDuration - "maximum number of months" is imprecise substantive decided FO
+qt-2004Feb0973-01 [F&O] IBM-FO-105: \0 should be prohibitied as a back reference in regular expressions substantive decided FO
+qt-2004Feb0972-01 [F&O] IBM-FO-104: Description of substring matching should account for ignorable collations units substantive decided FO
+qt-2004Feb0970-01 [F&O] IBM-FO-102: Concept of system-defined collation is not clearly defined substantive decided FO
+qt-2004Feb0968-01 [F&O] IBM-FO-100: untypedAny and untypedAtomic should be described as concrete types substantive decided FO
+qt-2004Feb0940-01 ORA-FO-253-Q: Suggest changing fn:distinct-values signature back to fn:distinct-values($arg as item()*) as item()* substantive decided FO
+qt-2004Feb0911-01 ORA-FO-336-B: Which collations support collation units? substantive decided FO
+qt-2004Feb0910-01 ORA-FO-335-B: Please define "collation" substantive decided FO
+qt-2004Feb0906-01 ORA-FO-252-Q: Missing feature: overloaded versions of fn:id and fn:idref substantive decided FO
+qt-2004Feb0904-01 ORA-FO-250-B: Inconsistent types for $position in various functions. substantive decided FO
+qt-2004Feb0903-01 ORA-FO-249-Q: Missing feature: add an overloaded version fn:lang($testlang as xs:string?, $arg as node()?) as xs:boolean substantive decided FO
+qt-2004Feb0900-01 ORA-FO-266-B: Error codes should be normative (2) substantive decided FO
+qt-2004Feb0899-01 ORA-FO-204-B: Error summary: This section needs to be normative substantive decided FO
+qt-2004Feb0891-01 ORA-FO-195-E: what is the status of xdt:dayTimeDuration and xdt:yearMonthDuration? substantive decided FO
+qt-2004Feb0831-01 [F&O] CER-11 xs:decimal overflow substantive proposed FO
+qt-2004Feb0830-01 [F&O] CER-10 extract-match substantive decided FO
+qt-2004Feb0829-01 [F&O] CER-07 exactly-one et al substantive proposed FO
+qt-2004Feb0828-01 [F&O] CER-09 xs:double parameters to fn:substring substantive decided FO
+qt-2004Feb0826-01 [F&O] CER-08 position-of substantive decided FO
+qt-2004Feb0732-01 ORA-FO-192-C: is truncation or rounding acceptable when casting xs:double to xs:float? substantive decided FO
+qt-2004Feb0731-01 ORA-FO-191-C: Casting across the type hierarchy, what are the primitive types ? substantive decided FO
+qt-2004Feb0730-01 ORA-FO-188-B: no defined relationship between fn:current-date and fn:current-dateTime substantive decided FO
+qt-2004Feb0729-01 ORA-FO-186-C: fn:collection stability requirements substantive decided FO
+qt-2004Feb0727-01 ORA-FO-185-B: fn:doc stability is not a reasonable requirement substantive decided FO
+qt-2004Feb0726-01 ORA-FO-184-B: fn:subtract-dateTimes-yielding-yearMonthDuration function name is too long substantive decided FO
+qt-2004Feb0724-01 ORA-FO-182-B: function names are too long substantive decided FO
+qt-2004Feb0722-01 ORA-FO-180-B: fn:abs undocumented exception is possible substantive proposed FO
+qt-2004Feb0721-01 ORA-FO-179-B: op:numeric-unary-minus might raise an exception substantive proposed FO
+qt-2004Feb0718-01 ORA-FO-176-B: no statement about truncation or rounding substantive decided FO
+qt-2003Nov0324-01 Escape for $ in XPath 2 regexps substantive decided FO
+qt-2004Feb1165.html-01 NM-F&O-8: fn:sum, fn:min, fn:max substantive decided FO
+qt-2004Feb0426-01 [DM&FO] BEA_001 substantive decided FO
+qt-2004Feb0388-01 [XPath/XQuery] collections substantive decided FO
+qt-2004Feb0359-01 [F&O] XSCH-FO-008 Casting and constructor fidelity substantive decided FO
+qt-2004Feb0361-01 [F&O] XSCH-FO-007 Casting numerics and inconsistency substantive acknowledged FO
+qt-2004Feb0358-01 [F&O] XSCH-FO-006 Casting numerics and implementation limits substantive decided FO
+qt-2004Feb0357-01 [F&O] XSCH-FO-005 Casting xs:double and xs:float to xs:string substantive acknowledged FO
+qt-2004Feb0354-01 [F&O] XSCH-FO-002 Datetime without a timezone substantive decided FO
+qt-2004Feb0339-01 [F&O] 15.2.1.1 Deep Equality of Nodes substantive decided FO
+qt-2004Feb0338-01 [F&O] 15.1.5 op:concatenate substantive decided FO
+qt-2004Feb0331-01 [F&O] 7.3.2 fn:compare substantive decided FO
+qt-2004Feb0330-01 [F&O] 6.4.2 fn:ceiling substantive decided FO
+qt-2004Feb0329-01 [F&O] 7.3.1 Collations substantive decided FO
+qt-2004Feb0328-01 [F&O] 6.4.5 fn:round-half-to-even substantive decided FO
+qt-2004Feb0327-01 [F&O] 6.4 Functions on Numeric Values substantive decided FO
+qt-2004Feb0326-01 [F&O] 5.1 Constructor Functions for XML Schema Built-in Types substantive decided FO
+qt-2004Feb0325-01 [F&O] 3 The Error Function substantive decided FO
+qt-2004Feb0323-01 [F&O] 2.4 fn:base-uri substantive decided FO
+qt-2004Feb0284-01 [FO] Bug in contains() substantive decided FO
+qt-2004Feb0172-01 Should fn:string() and xs:string() be synonyms? substantive decided FO
+qt-2004Feb0170-01 zero-or-one(), one-or-more(), exactly-one() substantive decided FO
+qt-2004Feb0157-01 [F+O] replace() - use of $0 substantive decided FO
+qt-2004Feb0156-01 [F+O] Relationship of casts and constructors substantive decided FO
+qt-2004Feb0153-01 [F+O] resolve-QName() substantive decided FO
+qt-2004Feb0147-01 [F&O] Protocol language information substantive decided FO
+qt-2004Feb0094-01 [F&O] Underflow in date arithmetic substantive decided FO
+qt-2004Feb0093-01 [F&O] resolve-QName function, $element as empty sequence substantive decided FO
+qt-2004Feb0087-01 [F&O] adjust-date-to-timezone underspecified? substantive decided FO
+qt-2004Jan0141-01 [F&O] IBM-FO-001 Request for "atom" function substantive decided FO
+qt-2004Jan0074-01 [F&O] 7.5.4 fn:substring-before substantive decided FO
+qt-2004Jan0020-01 [XQuery 1.0 and XPath 2.0 Functions and Operators] substantive proposed FO
+qt-2004Jan0006-01 F&O: fn:lang substantive proposed FO
+qt-2003Dec0137-01 casting from numeric types to string: what about precision ? substantive decided FO
+qt-2003Dec0118-01 [F+O] Casting to subtypes of xs:integer substantive decided FO
+qt-2003Dec0109-01 [FO] OB03: 15.3.5 sum / B Compatibility with XPath 1.0 substantive decided FO
+qt-2003Dec0062-01 [F&O] deep-equal substantive acknowledged FO
+qt-2003Nov0320-01 [F&O] Function root() and static typing substantive announced FO
+qt-2003Nov0278-01 [F&O] 15.3 Aggregate Functions substantive proposed FO
+qt-2003Nov0275-01 [F&O] 15.2.1.1 Deep Equality of Nodes substantive decided FO
+qt-2003Nov0272-01 [F&O] 15.1.8 fn:exists substantive acknowledged FO
+qt-2003Nov0271-01 [F&O] 15.1 zero-or-one, one-or-more, exactly-one substantive proposed FO
+qt-2003Nov0240-01 [F&O] fn:subtract-dateTimes-yielding-yearMonthDuration rounding substantive proposed FO
+qt-2003Nov0233-01 [F&O] subtracting date/time with empty sequence substantive proposed FO
+qt-2003Nov0216-01 [F&O] A proposal related to the two totally ordered subtypes of xs:duration substantive acknowledged FO
+qt-2003Nov0215-01 [F&O] 7.4.6 fn:normalize-unicode substantive decided FO
+qt-2003Nov0214-01 [F&O] charmod substantive decided FO
+qt-2003Nov0211-01 [F&O] normalize-unicode substantive proposed FO
+qt-2003Nov0210-01 [F&O] 15.2.1 fn:deep-equal substantive decided FO
+qt-2003Nov0207-01 [F&O] C.2.3 eg:value-except substantive proposed FO
+qt-2003Nov0206-01 [F&O] string-length substantive proposed FO
+qt-2003Nov0201-01 F&O 7.4.5 fn:normalize-space substantive proposed FO
+qt-2003Nov0200-01 F&O 7.2.1 fn:codepoints-to-string substantive proposed FO
+qt-2003Nov0189-01 Namespace prefixes for functions and operators considered confusing substantive decided FO
+qt-2003Nov0030-01 F&O fn:escape-uri substantive decided FO
+qt-2004Aug0036-01 [F&O]15.1.3.1 Examples fn:index-of editorial decided FO
+xs-2004Jul0067-01 [F&O]: Result of arithmetic involving Inf editorial decided FO
+qt-2004Mar0109-01 [FO] MS-FO-LC2-022 editorial decided FO
+qt-2004Mar0103-01 [FO] MS-FO-LC2-015 editorial decided FO
+qt-2004Mar0101-01 [FO] MS-FO-LC2-014 editorial decided FO
+qt-2004Mar0098-01 [FO] MS-FO-LC2-011 editorial decided FO
+qt-2004Mar0097-01 [FO] MS-FO-LC2-010 editorial decided FO
+qt-2004Mar0096-01 [FO] MS-FO-LC2-009 editorial decided FO
+qt-2004Mar0094-01 [FO] MS-FO-LC2-006 editorial raised FO
+qt-2004Mar0092-01 [FO] MS-FO-LC2-005 editorial decided FO
+qt-2004Mar0091-01 [FO] MS-FO-LC2-004 editorial decided FO
+qt-2004Mar0084-01 [FO] MS-FO-LC2-01 editorial decided FO
+qt-2004Mar0048-01 [F&O] IBM-FO-042: Invalid syntax in fn:doc return type editorial decided FO
+qt-2004Mar0047-01 [F&O] IBM-FO-041: Irrelevant text in description of fn:sum editorial decided FO
+qt-2004Mar0046-01 [F&O] IBM-FO-040: Bugs in max and min examples editorial decided FO
+qt-2004Mar0045-01 [F&O] IBM-FO-039: Argument types in max and min editorial decided FO
+qt-2004Mar0043-01 [F&O] IBM-FO-037: Strange description of fn:unordered editorial decided FO
+qt-2004Mar0041-01 [F&O] IBM-FO-035: Problems with fn:number editorial decided FO
+qt-2004Mar0039-01 [F&O] IBM-FO-033: Invalid function signatures editorial decided FO
+qt-2004Mar0037-01 [F&O] IBM-FO-031: Specify that function backs up subtraction editorial decided FO
+qt-2004Mar0036-01 [F&O] IBM-FO-030: Section needs better title editorial decided FO
+qt-2004Mar0035-01 [F&O] IBM-FO-029:Redundant rules in function description editorial decided FO
+qt-2004Mar0034-01 [F&O] IBM-FO-028: Inconsistent function signatures editorial decided FO
+qt-2004Mar0033-01 [F&O] IBM-FO-027: Bug in example: wrong answer? editorial decided FO
+qt-2004Mar0032-01 [F&O] IBM-FO-026: Normalization rule stated backward? editorial decided FO
+qt-2004Mar0031-01 [F&O] IBM-FO-025: Need better example for comparing times editorial decided FO
+qt-2004Mar0029-01 [F&O] IBM-FO-023: Example inconsistent with text editorial decided FO
+qt-2004Mar0028-01 [F&O] IBM-FO-022: Which function backs up "eq" on strings? editorial decided FO
+qt-2004Feb1229-01 [F&O] IBM-FO-021: Editorial comments editorial decided FO
+qt-2004Feb1224-01 [F&O] IBM-FO-016: Bug in fn:ceiling editorial decided FO
+qt-2004Feb1222-01 [F&O] IBM-FO-014: Constructors for user-defined types editorial decided FO
+qt-2004Feb1220-01 [F&O] IBM-FO-013: Unnecessary note, not a special case editorial decided FO
+qt-2004Feb1216-01 [F&O] IBM-FO-009: Fixes to namespaces and prefixes editorial decided FO
+qt-2004Feb1221-01 [F&O] IBM-FO-007: Section 1.5 needs better heading editorial decided FO
+qt-2004Feb1213-01 [F&O] IBM-FO-005: Get rid of xdt:untypedAny editorial decided FO
+qt-2004Feb1212-01 [F&O] IBM-FO-004: Cross-document references editorial decided FO
+qt-2004Feb1211-01 [F&O] IBM-FO-003: Description of function signatures editorial decided FO
+qt-2004Feb1210-01 [F&O] IBM-FO-002: Define function overloading editorial decided FO
+qt-2004Feb1057-01 [F+O] Links are to XQuery not XPath editorial decided FO
+qt-2004Feb0975-01 [F&O] IBM-FO-107: F&O editorial comments editorial decided FO
+qt-2004Feb0971-01 [F&O] IBM-FO-103: List describing how collation is determined doesn't account for "system defined default" editorial decided FO
+qt-2004Feb0969-01 [F&O] IBM-FO-101: Error prefix "err" is undefined editorial decided FO
+qt-2004Feb0917-01 ORA-FO-378-E: Please move "Namespaces and prefixes" prior to any use of these namespaces editorial decided FO
+qt-2004Feb0916-01 ORA-FO-376-E: please associate prefixes with namespaces editorial decided FO
+qt-2004Feb0915-01 ORA-FO-343-E: Incorrect, and not perfectly correctable, reference editorial decided FO
+qt-2004Feb0914-01 ORA-FO-342-E: Incorrect reference editorial decided FO
+qt-2004Feb0913-01 ORA-FO-338-E: what is an "unsuitable collation"? editorial decided FO
+qt-2004Feb0912-01 ORA-FO-337-E: Unclear wording: "the collation may fail", "the system may reject it" editorial decided FO
+qt-2004Feb0909-01 ORA-FO-334-E: Terminology: "implementation defined" is not hyphenated editorial decided FO
+qt-2004Feb0908-01 ORA-FO-288-C: Are xdt:untypedAtomic values distinct or not distinct? editorial decided FO
+qt-2004Feb0905-01 ORA-FO-251-E: move 15.4.2 and 15.4.3 to section 14 editorial raised FO
+qt-2004Feb0902-01 ORA-FO-248-C: need to clarify the behavior of union, intersect and except editorial decided FO
+qt-2004Feb0901-01 ORA-FO-265-E: Most error codes are not explained by natural language text editorial raised FO
+qt-2004Feb0898-01 ORA-FO-202-B: 17.10, Missing "otherwise" cases needed to specify the error editorial decided FO
+qt-2004Feb0897-01 ORA-FO-201-E: simplification for eg:convertTZtoString editorial decided FO
+qt-2004Feb0896-01 ORA-FO-200-E: CTZ (current time zone) is never used editorial decided FO
+qt-2004Feb0895-01 ORA-FO-199-B: missing function invocation in example editorial decided FO
+qt-2004Feb0894-01 ORA-FO-198-E: missing comma editorial decided FO
+qt-2004Feb0893-01 ORA-FO-197-C: casting between dayTimeDuration and yearMonthDuration editorial decided FO
+qt-2004Feb0892-01 ORA-FO-196-E: unnecessary cast to string before cast to duration editorial decided FO
+qt-2004Feb0890-01 ORA-FO-194-E: 17.9, Fourth bullet deals with an impossible case editorial decided FO
+qt-2004Feb0889-01 ORA-FO-190-E: hyperlink could be more specific editorial decided FO
+qt-2004Feb0888-01 ORA-FO-189-E: unnecessary references to xs:anySimpleType editorial decided FO
+qt-2004Feb0886-01 ORA-FO-187-E: excessive claim for this section (casting from primitive types to primitive types) editorial decided FO
+qt-2004Feb0885-01 ORA-FO-172-E: need examples of both normalized value and localized value editorial decided FO
+qt-2004Feb0884-01 ORA-FO-171-E: indentation scheme is not strictly followed editorial decided FO
+qt-2004Feb0883-01 ORA-FO-170-E: use narrower indentations to get the whole type hierarchy on normal width paper editorial raised FO
+qt-2004Feb0882-01 ORA-FO-168-E: confusing paragraph describing the use of "?" editorial decided FO
+qt-2004Feb0881-01 ORA-FO-167-E: "numeric" as a return type is not properly specified editorial decided FO
+qt-2004Feb0733-01 ORA-FO-193-B: incorrect use of "maximum value" and "minimum value" editorial decided FO
+qt-2004Feb0725-01 ORA-FO-183-B: fn:get-timezone-from-dateTime imprecise specification editorial decided FO
+qt-2004Feb0723-01 ORA-FO-181-B: imprecise specification in case of negative durations editorial decided FO
+qt-2004Feb0720-01 ORA-FO-178-B: "truncating division" is too vague editorial decided FO
+qt-2004Feb0719-01 ORA-FO-177-B: need to specify how to compute the remainder when dividing negative numbers editorial decided FO
+qt-2004Feb0717-01 ORA-FO-175-B: things you can say about precision of the result editorial decided FO
+qt-2004Feb0716-01 ORA-FO-173-B: nonrecursive definition of something that probably should be recursive editorial decided FO
+qt-2004Feb0715-01 ORA-FO-169-B: inconsistency between diagram and tabular hierarchy editorial decided FO
+qt-2004Feb0360-01 [F&O] XSCH-FO-009 Editorial editorial decided FO
+qt-2004Feb0356-01 [F&O] XSCH-FO-004 fn:escape-uri and percent editorial acknowledged FO
+qt-2004Feb0355-01 [F&O] XSCH-FO-003 fn:data algorithm description editorial raised FO
+qt-2004Feb0353-01 [F&O] XSCH-FO-001 Tabular type hierarchy errors editorial decided FO
+qt-2004Feb0343-01 [F&O] C.6 Working With xs:duration Values editorial decided FO
+qt-2004Feb0342-01 [F&O] 15.4.4 fn:doc editorial decided FO
+qt-2004Feb0341-01 [F&O] 15.3.4 fn:min editorial decided FO
+qt-2004Feb0340-01 [F&O] 15.3.3 fn:max editorial decided FO
+qt-2004Feb0337-01 [F&O] 15.1.14 fn:unordered editorial decided FO
+qt-2004Feb0336-01 [F&O] 15.1.10 fn:insert-before editorial decided FO
+qt-2004Feb0335-01 [F&O] 9.7.1 fn:subtract-dateTimes-yielding-yearMonthDuration editorial decided FO
+qt-2004Feb0334-01 [F&O] 9.5 Arithmetic Functions on xdt:yearMonthDuration and xdt:dayTimeDuration editorial decided FO
+qt-2004Feb0333-01 [F&O] 9.4.18 fn:get-hours-from-time editorial decided FO
+qt-2004Feb0332-01 [F&O] 9.4.11 fn:get-minutes-from-dateTime editorial decided FO
+qt-2004Feb0324-01 [F&O] 2.5 fn:document-uri editorial decided FO
+qt-2004Feb0322-01 [F&O] 1.4 Type Hierarchy editorial decided FO
+qt-2004Feb0164-01 [F&O] 17.10 example functions (editorial) editorial decided FO
+qt-2004Feb0092-01 [F&O] No error number for "invalid timezone value" (editorial) editorial decided FO
+qt-2004Feb0091-01 [F&O] fn:id 'space-separated sequence of tokens' editorial decided FO
+qt-2004Feb0090-01 [F&O] Errors that are never referenced (editorial) editorial decided FO
+qt-2004Feb0089-01 [F&O] Deep equal nodes with different IDs? editorial decided FO
+qt-2004Feb0088-01 [F&O] Appendix B not up to date editorial decided FO
+qt-2004Jan0090-01 [F&O] Inconsistent formatting of error conditions editorial decided FO
+qt-2003Dec0285-01 Xquery Functions and Operators: Section 14.1.4 fn:number editorial decided FO
+qt-2003Dec0172-01 Does fn:data preserve order for list types? editorial decided FO
+qt-2003Dec0084-01 [F&O] 14 Functions and Operators on Nodes editorial decided FO
+qt-2003Dec0048-01 [F&O] 6.2.6 op:numeric-mod editorial decided FO
+qt-2003Dec0030-01 [FO]: OB02 escape-uri example editorial decided FO
+qt-2003Dec0029-01 Re: [FO]: OB01 escape-uri editorial decided FO
+qt-2003Dec0028-01 [FO]: OB01 escape-uri editorial decided FO
+qt-2003Nov0277-01 [F&O] Examples 15.2.2, 15.2.3, 15.2.4 (op:union, op:intersect, op:except) editorial decided FO
+qt-2003Nov0276-01 [F&O] 15.2.1.2 Examples (fn:deep-equal) editorial decided FO
+qt-2003Nov0274-01 [F&O] 15.1.14 fn:unordered editorial proposed FO
+qt-2003Nov0273-01 [F&O] 15.1.9 fn:distinct-values editorial decided FO
+qt-2003Nov0270-01 [F&O] 15. Functions and operations on sequences -- Editorial editorial decided FO
+qt-2003Nov0243-01 [F&O] +INF editorial decided FO
+qt-2003Nov0241-01 [F&O] Old 'string mode' text editorial decided FO
+qt-2003Nov0239-01 [F&O] op:numeric-mod editorial decided FO
+qt-2003Nov0209-01 [F&O] C.5 isnot editorial decided FO
+qt-2003Nov0208-01 [F&O] C.4 and C.5 editorial decided FO
+qt-2003Nov0205-01 [F&O] 14.1.5 fn:lang editorial decided FO
+qt-2003Nov0190-01 Editorial: pref vs. pre editorial decided FO
qt-2004Sep0027-01: A typing mistake in Working Draft
[typo, decided] 2004-09-05
A typing mistake in Working Draft, Mukul Gandhi (2004-09-05)
X(n,}? matches X, at least n times

Would it not be X{n,}? ...
(i.e. a left curly bracket instead of a left round
bracket)

STATUS:  Fixed


    
qt-2004Mar0102-01: [FO] MS-FO-LC2-017
[typo, decided] 2004-03-06
[FO] MS-FO-LC2-017, Michael Rys (2004-03-06)

Section 15.4.4 fn:doc	
Editorial	

Make the return type bold as the type is defined in the formal semantics
(the type is potentially found in the static document map context).

RATIONALE:  The return type is bold only if the type of the return
depends on the type of the arguments.  Not the case here.

    
qt-2004Feb0880-01: ORA-FO-166-E: typo
[typo, decided] 2004-02-17
ORA-FO-166-E: typo, Stephen Buxton (2004-02-17)

SECTION Status

The bullet reading "The rules for converting numbers to strings have 
be amplified..." has a typo (change "be" to "been").


- Steve B.

STATUS:  Overtaken by events.

    
qt-2003Nov0242-01: [F&O] accommodate (editorial)
[typo, decided] 2003-11-21
[F&O] accommodate (editorial), Priscilla Walmsley (2003-11-21)

Throughout F&O, accommodate is misspelled; it has two m's.

Thanks,
Priscilla

STATUS:  Editorial. Fixed.

    
qt-2003Nov0213-01: [F&O] 0E0.0 should be 0.0E0
[typo, decided] 2003-11-17
[F&O] 0E0.0 should be 0.0E0, Sarah Wilkin (2003-11-17)

In the new spec, 0E0.0 is used in several places where it should be 
0.0E0. For example, see the substring examples (7.4.3.1).

--Sarah

STATUS:  Editorial.  Will fix as needed.

    
qt-2003Nov0202-01: [F&O] Editorial comment
[typo, decided] 2003-11-17
[F&O] Editorial comment, Alberto Massari (2003-11-17)

In section 7.1, the second note has the following sentence:
   "In functions that involve character counting [...] what is counted
   is the of XML characters [...]"
It seems to me that the word "number" is missing

Alberto

STATUS:  Editorial.  Fixed.

    
qt-2004Oct0000-01: Define the error namespace
[substantive, raised] 2004-10-02
Define the error namespace, Kanad Dixit (2004-10-02)
We think that there are two possible problems out here. 
  
1. Default namespace : 
The XQuery draft does not define any standard namespace like "err" which would be present by default. 
Such kind of default namespace would be useful.  A namespace defined in the draft: http://www.w3.org/2004/07/xqt-errors/
does not give details of any error codes to be used.
If a default namespace err is provided, then user would not have to define the namespace explicitly when he/she wishes to do some error handling. 

2. User defined namespaces and error codes.
The draft does not speak much about how a user can define his own namespace and error codes for errors. 
Is it possible to do this in XQuery ? It would be great to have some information on this aspect in the draft.
qt-2004Sep0068-01: Request function to remove trailing spaces from string
[substantive, raised] 2004-09-16
It would be beneficial to have a
function that removes trailing spaces from a string value (as in SQL's rtrim
function).
 
The reason is that fixed character RDBMS columns end up being mapped (per
the SQL 2003 spec) with trailing spaces where needed. That's nice, as it
fully exposes the available RDBMS information, but often these trailing
spaces have no real meaning for the application.

Mike Kay suggests use fn:normalize-space: 
http://lists.w3.org/Archives/Public/public-qt-comments/2004Sep/0069.html

xs-2004Sep0057-01: normalization and xs:date
[substantive, raised] 2004-09-13
normalization and xs:date, Andrew Eisenberg (2004-09-13)
I don't think that the concept of normalized value applies to xs:date. 
There is no equivalent value to xs:date('2004-09-09-04:00') that uses 'Z'.
xs:date('2004-09-09-04:00') and xs:date('2004-09-09Z') are not equal.
qt-2004Sep0043-01: [F&O] 14.1.3 fn:namespace-uri can no longer return a string
[substantive, acknowledged] September 28, 2004
In F&O 14.1.3, namespace-uri was changed to return an xs:anyURI instead 
of an xs:string. The sentence "If $arg is the empty sequence, the 
zero-length string is returned" is no longer valid. There may be other 
occurrences of this in the document where xs:string was changed to 
xs:anyURI.

In similar cases (11.2.3) the signature is xs:anyURI?.

So either:
fn:namespace-uri() as xs:anyURI?
fn:namespace-uri($arg as node()?) as xs:anyURI?

If $arg is the empty sequence, the empty sequence returned.

or:
fn:namespace-uri() as xs:anyURI
fn:namespace-uri($arg as node()?) as xs:anyURI

If $arg is the empty sequence, xs:anyURI("") is returned.

Mike Kay in http://lists.w3.org/Archives/Public/public-qt-comments/2004Sep/0044.html 
recommends we treat the empty string as a valid URI and return it.

The WGs agreed on 2004-09-28 that the zero-length string was a valid URI 
and that this comment could be closed with appropriate editorial changes.
Acknowledged.
qt-2004Sep0020-01: [XQuery]&[F&O] fn:error: function parameters
[substantive, decided] September 28, 2004
[XQuery]&[F&O] fn:error: function parameters, Andrey Fomichev (2004-09-03)
According to F&O fn:error function must have the first parameter of
type xs:QName if it has any. For example, fn:error with only one
parameter has the following signature:

fn:error($error as xs:QName) as none

But '2.5.2 Handling Dynamic Errors' section of [XQuery] gives the 
following example of using fn:error

fn:error(fn:concat("Unexpected value ", fn:string($v)))

So, fn:error is called with the value of type xs:string. Sometimes, 
strings are castable to xs:QName, but it's not this case...

Would like a signature fn:error(xs:string)

The WGs agreed on 2004-09-28 to change the third and fourth signatures 
of fn:error to allow the empty sequence as the first argument with the semantic
that this indicated the QName err:FOER0000 - Unidentified error.
qt-2004Aug0048-01: appeal for fn:match and fn:apply
[substantive, decided] August 27, 2004
appeal for fn:match and fn:apply, Mark D. Anderson (15 Aug 2004)

Two functions that I'd like to see added to xquery operators are:

  fn:match($input as xs:string?, $pattern as xs:string,   $flags as
  xs:string) as xs:string*
  fn:match($input as xs:string?, $pattern as xs:string) as xs:string*

The function fn:match supports capturing parentheses:

  fn:match("alpha/beta/gamma", "^(\w*).*(\w*)$") returns ("alpha",
  "gamma")

It the entire pattern does not match, then it returns the empty
sequence.

   fn:apply($funcname as xs:QName, $args as xs:anyType*) as xs:anyType*

The function fn:apply allows calling a function whose name may not be
known statically, for example based on input.

   let $f1 := 'fn:sum';
   let $call := <fn:sum><arg1>1</arg1><arg2>2</arg2></fn:sum>

   fn:apply($f1, (1, 2))
   fn:apply(fn:name($f1), $call/text())

The function fn:apply does not allow for arguments which are themselves
sequences, since nested sequences are not allowed in XQuery.

An alternative would be fn:call with versions for any arity:
fn:call($funcname as xs:QName) as xs:anyType*
fn:call($funcname as xs:QName, $arg1 as xs:anyType*) as xs:anyType*
fn:call($funcname as xs:QName, $arg1 as xs:anyType*, $arg2 as
xs:anyType*) as xs:anyType*
....

The WGs agreed on 2004-08-26 not to add the requested functionality.
xs-2004Aug0063-01: Deterministic casting
[substantive, decided] September 1, 2004
Deterministic casting, Don Chamberlin (13 Aug 2004)

Currently the casting table in Section 17.1 of Functions and Operators 
shows that xs:time can be cast into xs:dateTime. In Section 17.10, Rule 2 
states that this cast is done by merging the given time with the current 
date. But this rule makes the cast from xs:time to xs:dateTime 
nondeterministic. Every day it gives a different result. This kind of 
nondeterminism is very undesirable. It makes queries nonreproducible and 
it makes casting very difficult to test.

A user who attempts to cast an xs:time into an xs:dateTime is probably 
confused. It is dangerous to silently append the date on which the query 
happens to be running. It would be far better to make it an error to cast 
an xs:time into an xs:dateTime, and to provide an explicit two-operand 
constructor to construct an xs:dateTime from an xs:date and an xs:time. 
This would support the current functionality and more as well, would be 
safer, and would keep all our casts deterministic.

Proposal:
(1) In Section 17.1, change the table to show that xs:time is not castable 
into xs:dateTime.

(2) In Section 17.10, delete the rules that show how xs:time is cast into 
xs:dateTime.

(3) Introduce a new constructor function:
fn:dateTime($arg1 as xs:date, $arg2 as xs:time) as xs:dateTime
Note that both arguments are required (neither can be an empty sequence).
If a user wishes one of the arguments to be the current date or the 
current time, she can generate this argument by calling fn:current-date() 
or fn:current-time(). 

It has been noted that the proposed function can be defined as follows:
declare function fn:dateTime($arg1 as xs:date, $arg2 as xs:time) 
   as xs:dateTime 
   { xs:dateTime($arg1) + ($arg2 - xs:time('00:00:00')) }
Nevertheless, I believe that the proposed function should be built-in 
rather than user-defined. The namespace of the new function could be 
either fn: or xs: (following the convention of the other constructor 
functions).

The WGs agreed to make the recommended changes.
qt-2004Mar0243-01: Fw: [F&O] IBM-FO-108: Normative definition of case mapping
[substantive, decided] May 25, 2004
From the minutes of the 2004-03-16 minutes of the joint telecon on 
F&O issues [1]:
<<
5. Normative description of case mapping
http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0979.html
http://lists.w3.org/Archives/Public/public-qt-comments/2004Jan/0037.html
ACTION HZ will propose.
ACTION MHK reply to Igor Herscht.
>>

     The problem that we were trying to point out in qt-2004Feb0979-01 [2] 
was that the first entry in the table in Section 1.2 of Unicode TR#21 [3] 
states, in part, "Only legacy implementations that cannot handle case 
mappings that increase string lengths use UnicodeData case mappings 
alone."  The penultimate paragraph of that section states, in part, "The 
full case mappings for Unicode characters are obtained by using the 
mappings from SpecialCasing plus the mappings from UnicodeData, excluding 
any latter mappings that would conflict."

     Similarly, the first paragraph of Section 2.3 of TR#21 [4] reads as 
follows.

<<
The following specify the default case conversion operations for Unicode 
strings, in the absence of tailoring. In each instance, there are two 
variants: simple case conversion and full case conversion. In the full 
case conversion, the context-dependent mappings mentioned above must be 
used.
>>

     All this seems to admit of (at least) two possible case mappings.  We 
believe that full case conversion was intended.

     I propose that in the first paragraph of each of Section 7.4.7 of 
F&O, we change "The precise mapping is determined using [Unicode Case 
Mappings]," to read "The precise mapping is the full case mapping variant 
of the toUpperCase operation defined in [Unicode Case Mappings],"  with an 
analogous change to 7.4.8.

Thanks,

Henry
[2] http://lists.w3.org/Archives/Member/w3c-xsl-query/2004Mar/0096.html
[3] 
http://www.w3.org/XML/Group/xsl-query-specs/last-call-comments/xpath-functions/issues.html#qt-2004Feb0979-01
[4] http://www.unicode.org/reports/tr21/tr21-5.html#Data
[5] 
http://www.unicode.org/reports/tr21/tr21-5.html#Case_Conversion_of_Strings
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com

    
The WGs agreed to clarify the wording.  Since the reference to
TR#21 is outdated we agreed to change to refer to Unicode 4. Joint WGs telcon, May 25, 2004.
qt-2004Mar0225-01: casting NOTATION to string
[substantive, decided] September 2, 2004
casting NOTATION to string, David Carlisle (2004-03-19)


The comment is based on the entry in the Xquery document


> err:XQ0052 
> 
>   It is a dynamic error if the content of an element or attribute
>   constructor includes an atomic value that cannot be cast into a string,
>   such as a value of type xs:QName or xs:NOTATION. 

But it presumably applies to XPath and so XSLT as well, so I have not
prefixed the subject line with [Xquery]

I can see that there are problems with casting QNames due to prefix
bindings but NOTATION (and also ID, etc)  do not have this problem as
they are NCNames and don't have a prefix (or take part in namespace
processing) so the URI part of the QName should always be "".
as such there should be a trivial casting to string, namely taking the
name() = local-name().


schema part 1 says:
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cNotation_Declarations

Schema Component: Notation Declaration 
{name} 
An NCName as defined by [XML-Namespaces]. 
   ^^

XML namespaces 1.0 was famously vague on this point but the wording is
clarified in 1.1:

http://www.w3.org/TR/2004/REC-xml-names11-20040204/#Conformance

    No attributes with a declared type of ID, IDREF(S), ENTITY(IES), or
    NOTATION contain any colons.


David

    
Resolved with the adoption of the 'triples' proposal: http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2004Jun/0090.html
qt-2004Mar0212-01: [F&O] IBM-FO-044: Errors in casting and constructors
[substantive, decided] April 15, 2004
(IBM-FO-044): The F&O document, section 17 (Casting) says "Constructor 
functions and cast expressions ... both convert a value to a given type 
with identical semantics and different syntax."  The XQuery language 
document agrees, in Section 3.12.5 (Constructor Functions): "The 
constructor function for type T .... has exactly the same semantics as a 
cast expression with target type T."

But this equivalence does not seem to extend to error messages. 

(a) The language document, Section 3.12.3 (Cast) says that a Cast 
expression can raise a type error (XQ0004 or XP0006), a dynamic error 
XQ0021 ("value cannot be cast to the required type"), or a dynamic error 
XQ0029 ("value does not satisfy facets of target type"). The language 
document does not list any errors for constructor functions.

(b) The F&O document, on the other hand, lists various casting-related 
error messages with names like "error in casting to decimal", "error in 
casting to integer", "invalid value for cast", etc. Some target types have 
specific error messages, but most do not. It is generally not specified 
which errors are dynamic and which are static.

The language document and the F&O document are not consistent in their 
handling of errors in casting, and it is not clear whether cast 
expressions and constructor functions return the same error messages. This 
latter property would be beneficial because it would allow implementations 
to transform cast expressions into constructor functions.

--Don Chamberlin

    
Minutes of San Jose meeting.  XQuery will align its error
messages with F&O.
qt-2004Mar0211-01: [F&O] IBM-FO-043: OK to cast an empty sequence
[substantive, acknowledged] June 1, 2004
(IBM-FO-043): Section 17 (Casting), paragraph 3 says "If an empty sequence 
is passed to a cast expression, an error is raised [invalid value for 
cast]." This is not correct. The XQuery syntax provides a way for the user 
to specify whether empty sequences are acceptable in a path expression. 
This feature was first added to the XQuery language document in the Nov. 
15, 2002 version, after discussions at the Query Working Group meeting at 
Chapel Hill, NC. The feature is described in the XQuery language document, 
Section 3.12.3 (Cast) as follows:

If the result of atomization is an empty sequence:
(a) If ? is specified after the target type, the result of the cast 
expression is an empty sequence.
(b) If ? is not specified after the target type, a type error is raised. 
[XQ0004] [XP0006]

This part of the F&O document should be made consistent with the language 
document.

--Don Chamberlin

    
The WGs agreed to accept the suggestion at the San Jose meeting.
Acknowledged.
qt-2004Mar0188-01: fn:substring: explanation of negative or zero $startingLoc behaviour
[substantive, decided] May 26, 2004

F and O: 7.4.3 fn:substring()

The explanation of $startingLoc in 7.4.3 reads, "If $startingLoc is zero or
negative, the substring includes characters from the beginning of the
$sourceString." I find the meaning of the phrase "from the beginning of the
$sourceString" to be unclear and can't find any other reference to the
concept of negative character positions within a string.

Out-of-band communication on the www-ql list seems to indicate that the
concept of "imaginary character positions" preceding the physical start of
the string might be a useful way of explaining zero or negative $startingLoc
behaviour. I'd suggest the addition of this or a similar explanation to
7.4.3.

Howard

    
The WGs agreed to clarify the wording and add an example.  Joint
WGs telcon May 26, 2004
qt-2004Mar0111-01: [FO] MS-FO-LC2-024
[substantive, raised] 2004-03-06
[FO] MS-FO-LC2-024, Michael Rys (2004-03-06)

General 
Conformance	

Make explicit collation argument support an optional feature.

NOTE: This comment marks the end of our comments on the data model,
serialization, XQuery and F&O documents. We reserve the right to send
individual comments on issues that we may discover later.

    
qt-2004Mar0110-01: [FO] MS-FO-LC2-023
[substantive, raised] 2004-03-06
[FO] MS-FO-LC2-023, Michael Rys (2004-03-06)

General		
Conformance	

There are way too many functions (especially datetime and duration
functions). Please allow implementations to define function profiles as
part of a feature subsetting.

    
qt-2004Mar0108-01: [FO] MS-FO-LC2-021
[substantive, decided] May 26, 2004
[FO] MS-FO-LC2-021, Michael Rys (2004-03-06)

Section 17	Casting	
Editorial/Technical	

The casting rules from string to integer are unclear: How can I cast a
string "2.0" to and integer and get an error if I try to cast "2.8"?

    
The WGs ruled that the rules are clear and that no change is needed. Joint
WGs telcon May 26, 2004
qt-2004Mar0107-01: [FO] MS-FO-LC2-020
[substantive, raised] 2004-03-06
[FO] MS-FO-LC2-020, Michael Rys (2004-03-06)

Section 16.6 fn:default-collation	
Conformance	

Make support for this function optional dependent on whether explicit
collation support is provided. 

    
qt-2004Mar0105-01: [FO] MS-FO-LC2-016
[substantive, acknowledged] May 25, 2004
[FO] MS-FO-LC2-016, Michael Rys (2004-03-06)

Section 15.4.4 fn:doc	
Technical	

Remove the sentence about not containing a fragment identifier. That
should be handled by the URI resolver. However please keep that the
result is always a document node or the empty sequence.

    
WGs agreed to remove the sentence and make other changes to the
wording to make it consistent. Joint WGs telcon, May 25, 2004.
Accepts the decision
qt-2004Mar0104-01: [FO] MS-FO-LC2-019
[substantive, acknowledged] May 27, 2004
[FO] MS-FO-LC2-019, Michael Rys (2004-03-06)

Section 15.4.5 fn:collection	
Technical	

Not every XQuery implementations provides for collection support and
even if they do, they often have to provide an implementation specific
argument list and implementation specific semantics (stable or not
stable etc.). Since this leads to a high-degree of non-interoperable
behaviour, we recommend cutting this function.

    
The WGs decided not to remove the function
Accepts decision.  Hopes it will be made optional.
qt-2004Mar0106-01: [FO] MS-FO-LC2-018
[substantive, acknowledged] May 25, 2004
[FO] MS-FO-LC2-018, Michael Rys (2004-03-06)

Section 15.4.4 fn:doc	
Editorial/Technical	

The following sentence (and remainder) should be removed and/or
rewritten: "The data resulting from the retrieval action is then parsed
as an XML document and a tree is constructed in accordance with the
[XQuery 1.0 and XPath 2.0 Data Model]. " The URI may point to a
pre-parsed document and the current wording implies that the function
needs to perform the parsing.

    
This has been overtaken by events.  Wording no longer exists in
this form.  Joint WGs telcon, May 25, 2004.
Accepts the decision
qt-2004Mar0099-01: [FO] MS-FO-LC2-012
[substantive, acknowledged] August 24, 2004
[FO] MS-FO-LC2-012, Michael Rys (2004-03-06)

Section 15.1.14	fn:unordered
Editorial/Technical

Please use the following definition (and maybe change name to
fn:unorder()): Returns the input sequence in a non-deterministic order.

    
The WGs agreed to accept the suggested rewording.
Acknowledged.
qt-2004Mar0095-01: [FO] MS-FO-LC2-008
[substantive, decided] May 26, 2004
[FO] MS-FO-LC2-008, Michael Rys (2004-03-06)

Sections 10.2.2/14.1.2	
Technical	

Change result type to xs:NCName? of functions
fn:get-local-name-from-QName/fn:local-name. This is more precise and
will be more useful if passed to another function argument that expects
xs:NCName.

    
The WGs agreed to change the return type of
fn:get-local-name-from-QName as suggested but declined to change the
return type on fn:local-name.  Joint
WGs telcon May 26, 2004
qt-2004Mar0093-01: [FO] MS-FO-LC2-007
[substantive, objected] September 2, 2004
[FO] MS-FO-LC2-007, Michael Rys (2004-03-06)

Section 9.1.1 Limits and Precision	
Conformance	

We would like the minimal required range of years to be [0,9999].

    
The WGs declined to make the recommended changes.  Can be brought up
again during CR
Objected.
qt-2004Mar0090-01: [FO] MS-FO-LC2-003
[substantive, raised] 2004-03-06
[FO] MS-FO-LC2-003, Michael Rys (2004-03-06)

Section 1.6		
Technical	

We reiterate our comment submitted during our first last call review at
http://lists.w3.org/Archives/Public/public-qt-comments/2003Jun/0072.html
about the problem of the current requirement to preserve Timezones on
datetime values. 

    
qt-2004Mar0089-01: [FO] MS-FO-LC2-002
[substantive, acknowledged] May 29, 2004
[FO] MS-FO-LC2-002, Michael Rys (2004-03-06)

Section 5 Constructor Functions 
Technical

Constructor function signatures should have the following signature:

pref:TYPE($arg as xdt:anyAtomicType?) as pref:TYPE?

See also comment MS-XQ-LC1-121
(http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0529.htm
l) 

    
The WGs agreed to accept the suggestion at the San Jose meeting.
Acknowledged.
qt-2004Mar0063-01: [F&O] LQ-FO-001 - random numbers
[substantive, decided] April 19, 2004
[F&O] LQ-FO-001 - random numbers, Liam Quin (2004-03-04)

Many languages provide a random number generator.  This can
be useful for testing; in my cases I wanted it as part of
generating SVG images.

Although it's possible to write a random number generator in
XQuery, it's hard to do with any efficiency, because a random()
function will always return the same random number (e.g. there's
no assignment to global or hidden variables).

Two obvious workarounds are (1) an external function, which isn't
always possible and isn't likely to be interoperable, and (2)
writing a function random(n) which returns the nth random
number in a series; this can then moderately easily be written
as a recursive function, with some care to avoid overflow.

I'd like to suggest either
(1) adding a random() function, possibly with an integer argument
    as outlined above, or,

(2) defining (in the future) a set of commonly needed external
    functions, and possibly adding a way to indicate that an
    external function may return different values on multiple
    invocations.

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/

    
Decided not to add the functionality requested at San Jose
meeting, 4/13/2004.
qt-2004Mar0061-01: [F&O] LQ-FO-002 - file exists
[substantive, decided] April 19, 2004
[F&O] LQ-FO-002 - file exists, Liam Quin (2004-03-04)

There's no easy way right now to check for the existance of a
local file except by trying to parse (and possibly validate) it
with document().

For example, consider using XML Query to generate an XHTML
Web page with embedded images.  One might not want to
include an image if the file isn't there, but there's no
way to test for a non-XML file in F&O today.

I suggest adding
    file-exists($fname as XS:string)

An alternative I shall propose in a separate comment is to
provide more access to an implementation's underlying
URI resolver library.

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/

    
Decided not to add the functionality requested at San Jose
meeting, 4/13/2004.
qt-2004Mar0060-01: [F&O] LQ-FO-03 - extended access to URI resolver
[substantive, decided] April 19, 2004

F&O currently provides limited access to URL resolution via
fn:document() (section 15.5.4).

There's no support for HTTP POST, nor for MIME parameters,
nor for query parameters.

There's also no clear indication of a result code, nor access
to language or media type information, if available.

If resolution fails, or if parsing the resulting resource
representation as XML fails, a fatal error is raised.

In the absence of a try/catch mechanism, having URI resulution
failure be a fatal error means you can't probe for the existence
of a document.

I propose that we supply a resolve-uri function, and that document() be
defined in terms of resolve-uri.  This adds significant functionality to
XQuery without a large additional cost, because implementations already
have such a resolver.

The following proposal is a little half-baked right now.  I'm looking for
the minimum that would be enough for XQ to build on later.  I'm worried
that if we neither support Web Services directly nor open up the URI
resolver it'll be really hard to add WSDL support later - and also that we
may have problems with internationalized queries and content negotiation.

If there's interest, I'm prepared to work on making this a more
robust proposal.  Leaving it for a future version would be a
satisfactory response for me if file-exists() and some form
of WSDL support are defined.

*


function resolve-uri($uri,$method,$http-params,$uri-params)
resolves the given URI using the given method (GET, HEAD, POST, etc) if
appropriate, and with the given parameters, e.g. as key/value pairs for POST.
The URI parameters are a sequence alternating between a string and an item
(ewwww, or is it better to use
    <param><name>xxx</name><value>yyy</value></param>,
since the efficiency loss is minimal compared to the amount of I/O involved?)
They might go after a ? separated by ; or & for an HTTP GET, e.g.
    http://www.example.com/search.cgi?q=frog
The optional Mime parameters are in the same format, and are most likely to be
an Accept list (e.g. to generate Accept: text/*, application/*) but can also be
used for content negotiation to support internationalisation.

resolve-uri returns a sequence:
    (1) a result code, as per HTTP and (compatibly) FTP; for a file: URL,
    the only likely codes are 20x OK, 40x fail, or maybe 30x redirected.
    A code starting with a 2 indicates success.

    (2) a string, the URI actually fetched, which may differ from that
    requested, for example because of symbolic links/shortcuts or because
    of HTTP redirects

    (3) the MIME Media type

    (4) the result, which in the case of error may be the empty sequence
    or may be an (X)HTML document describing the error.  In the case of
    multi-part responses, the result may be a sequence of document nodes.


Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/

    
Decided not to add the functionality requested at San Jose
meeting, 4/13/2004.
qt-2004Mar0056-01: F&O, XQuery language: Schema document for xdt namespace
[substantive, decided] September 7, 2004