|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[Bug 5985] New: converting a sequence into a stringhttp://www.w3.org/Bugs/Public/show_bug.cgi?id=5985 Summary: converting a sequence into a string Product: XPath / XQuery / XSLT Version: Working drafts Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: XQuery 1.1 AssignedTo: jonathan.robie@... ReportedBy: jmdyck@... QAContact: public-qt-comments@... Four sections in the XQuery 1.0 spec: 3.7.1.1 Attributes 3.7.3.2 Computed Attribute Constructors 3.7.3.5 Computed Processing Instruction Constructors 3.7.3.6 Computed Comment Constructors have substantially the same chunk of text, for converting an XDM sequence into a string value: 1. Atomization is applied to the [input], converting it to a sequence of atomic values. 2. If the result of atomization is an empty sequence, the [output] is the zero-length string. Otherwise, each atomic value in the atomized sequence is cast into a string. 3. The individual strings resulting from the previous step are merged into a single string by concatenating them with a single space character between each pair. The resulting string [is the output]. Could these be abstracted into a single concept/process for 1.1? -- 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. |
|
|
[Bug 5985] converting a sequence into a stringhttp://www.w3.org/Bugs/Public/show_bug.cgi?id=5985 Michael Kay <mike@...> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike@... --- Comment #1 from Michael Kay <mike@...> 2008-08-24 21:28:07 --- For information, XSLT 2.0 collects these up into a a single procedure described at http://www.w3.org/TR/xslt20/#constructing-simple-content The XSLT procedure is slightly different from the XQuery procedure, in that it discards zero-length text nodes and merges adjacent text nodes before atomizing. This is largely to ensure that XSLT 2.0 behaves in the same way as 1.0. -- 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. |
|
|
[Bug 5985] [XQuery 1.1] converting a sequence into a stringhttp://www.w3.org/Bugs/Public/show_bug.cgi?id=5985 Jonathan Robie <jonathan.robie@...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Jonathan Robie <jonathan.robie@...> 2008-11-03 21:27:31 --- This would absolutely be an improvement. -- 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. |
|
|
[Bug 5985] [XQuery 1.1] converting a sequence into a stringhttp://www.w3.org/Bugs/Public/show_bug.cgi?id=5985
Jonathan Robie <jonathan.robie@...> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Keywords| |needsDrafting Resolution| |FIXED --- Comment #3 from Jonathan Robie <jonathan.robie@...> 2009-11-05 18:39:58 --- The WG decided to leave this to the discretion of the editor. This change is purely editorial. -- 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. |
| Free embeddable forum powered by Nabble | Forum Help |