This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1360 - assure normalization sensitivity for operations like e.g. concat and join
Summary: assure normalization sensitivity for operations like e.g. concat and join
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 1.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Ashok Malhotra
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-11 04:52 UTC by Felix Sasaki
Modified: 2005-06-22 08:56 UTC (History)
0 users

See Also:


Attachments

Description Felix Sasaki 2005-05-11 04:52:47 UTC
http://www.w3.org/International/2005/02/xq-func-op-review.html Comment ID: 8
Comment 1 Felix Sasaki 2005-05-18 19:56:37 UTC
(In reply to comment #0)
> http://www.w3.org/International/2005/02/xq-func-op-review.html Comment ID: 8

Is there a concat operation that includes normalization splicing at the contact
point? This would be very helpful, and ideally should be the default, because
this may be the most efficient way to maintain a certain normalization. The same
applies to string-join and potentially other operations.
Comment 2 Michael Kay 2005-05-18 20:42:21 UTC
You can do

normalize-unicode(concat($a, $b))

If vendors think this is an important use case then they can easily detect this
pattern and optimize it. 

Michael Kay
(personal response)
Comment 3 Felix Sasaki 2005-05-19 11:51:34 UTC
(In reply to comment #2)
> You can do
> 
> normalize-unicode(concat($a, $b))
> 
> If vendors think this is an important use case then they can easily detect this
> pattern and optimize it. 
> 
> Michael Kay
> (personal response)

Could you give "normalize-unicode(concat($a, $b))" as an example in sec. 
7.4.1.1 (the one on concat) and explain the role of the combination of these 2
functions, e.g. "The application of normalize-unicode is the most efficient way
to maintain a certain normalization for the concat operation"? This would
resolve the commment (in my view).

Felix Sasaki
(personal response)
Comment 4 Felix Sasaki 2005-05-25 05:40:05 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > http://www.w3.org/International/2005/02/xq-func-op-review.html Comment ID: 8
> 
> Is there a concat operation that includes normalization splicing at the contact
> point? This would be very helpful, and ideally should be the default, because
> this may be the most efficient way to maintain a certain normalization. The same
> applies to string-join and potentially other operations.

the i18n-core-wg reached consensus about this comment in this version, at the
telecon 25 may 2005.
Comment 5 Ashok Malhotra 2005-06-15 21:01:15 UTC
The joint WGs agreed on the 6/7/2005 telcon to add an example to the discussion
of fn:concat that explains how fn:normalize-unicode can be used to normalize the
result of an fn:concat operation.

Ashok Malhotra
Comment 6 Felix Sasaki 2005-06-22 08:56:52 UTC
consenus of the i18n-core-wg (telecon 21 May 2005):
The working group thanks you very much for your resolution and regards the bug 
as closed.
Regards,
Felix Sasaki